Centova Technologies Forum

Centova Cast v3 => General discussion => Topic started by: kahfluie on November 06, 2017, 11:18:59 am

Title: Could not open PID file
Post by: kahfluie on November 06, 2017, 11:18:59 am
Anyone ever have this error on their v2 server?

Anyone knows how to fix this? Seems to happen on all of our servers.... doesn't hurt anything, but I just don't like seeing red.

ERROR   [MAIN] Could not open PID file `/usr/local/centovacast/shoutcast2/sc_serv_42102.pid' for writing (Permission denied)

Thoughts?
Title: Re: Could not open PID file
Post by: Alexiu on November 07, 2017, 11:08:33 am
The error message that you've mentioned is entirely harmless. Centova Cast keeps track of Shoutcast's PID itself and does not need Shoutcast's PID file.

Unfortunately there is no option to change the path to dnas2's pid file nor turn it off. Shoutcast always wants to create it in whatever directory it started up in (in this case /usr/local/centovacast/shoutcast2), and that directory is not writable, thus the error.
Title: Re: Could not open PID file
Post by: DrO on November 13, 2017, 06:37:42 pm
Unfortunately there is no option to change the path to dnas2's pid file nor turn it off.
There's a "pidfile" config option (since v2.2.2 based on centova feedback iirc ;) ) that allows the location to be changed.

-dro
Title: Re: Could not open PID file
Post by: Alexiu on November 15, 2017, 09:57:39 am
Thanks DrO! The documentation mentions that leaving it to "pidfile=" disables it, but this doesn't seem to work. But changing the path does the trick! I've passed this on to our developers.
Title: Re: Could not open PID file
Post by: DanielFrank on February 14, 2019, 04:22:18 am
Unfortunately there is no option to change the path to dnas2's pid file nor turn it off.
There's a "pidfile" config option (since v2.2.2 based on centova feedback iirc ;) ) that allows the location to be changed.

-dro
Where exactly is this file located? I have the same problem and you seem to have solved it, but you're not sharing any information about the solution.
Title: Re: Could not open PID file
Post by: istanbullet on May 11, 2019, 06:50:49 am
Quote
Where exactly is this file located? I have the same problem and you seem to have solved it, but you're not sharing any information about the solution.

yes, I agree with you. I don't see any solution :/