Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Running an installed package

Posted on 2011-09-20
5
Medium Priority
?
304 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 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

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 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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

636 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