[Icecast] Icecast won't start on system boot

Steve Matzura sm at noisynotes.com
Thu Mar 26 15:19:31 UTC 2015


On Thu, 26 Mar 2015 10:51:33 -0400, Steve Matzura <sm at noisynotes.com>
wrote:

OK, lots of things have happened since last I wrote.

1. I determined that yes, Geoff, somehow something got installed into
/usr/bin that was called icecast2, not icecast. That's been resolved
now with a *COMPLETE* uninstall/removal of icecast and re-install. The
icecast2 script in /etc/default has been modified to set ENABLE to
TRUE.

2. I looked at the script in /etc/init.d called icecast2 and
discovered a couple things. One, I do not think it was supplied with
the icecast install, since when I renamed it and re-installed (see
above), it didn't come back. So I looked into it and discovered that
yes indeed, it was looking for /usr/bin/icecast2. I removed the '2'
and opened a brand-new can of worms--looks like a recursive calling
problem.

/bin/sh -x ./icecast2
+ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/usr/bin/icecast
+ NAME=icecast2
+ DESC=icecast2
+ test -x /usr/bin/icecast
+ CONFIGFILE=/etc/icecast2/icecast.xml
+ CONFIGDEFAULTFILE=/etc/default/icecast2
+ USERID=icecast2
+ GROUPID=icecast
+ ENABLE=false
+ '[' -r /etc/default/icecast2 ']'
+ . /etc/default/icecast2
++ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
++ DAEMON=/usr/bin/icecast
++ NAME=icecast2
++ DESC=icecast2
++ test -x /usr/bin/icecast
++ CONFIGFILE=/etc/icecast2/icecast.xml
++ CONFIGDEFAULTFILE=/etc/default/icecast2
++ USERID=icecast2
++ GROUPID=icecast
++ ENABLE=true
++ '[' -r /etc/default/icecast2 ']'
++ . /etc/default/icecast2
+++ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+++ DAEMON=/usr/bin/icecast
+++ NAME=icecast2
+++ DESC=icecast2
+++ test -x /usr/bin/icecast
+++ CONFIGFILE=/etc/icecast2/icecast.xml
+++ CONFIGDEFAULTFILE=/etc/default/icecast2
+++ USERID=icecast2
+++ GROUPID=icecast
+++ ENABLE=true
+++ '[' -r /etc/default/icecast2 ']'
+++ . /etc/default/icecast2
... down to well over 64 levels ...

/etc/default/icecast2
Segmentation fault



More information about the Icecast mailing list