This is my first time setting this up and having a problem. I don't know where the problem lies. Do the files need a special permissions? What is wrong with my setup? $cat icecast.xml <icecast> <limits> <clients>2</clients> <sources>2</sources> <threadpool>5</threadpool> <queue-size>524288</queue-size> <client-timeout>30</client-timeout> <header-timeout>15</header-timeout> <source-timeout>10</source-timeout> <burst-on-connect>1</burst-on-connect> <burst-size>65535</burst-size> </limits> <authentication> <source-password>dapoohba</source-password> <relay-password>dapoohba</relay-password> <admin-user>admin</admin-user> <admin-password>dapoohba</admin-password> </authentication> <hostname>blkpoohba.dyndns.org</hostname> <listen-socket> <port>8000</port> </listen-socket> <fileserve>1</fileserve> <shoutcast-mount>/live</shoutcast-mount> <paths> <basedir>./</basedir> <logdir>/home/poohba/icecast/log/icecast</logdir> <webroot>/home/poohba/public_html/icecast/web</webroot> <adminroot>/usr/share/icecast/admin</adminroot> <alias source="/" dest="/status.xsl"/> </paths> <logging> <accesslog>access.log</accesslog> <errorlog>error.log</errorlog> <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error --> <logsize>10000</logsize> <!-- Max size of a logfile --> <!-- <logarchive>1</logarchive> --> </logging> <security> <chroot>0</chroot> </security> </icecast> liveice-sn04]$cat liveice.cfg # liveice configuration file # Automatically generated SERVER blkpoohba PORT 8000 NAME Poohba's Sounds GENRE Gospel URL http://www.icecast.org PUBLIC 0 ICY_LOGIN PASSWORD justtesting SAMPLE_RATE 22050 MONO SOUNDCARD HALF_DUPLEX USE_LAME3 BITRATE 32000 VBR_QUALITY 1 NO_MIXER PLAYLIST web-gospel.m3u DECODER_COMMAND mpg123 MIX_CONTROL_MANUAL CONTROL_FILE mix_command TRACK_LOGFILE track.log liveice-sn04]$./liveice -F liveice.cfg web-gospel.m3u web-gospel.m3u 0 Initialising Soundcard 16Bit 22050Hz Stereo opening connection to blkpoohba 8000 Attempting to Contact Server connection successful: forking process server didn't send OK response icecast]$tail log/icecast/* ==> log/icecast/access.log <=127.0.0.1 - - [15/Feb/2006:11:56:12 -0500] "GET / HTTP/1.0" 404 90 "-" "xmms/1.2.10" 1 68.162.39.168 - - [15/Feb/2006:11:56:32 -0500] "GET / HTTP/1.0" 404 90 "-" "WinampMPEG/5.1" 0 68.162.39.168 - - [15/Feb/2006:11:56:41 -0500] "GET / HTTP/1.0" 404 90 "-" "WinampMPEG/5.1" 0 127.0.0.1 - - [15/Feb/2006:11:59:55 -0500] "GET / HTTP/1.0" 404 90 "-" "xmms/1.2.10" 0 192.168.2.11 - - [15/Feb/2006:11:59:58 -0500] "GET / HTTP/1.0" 404 90 "-" "xmms/1.2.10" 0 68.162.39.168 - - [15/Feb/2006:12:00:12 -0500] "GET / HTTP/1.0" 404 90 "-" "WinampMPEG/5.1" 0 68.162.39.168 - - [15/Feb/2006:12:20:52 -0500] "GET / HTTP/1.0" 404 90 "-" "WinampMPEG/5.1" 1 68.162.39.168 - - [15/Feb/2006:12:22:02 -0500] "GET / HTTP/1.0" 404 90 "-" "WinampMPEG/5.1" 0 68.162.39.168 - - [15/Feb/2006:12:29:26 -0500] "GET /admin/stats.xml HTTP/1.1" 200 612 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)" 0 68.162.39.168 - - [15/Feb/2006:12:29:58 -0500] "GET / HTTP/1.0" 404 90 "-" "WinampMPEG/5.1" 0 ==> log/icecast/error.log <=[2006-02-15 15:52:47] DBUG connection/_handle_connection Connection thread done [2006-02-15 15:52:47] INFO main/main Shutting down [2006-02-15 15:52:47] INFO fserve/fserve_shutdown file serving thread stopped [2006-02-15 15:52:47] DBUG slave/slave_shutdown waiting for slave thread [2006-02-15 15:52:47] DBUG slave/_slave_thread shutting down current relays [2006-02-15 15:52:47] INFO slave/_slave_thread Slave thread shutdown complete [2006-02-15 15:52:47] INFO auth/auth_run_thread Authenication thread shutting down [2006-02-15 15:52:47] INFO auth/auth_shutdown Auth thread has terminated [2006-02-15 15:52:47] INFO yp/yp_shutdown YP thread down [2006-02-15 15:52:48] INFO stats/stats_shutdown stats thread finished
Rob Campbell wrote:> This is my first time setting this up and having a problem. I don't know > where the problem lies. Do the files need a special permissions? What is > wrong with my setup?[snip]> <limits> > <clients>2</clients> > <sources>2</sources>If I understand it correctly, if you have both sources connected, you won't be able to have any listeners.> <listen-socket> > <port>8000</port> > </listen-socket> > > <fileserve>1</fileserve> > > <shoutcast-mount>/live</shoutcast-mount>Assuming you want to use Shoutcast compatibility mode, you didn't define a second port on 8001 and set to shoutcast-compat. The following comes from the sample shoutcast config file: <!-- You MUST define 2 ports, port and port +1 --> <listen-socket> <!-- Configure the shoutcast DSP with *this* port the shoutcast DSP actually will connect the encoder to this port + 1 --> <port>8000</port> </listen-socket> <listen-socket> <!-- This port *must* be one larger than the one defined above and defined as 'shoutcast-compat' --> <port>8001</port> <shoutcast-compat>1</shoutcast-compat> </listen-socket>> # liveice configuration file > # Automatically generated > SERVER blkpoohba > PORT 8000 > NAME Poohba's Sounds > GENRE Gospel > URL http://www.icecast.org > PUBLIC 0 > ICY_LOGINCan't Liveice do native Icecast2 streaming? At any rate, this is going to fail because it's trying to conect to 8000 which is not set up as shoutcast compatible.> PASSWORD justtestingThis doesn't match your config above either.> icecast]$tail log/icecast/* > ==> log/icecast/access.log <=> 127.0.0.1 - - [15/Feb/2006:11:56:12 -0500] "GET / HTTP/1.0" 404 90 "-" > "xmms/1.2.10" 1Your stream will show up on /stream, not on / . If you want it to show up on / you'll have to set / as your shoutcast-mount, not /stream, or define an alias.> ==> log/icecast/error.log <=> [2006-02-15 15:52:47] DBUG connection/_handle_connection Connection thread > done > [2006-02-15 15:52:47] INFO main/main Shutting downThis only shows us Icecast's various processes shutting down, so has no useful information. Ok, there's a number of things, hope this is helpful. Geoff.