Solved

Running an installed package

Posted on 2011-09-20
5
289 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
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to Change Interface on Cisco IOU 11 111
What are recommended OS for exim mail server? 10 116
aix unix tar error 3 73
Authenticate using sesu from script 7 61
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

820 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