[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 306
  • Last Modified:

Running an installed package

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
deharvy
Asked:
deharvy
  • 3
  • 2
1 Solution
 
sakmanCommented:
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
 
deharvyAuthor Commented:
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
 
sakmanCommented:
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
 
deharvyAuthor Commented:
CSWstunnel. It doesn't look like it's a service. Trying to run it, I get invalid argument.

./stunnel: Invalid argument.
0
 
sakmanCommented:
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now