From: Jamie C. <jca...@we...> - 2007-05-22 16:08:26
|
On 22/May/2007 08:36 Chris Mckenzie wrote .. <blockquote type="cite"> <div><span class="115322915-22052007"><font size="2" face="Arial">Hi all.</font></span></div> <div><font size="2" face="Arial"></font> </div> <div><span class="115322915-22052007"><font size="2" face="Arial">I've encountered the following situation on 2 occasions. On RHEL4, reboot the server and found after start up Webmin wasn't running.</font></span></div> <div><span class="115322915-22052007"><font size="2" face="Arial"></font></span> </div> <div><span class="115322915-22052007"><font size="2" face="Arial">After some investigation I determined the pid in /var/webmin/miniserv.pid existed, only it wasn't Webmin that was assigned the pid. The Webmin init.d script should remove the pid file. The Linux initd will stop Webmin and remove the pid during shutdown that way.</font></span></div> <div><font size="2" face="Arial"></font> </div> <div><font size="2" face="Arial"><span class="115322915-22052007">Easy enough to reproduce, just stop Webmin normally and edit the pid file to point to a currently running pid. Then try calling webmin status or start. Take a look at ps for miniserv.</span></font></div> <div><font size="2" face="Arial"><span class="115322915-22052007"></span></font></div></blockquote>Hi Chris,<br />That is a good idea .. I will update the init script to delete the PID file at shutdown in future.<br /><br /> - Jamie<br /><br /> |