[Icecast] Icecast service remains locked in CentOs

Phil - w2lie w2lie at w2lie.net
Sat Nov 30 05:07:53 UTC 2013


The install was from an Icecast download.  Not the SVN or from the 
repository.

I can send a copy of my service script in init.d if that helps.

Phil


On 11/27/2013 8:41 PM, Basil Mohamed Gohar wrote:
> Did you install Icecast from SVN or icecast.org download, or did you
> install it as a package from CentOS's package repository?  The reason I
> ask is because the problem may also lie in how the service is configured
> specifically for CentOS/RHEL.
>
> On 11/27/2013 06:59 PM, Phil - w2lie wrote:
>> 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 <mailto:icecast at xiph.org>
>>
>>
>>
>> _______________________________________________
>> Icecast mailing list
>> Icecast at xiph.org
>> http://lists.xiph.org/mailman/listinfo/icecast
>>
>




More information about the Icecast mailing list