Scorpi0 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/1630332283406b219a475d3.jpg)
Joined: 07 Nov 2003 Posts: 28 Location: NY
|
Posted: Mon Jun 14, 2004 3:38 pm Post subject: Usermin running under wrong process ID |
|
|
When ever Usermin starts it always ends up using a different PID than the system thinks its using. Normally this would not be seen unless for what ever reason the user wants to stop or restart the usermin service. In order for me to stop the Usermin service I have to first look up the actualy PID by ps -ef | grep usermin and then kill it. The weird part is the actual PID that it is running under is one more that the system thinks it is running under. Confusing? I will try and elaborate.
Code: |
#/etc/init.d/usermin start
Starting Usermin [ok]
#/etc/init.d/usermin stop
* Stopping Usermin...start-stop-daemon: warning: failed to kill 8366: No such process [ !! ]
#ps -ef | grep usermin
root 8367 1 0 11:00 ?00:00:00 /usr/bin/perl /usr/libexec/usermin/miniserv.pl /etc/usermin/miniserv.conf
root 8991 8989 0 11:33 ? 00:00:00 grep usermin
|
See how the actual process ID is one greater than the one it tries to stop? Am I the only one seeing this? Like I said its not a big deal unless I have to restart usermin for what ever reason which is rare, but this happens on both Gentoo systems I have. By the way, the Webmin service starts and stops just fine. |
|