Centova Technologies Forum

Centova Cast v3 => Bugs and issues => Topic started by: streampakket on November 26, 2012, 01:08:42 pm

Title: trans2 auto dj offline but still playing
Post by: streampakket on November 26, 2012, 01:08:42 pm
Hi.

A very strange issue.

My shoutcast V2 stream with trans2 is after a little change (slots from 10 to 100) saying :
streaming server online
auto dj offline
stream active

But the music is normal playing and i can listen to the stream.

In my control panel i see the play button to start the auto dj, so i cant skip to another number.

In my log files i see this:

2012-11-26 21:45:02   I   msg:[SRC 46.105.110.42:56032] SHOUTcast 2 source connection.
2012-11-26 21:45:03   E   msg:[SRC 46.105.110.42:56032] Remote socket closed while waiting for data
2012-11-26 21:45:04   I   msg:[YP2] Connecting to yp.shoutcast.com
2012-11-26 21:49:10   I   msg:[SRC 46.105.110.42:55724 sid=1] Got complete metadata message type=3902 [541 bytes] id=1 span=1 content=

2012-11-26 21:49:16   I   msg:[YP2] Connecting to yp.shoutcast.com
2012-11-26 21:50:02   I   msg:[SRC 46.105.110.42:56082] SHOUTcast 2 source connection.
2012-11-26 21:50:03   E   msg:[SRC 46.105.110.42:56082] Remote socket closed while waiting for data
2012-11-26 21:52:10   I   msg:[SRC 46.105.110.42:55724 sid=1] Got complete metadata message type=3902 [509 bytes] id=1 span=1 content=

2012-11-26 21:52:16   I   msg:[YP2] Connecting to yp.shoutcast.com
2012-11-26 21:55:02   I   msg:[SRC 46.105.110.42:56144] SHOUTcast 2 source connection.
2012-11-26 21:55:03   E   msg:[SRC 46.105.110.42:56144] Remote socket closed while waiting for data
2012-11-26 21:57:22   I   msg:[SRC 46.105.110.42:55724 sid=1] Got complete metadata message type=3902 [539 bytes] id=1 span=1 content=

I try /usr/local/centovacast/sbin/fixperms but with no results, and every 5 min i recieve a restart email.

Any sugestions for this?


Ron
Title: Re: trans2 auto dj offline but still playing
Post by: Centova - Steve B. on November 26, 2012, 04:16:00 pm
That means sctrans2 is running outside the control of Centova Cast -- the pid that CC has on file for it is not correct. You'll need to kill the sctrans2 process manually (via SSH) and then start it up again via the web interface.  After that, all should be well.
Title: Re: trans2 auto dj offline but still playing
Post by: streampakket on November 27, 2012, 01:47:56 pm
thank but what is the right command to do this with ssh?
Title: Re: trans2 auto dj offline but still playing
Post by: Centova - Steve B. on November 28, 2012, 01:35:32 pm
You'd need to run 'ps aux' and find the PID of the sctrans2 process, then run 'kill -9 <pid>' replacing <pid> with the actual PID number.
Title: Re: trans2 auto dj offline but still playing
Post by: streampakket on November 29, 2012, 12:47:00 pm
Thanks that works, but i have to do this 2 a day.
So it seems that something stop this proces after ... hours.

Any sugestion?

Ron
Title: Re: trans2 auto dj offline but still playing
Post by: streampakket on November 30, 2012, 01:15:51 pm
since reboot no problem so seems to work now.
Thanks