Centova Technologies Forum

Centova Cast v2 => Technical discussion => Topic started by: Trombones13 on March 20, 2011, 04:43:33 pm

Title: Any reason why the source would keep disconnecting?
Post by: Trombones13 on March 20, 2011, 04:43:33 pm
I keep having an issue where--for no reason at all--the source will disconnect.  Usually, it's at the end of a song; the song finishes but a new one doesn't start, and I have to restart the server.

This is from the error log around the time it happened:
Code: [Select]
<03/20/11@18:32:10> [main] SIGHUP; Flushing Log Files
<03/20/11@18:32:35> [main] SIGTERM; exiting!
<03/20/11@18:32:37> [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up...
<03/20/11@18:32:37> [main] pid: 21912
<03/20/11@18:32:37> [main] loaded config from /home/centovacast/vhosts/bemeddeb/etc/server.conf
<03/20/11@18:32:37> [main] initializing (usermax:50 portbase:8212)...
<03/20/11@18:32:37> [main] introfile: /home/centovacast/vhosts/bemeddeb/var/spool/sounds/introfile.mp3
<03/20/11@18:32:37> [main] No ban file found (etc/sc_serv.ban)
<03/20/11@18:32:37> [main] No rip file found (etc/sc_serv.rip)
<03/20/11@18:32:37> [main] opening source socket
<03/20/11@18:32:37> [main] source thread starting
<03/20/11@18:32:37> [main] opening client socket
<03/20/11@18:32:37> [main] Client Stream thread [0] starting
<03/20/11@18:32:37> [main] client main thread starting
<03/20/11@18:32:37> [source] listening for connection on port 8213
<03/20/11@18:32:38> [dest: 86.22.183.0] server unavailable, disconnecting
<03/20/11@18:32:38> [source] connected from 67.159.45.87
<03/20/11@18:32:38> [source] icy-name:The Voice Internet Radio ; icy-genre:Unspecified
<03/20/11@18:32:38> [source] icy-pub:1 ; icy-br:128 ; icy-url:http://www.voiceradio.us
<03/20/11@18:32:38> [source] icy-irc: ; icy-icq: ; icy-aim:
<03/20/11@18:32:38> [source] Read 367829 bytes from Intro File
<03/20/11@18:32:39> [dest: 86.22.183.0] starting stream (UID: 1)[L: 1]{A: WinampMPEG/5.58, Ultravox/2.1}(P: 0)
<03/20/11@18:32:39> [dest: 205.188.202.174] starting stream (UID: 2)[L: 2]{A: SHOUTcast Directory Tester}(P: 1)
<03/20/11@18:32:39> [dest: 205.188.202.174] connection closed (0 seconds) (UID: 2)[L: 1]{Bytes: 0}(P: 1)
<03/20/11@18:32:39> [yp_add] yp.shoutcast.com added me successfully
<03/20/11@18:32:42> [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up...
<03/20/11@18:32:42> [main] pid: 21938
<03/20/11@18:32:42> [main] loaded config from /home/centovacast/vhosts/bemeddeb/etc/server.conf
<03/20/11@18:32:42> [main] initializing (usermax:50 portbase:8212)...
<03/20/11@18:32:42> [main] introfile: /home/centovacast/vhosts/bemeddeb/var/spool/sounds/introfile.mp3
<03/20/11@18:32:42> [main] No ban file found (etc/sc_serv.ban)
<03/20/11@18:32:42> [main] No rip file found (etc/sc_serv.rip)
<03/20/11@18:32:42> [main] opening source socket
<03/20/11@18:32:42> [main] error opening source socket! FATAL ERROR! Some other process is using this port!
<03/20/11@18:32:55> [dest: 35.11.150.168] starting stream (UID: 3)[L: 2]{A: WinampMPEG/5.60, Ultravox/2.1}(P: 1)
<03/20/11@18:33:03> [source] source dropped connection. disconnecting.
<03/20/11@18:33:03> [main] SIGTERM; exiting!
<03/20/11@18:33:03> [main] connecting to yp.shoutcast.com to remove myself [no source]
<03/20/11@18:33:03> [yp_rem] yp.shoutcast.com removed me!
<03/20/11@18:33:07> [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up...
<03/20/11@18:33:07> [main] pid: 22014
<03/20/11@18:33:07> [main] loaded config from /home/centovacast/vhosts/bemeddeb/etc/server.conf
<03/20/11@18:33:07> [main] initializing (usermax:50 portbase:8212)...
<03/20/11@18:33:07> [main] introfile: /home/centovacast/vhosts/bemeddeb/var/spool/sounds/introfile.mp3
<03/20/11@18:33:07> [main] No ban file found (etc/sc_serv.ban)
<03/20/11@18:33:07> [main] No rip file found (etc/sc_serv.rip)
<03/20/11@18:33:07> [main] opening source socket

Any help would be appreciated.  Thanks!
Title: Re: Any reason why the source would keep disconnecting?
Post by: Tim Metcalfe on March 21, 2011, 03:43:08 pm
<03/20/11@18:32:42> [main] error opening source socket! FATAL ERROR! Some other process is using this port!

i assume its port 8213 thats being used by something
Title: Re: Any reason why the source would keep disconnecting?
Post by: SCstreaming on March 21, 2011, 05:48:14 pm
Code: [Select]
# <03/20/11@18:33:03> [source] source dropped connection. disconnecting.
# <03/20/11@18:33:03> [main] SIGTERM; exiting!

Looks like you aren't sending any music to the server and it dropped you.
Title: Re: Any reason why the source would keep disconnecting?
Post by: Trombones13 on March 22, 2011, 11:51:34 pm
Is there any point in time where (or reason why) Centova would stop queuing music?  All of the playlists are set for 24 hours per day, and it seems like the times when it stops have varied.
Title: Re: Any reason why the source would keep disconnecting?
Post by: SCstreaming on March 30, 2011, 01:31:25 pm
Make sure you don't have any blank play-lists enabled.
Title: Re: Any reason why the source would keep disconnecting?
Post by: Trombones13 on April 10, 2011, 12:18:31 pm
I never replied again because it seemed to be OK, but it's happening again, which is fairly disappointing.  I don't have any enabled and blank playlists, and it seems to happen at random times.  Just thought I'd bump this in case someone else sees something or has an idea; I'll post an error log next time I see it.
Title: Re: Any reason why the source would keep disconnecting?
Post by: Trombones13 on April 10, 2011, 01:28:13 pm
<04/10/11@15:18:39> [yp_tch] yp.shoutcast.com touched!
<04/10/11@15:19:57> [source] no data (30s timeout). disconnecting.
<04/10/11@15:19:58> [main] connecting to yp.shoutcast.com to remove myself [no source]
<04/10/11@15:19:58> [yp_rem] yp.shoutcast.com removed me!
Title: Re: Any reason why the source would keep disconnecting?
Post by: SCstreaming on April 10, 2011, 03:51:44 pm
Again, it is disconnecting because no music is being sent.

Why don't you just put in a support ticket with Centova?

Title: Re: Any reason why the source would keep disconnecting?
Post by: Trombones13 on April 10, 2011, 05:20:31 pm
Judging by the threads being made about support (or lack thereof), I don't think that would get me anywhere. :P
Title: Re: Any reason why the source would keep disconnecting?
Post by: SCstreaming on April 10, 2011, 06:14:34 pm
That may well be, but I don't think anyone here has knowledge of the inner workings of Centovacast.

Put in a ticket.
Title: Re: Any reason why the source would keep disconnecting?
Post by: Trombones13 on April 10, 2011, 07:16:56 pm
Oh, man...just realized another reason why I can't--I'm not the one with the license; it's my co-admin, lol. *bugs him*