[Icecast] Icecast service remains locked in CentOs

Phil - w2lie w2lie at w2lie.net
Wed Nov 27 23:59:21 UTC 2013


 

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. 

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. 

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. 

user at server [~]# service icecast status
icecast dead but subsys locked
user at server [~]# cd /var/lock/subsys
user at server [/var/lock/subsys]# ls -l | grep icecast
-rw-r--r-- 1 user user 0 Nov 23 10:06 icecast
user at server [/var/lock/subsys]# rm icecast
rm: remove regular empty file `icecast'? y
user at server [/var/lock/subsys]# ls -l | grep icecast
user at server [/var/lock/subsys]# service icecast status
icecast is stopped
user at server [/var/lock/subsys]# service icecast start
Starting icecast streaming daemon: [ OK ]
user at server [/var/lock/subsys]# service icecast status
icecast (pid 30820) is running...
user at server [/var/lock/subsys]# 

Thanks for the help, and for those in the US, have a Happy Thanksgiving.


-- 
Phil / w2lie
http://www.w2lie.net

icecast at xiph.org 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20131127/9c4458a5/attachment.htm>


More information about the Icecast mailing list