Can't Start Auto DJ

Read 7690 times
Was running fine and this just happened.  Auto DJ won't start giving errors message.  The PORT # is 8034 (and 8035) .. but in one of the error messages it is saying port 8038k which is NOT my port .. here is one message:
 2012-09-17 20:22:06 I msg:<***> Logger startup 2012-09-17 20:22:06 D msg:<***> 2012-09-17 20:22:06 W msg:[CONFIG] Deprecated statement found on line 94 -> djlogin_0 (use djlogin_1 and higher. 2012-09-17 20:22:06 W msg:[CONFIG] Deprecated statement found on line 95 -> djpassword_0 (use djpassword_1 and higher. 2012-09-17 20:22:06 W msg:[CONFIG] Deprecated statement found on line 96 -> djpriority_0 (use djpriority_1 and higher. 2012-09-17 20:22:06 I msg:*************************************************************** 2012-09-17 20:22:06 I msg:** TRANScast Distributed Network Audio Content Provider 2012-09-17 20:22:06 I msg:** Copyright (C) 2000-2011 Nullsoft, Inc. All Rights Reserved. 2012-09-17 20:22:06 I msg:** Use "sc_trans filename.conf" to specify a config file. 2012-09-17 20:22:06 I msg:*************************************************************** 2012-09-17 20:22:06 I msg:[MAIN] TRANSCast/posix(linux x64) v2.0.0.54 (Oct 7 2011) starting... 2012-09-17 20:22:06 I msg:[MAIN] PID: 29305 2012-09-17 20:22:06 I msg:[MAIN] Loaded config from ../c8034/etc/source.conf 2012-09-17 20:22:06 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0 2012-09-17 20:22:06 I msg:[CALENDARMGR] Adding DJ event: m_djName=wavemix106 m_archive=0 m_id=1 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=0 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=0 m_repeat=127 2012-09-17 20:22:06 I msg:[CALENDARMGR] Adding DJ event: m_djName=REDxDIMPLES m_archive=0 m_id=2 m_startDate=year:0,mon:0,mday:0,hour:4,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=10800 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=11 2012-09-17 20:22:06 I msg:[CALENDARMGR] Adding DJ event: m_djName=DJEvente m_archive=0 m_id=3 m_startDate=year:0,mon:0,mday:0,hour:23,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=3600 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=48 2012-09-17 20:22:06 I msg:[CALENDARMGR] Adding DJ event: m_djName=PrimeTyme m_archive=0 m_id=4 m_startDate=year:0,mon:0,mday:0,hour:19,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=10800 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=1 m_hasTimeOffset=0 m_repeat=62 2012-09-17 20:22:06 I msg:[CALENDARMGR] Adding DJ event: m_djName=VampDJ m_archive=0 m_id=5 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=0 m_timeOffset=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=0 m_repeat=127 2012-09-17 20:22:06 I msg:[VUPUSH] 0 VU images loaded for left channel 2012-09-17 20:22:06 I msg:[VUPUSH] 0 VU images loaded for right channel 2012-09-17 20:22:06 I msg:[PLAYLISTMGR] Playlist load from file etc/playlist.conf 2012-09-17 20:22:06 I msg:[PLAYLISTMGR] Caching playlist etc/playlist.conf 2012-09-17 20:22:06 I msg:[PLAYLISTMGR] Load complete 2012-09-17 20:22:06 I msg:[MAIN] Streaming thread starting 2012-09-17 20:22:06 I msg:[SOURCERELAY] Thread starting 2012-09-17 20:22:06 I msg:[RESAMPLER] Deactivated 44100/2 == 44100/2 2012-09-17 20:22:06 I msg:[SOURCEANDENDPOINTMANAGER] Encoder thread 1 starting 2012-09-17 20:22:06 I msg:[SOURCEANDENDPOINTMANAGER] Broadcast thread 1 starting 2012-09-17 20:22:06 I msg:[MP3ENC] 1353912388/44100/2/128000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15) 2012-09-17 20:22:06 I msg:Using internal encoder sample rate of 44100 Hz, bandwidth 15804 Hz, MDCT low pass active 2012-09-17 20:22:06 I msg:[UVOX2] 1392575969 Giving replay gain calculator a head start 2012-09-17 20:22:06 I msg:[MAIN] Playlist decoder thread starting 2012-09-17 20:22:06 I msg:[RGCALC] Thread running 2012-09-17 20:22:06 I msg:[UVOX2] 1392575969 Running 2012-09-17 20:22:06 I msg:[UVOX2] 1392575969 Creating stream socket 2012-09-17 20:22:06 I msg:[MICROSERVER] Listening for connection on port 8038 2012-09-17 20:22:06 I msg:[DECODE] Giving replay gain calculator a head start 2012-09-17 20:22:06 I msg:[DECODE] Begin decoding 2012-09-17 20:22:06 I msg:[UVOX2] 1392575969 Connecting to stream host 2012-09-17 20:22:06 E msg:[MAIN] Error opening port 8038 because Could not bind to :8038 because Address already in use 2012-09-17 20:22:06 I msg:[MP3ENC] 1353912388/44100/2/128000 MP3 setup complete 2012-09-17 20:22:06 E msg:API server startup error. Could not bind to :8039 because Address already in use 2012-09-17 20:22:06 I msg:[MP3ENC] 1353912388/44100/2/128000 Exiting encoder thread 2012-09-17 20:22:06 I msg:[DECODE] Next file is /usr/local/centovacast/var/vhosts/c8034/var/spool/media/standard/12 - Lady Gaga --Marry The Night (Dimitri Vegas Like Mike Remix).mp3 2012-09-17 20:22:06 W msg:Could not load metadata because could not open file #!/usr/local/centovacast/bin/nextsong c8034 00f4594e47662688ff9a2e1e54bed463 sctrans2next 2012-09-17 20:22:06 E msg:Failure converting filename to metadata Premature end of data (*/%TIT2.) 2012-09-17 20:22:06 E msg:Failure converting filename to metadata Premature end of data (*/%TIT2.) 2012-09-17 20:22:06 I msg:[DECODE] Exiting decoder thread 2012-09-17 20:22:07 I msg:[RGCALC] Thread exiting 2012-09-17 20:22:07 I msg:[RESAMPLER] tIn=0 tOut=0 bIn=0 bOut=0 2012-09-17 20:22:07 I msg:[CROSSFADER] in=0 out=0 2012-09-17 20:22:07 I msg:<***> Logger shutdown

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Secondly, I can't disable Auto DJ .. when I try to disable and save, it get:
Fatal error: Call to a member function get_name() on a non-object in /usr/local/centovacast/system/class_XML.php on line 632

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Looking at the port is says is in use (8035), if I go to http://sc15.shoutcaststreaming.us:8035 .. I get:
Resource Not Found (Weblet)

Help.

Very difficult to read (please use a code block for log snippets) but in a nutshell, if it says the port is in use, then the port is in use.  And if you're using DNAS2 with sc_trans2, remember that you're using 5 ports.  So if port 8034 is "yours", then ports 8034 through 8039 are indeed "yours".

Earlier builds had issues detecting port conflicts when allocating port numbers, so for existing streams you need to move the port numbers around to resolve the conflicts yourself.  The newer builds won't cause any further conflicts.

The other error you mentioned should also be fixed in the latest build.