| | |
process id
![]() |
•
•
Join Date: Mar 2008
Posts: 41
Reputation:
Solved Threads: 7
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
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
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/
If you spend more on coffee than on IT security, you will be hacked.
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
What's more, you deserve to be hacked.
-- former White House cybersecurity czar Richard Clarke
![]() |
Similar Threads
- Long Pause During Windows Statup Process (Windows NT / 2000 / XP)
- "System Idle Process" (Windows NT / 2000 / XP)
- Kill A Process (Windows NT / 2000 / XP)
- CPU is fully used up by a single process, HELP (Windows NT / 2000 / XP)
Other Threads in the *nix Software Forum
- Previous Thread: telnet problem
- Next Thread: Problems with configuring for an install?
Views: 703 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for *nix Software
2005 apache bashscripting busybox cert codeplex debian dotnetnuke emacs forwarding free fsf gaming gnu government gpl lawsuits license linux ls mail make makefile mandriva microsoft mkisofsiso obama open opensource port postfix ps3 samba security server sflc sharing software source stallman subdirectory ubuntu unix vmware xbox





