943,908 Members | Top Members by Rank

Ad:
Sep 3rd, 2008
0

process id

Expand Post »
Hi,
I am using kubuntu 8.0. In the init script "start-stop-daemon --stop --quiet -p $PID_FILE" used to stop a daemon. It is also specified at the top that PID_FILE="/var/run/daemon.pid".

I can start daemon, but when i try to stop, it is not stopping. Also no .pid file is generated in the location /var/run.

Can anybody please tell how does the daemon.pid file generate inside /var/run or it automatically generate the .pid file when daemon starts? Else anything we need to write for generate the pid file? If so where we going to wtite it? Is it in the init script? Please reply anyone have any idea about this.

Thanks in advance,
Renjith
Similar Threads
Reputation Points: 12
Solved Threads: 7
Light Poster
RenjithVR is offline Offline
41 posts
since Mar 2008
Sep 9th, 2008
0

Re: process id

Usually the application creates the .pid (Process ID) file when it starts, and the location varies with the application. Sometimes you can tell the app where to put the .pid via the app's config file, but the general default is /var/run/
Reputation Points: 128
Solved Threads: 8
Posting Whiz
TheOgre is offline Offline
390 posts
since Aug 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: telnet problem
Next Thread in Linux Applications and Software Forum Timeline: Problems with configuring for an install?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC