Centova Technologies Inc.

Products and Services

Centova Cast
Customer Support
Centova Technologies
 

Centova Technologies Forum

Author Topic: Could not open PID file  (Read 128 times)

kahfluie

  • Jr. Member
  • **
  • Posts: 57
Could not open PID file
« 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?

Alexiu

  • Centova Staff
  • *
  • Posts: 457
Re: Could not open PID file
« Reply #1 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.

DrO

  • Expert Witness
  • *
  • Posts: 176
    • Winamp Community Update Pack
Re: Could not open PID file
« Reply #2 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

Alexiu

  • Centova Staff
  • *
  • Posts: 457
Re: Could not open PID file
« Reply #3 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.