<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>I have been having a problem with my icecast server running on CentOs. Occasionally, the service will stop running, but it will fail to restart because the subsys is locked.</p>
<p><br />If the service stops, I need to manually log into my VPS, delete the empty file in /var/lock/subsys and restart the icecast service.</p>
<p> </p>
<p>What could be causing the icecast service to not drop the locked file? This is the only service I am running on this VPS that has the problem. I can send over my icecast service file if that helps out.</p>
<p>user@server [~]# service icecast status<br />icecast dead but subsys locked<br />user@server [~]# cd /var/lock/subsys<br />user@server [/var/lock/subsys]# ls -l | grep icecast<br />-rw-r--r-- 1 user user 0 Nov 23 10:06 icecast<br />user@server [/var/lock/subsys]# rm icecast<br />rm: remove regular empty file `icecast'? y<br />user@server [/var/lock/subsys]# ls -l | grep icecast<br />user@server [/var/lock/subsys]# service icecast status<br />icecast is stopped<br />user@server [/var/lock/subsys]# service icecast start<br />Starting icecast streaming daemon: [ OK ]<br />user@server [/var/lock/subsys]# service icecast status<br />icecast (pid 30820) is running...<br />user@server [/var/lock/subsys]#</p>
<p>Thanks for the help, and for those in the US, have a Happy Thanksgiving.</p>
<p> </p>
<div>
<pre>-- <br />Phil / w2lie
http://www.w2lie.net</pre>
</div>
<p><a href="mailto:icecast@xiph.org">icecast@xiph.org</a></p>
</body></html>