Solved

Running an installed package

Posted on 2011-09-20
5
291 Views
Last Modified: 2012-06-21
Once a package is installed, how do you check to see if the application is installed as a service or standalone?

How can I check if the application is currently running or listening? Can someone explain what a daemon is?

0
Comment
Question by:deharvy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 4

Accepted Solution

by:
sakman earned 500 total points
ID: 36568823
What operating system are you using?  There are different ways to check packages on different systems.

For Solaris you can use pkginfo:  pkginfo -l package_name

For Red Hat you can use rpm:  rpm -qa | grep package_name

A daemon is a background process and most daemons have a "d" at the end of the process name (like "sshd").

You can check if the if the process is running using "ps".  Or to check the status of a process you can use:
(Solaris) svcs | grep process_name
(Red Hat) service process_name status

0
 

Author Comment

by:deharvy
ID: 36568904
I am running Solaris.

Using pkginfo -l, I was able to find the package.

I did svcs but didn't get any results so I assume it's not running.
0
 
LVL 4

Expert Comment

by:sakman
ID: 36568917
What package did you install?

Installing the package doesn't start it automatically.  You may need to use "svcadm" to start it.  Or see if a legacy init script was put in /etc/init.d.


0
 

Author Comment

by:deharvy
ID: 36568954
CSWstunnel. It doesn't look like it's a service. Trying to run it, I get invalid argument.

./stunnel: Invalid argument.
0
 
LVL 4

Expert Comment

by:sakman
ID: 36568996
I'm not familiar with stunnel.  It looks like it will take a bit of work to get it configured and running.

There's an article at: http://linuxgazette.net/107/odonovan.html
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Skill Development 15 201
retrieve nuemaric value from txt file in shell script 3 86
Problem logging tar errors 11 74
unix example issues 18 113
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question