Solved

Running an installed package

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now