[icecast] icecast refuses to accept encoder after losing original feed

Robin P. Blanchard Robin_Blanchard at gactr.uga.edu
Tue Oct 16 18:13:17 UTC 2001



running: latest CVS of icecast-1.3.11, liveice, and lame.

i initially launch the server with the following shell script:
#!/bin/sh
/usr/local/bin/icecast -c /usr/local/etc/icecast/conf/icecast.conf -b
/bin/sleep 5
/usr/local/bin/liveice -F /usr/local/etc/liveice/liveice.cfg >/dev/null
2>/dev/null &

everything runs fine for a random period of time (sometimes hours,
sometimes days) until which icecast loses its feeds (2) from liveice. at
this point, all process still claim to be running. however, icecast also
stops logging at that point. that said, i go through either with a
script or by hand and killall rogue liveice and lame processes. i then
run liveice (via the liveice line from the above script) and all
processes look good again. however, icecast doesn't accept the feeds,
nor does it log anything (as it stopped logging when it apparently lost
its original feed).

as such the only solution has been to kill *everything* and restart the
entire combination (icecast + liveice), which is entirely too hands-on.

has anyone seen this and figured out a way around? i came up with a
script to check if icecast has lost it's sources and if so to kill and
relaunch liveice. obviously this won't work if icecast is in some rogue
state as well and not accepting any more feeds. i suppose i could
increase the hack even more to have the script kill icecast as well. but
isn't that a bit ridiculous :)


-- 
------------------------------------
Robin P. Blanchard
IT Program Specialist
Georgia Center for Continuing Ed.
fon: 706.542.2404 fax: 706.542.6546
email: Robin_Blanchard at gactr.uga.edu
------------------------------------

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Icecast mailing list