Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: cbacani on July 24, 2006, 07:05:47 AM

Title: SHOUTcast on SME Server HOWTO
Post by: cbacani on July 24, 2006, 07:05:47 AM
HOWTO has broken links.

shoutcast.sh – SHOUTcast control script. Obtained from here.
45AllowShoutcast – Custom template fragment. Obtained from here.

http://www.ninetails.net/smefiles/shoutcast.sh
http://www.ninetails.net/smefiles/45AllowShoutcast

Both links say that The page cannot be found.

Dated July 23rd 2006
Title: Re: SHOUTcast on SME Server HOWTO
Post by: william_syd on July 26, 2006, 09:42:55 AM
Quote from: "cbacani"
HOWTO has broken links.

shoutcast.sh – SHOUTcast control script. Obtained from here.
45AllowShoutcast – Custom template fragment. Obtained from here.

http://www.ninetails.net/smefiles/shoutcast.sh
http://www.ninetails.net/smefiles/45AllowShoutcast

Both links say that The page cannot be found.

Dated July 23rd 2006


Are you looking to install Shoutcast or just making a comment ?

Try here for a stop/start script.
http://enki.cthuugle.com/source/shoutcast

You only need 45AllowShoutcast with SME6x

If your just making a comment then try fixing the broken links..

* Email the how-to website owner
* Edit the How-to to say these links are down.
* Put something in the Contribs bug tracker.
Title: SHOUTcast on SME Server HOWTO
Post by: gelcube on July 27, 2006, 01:35:42 PM
Sorry about that.  I moved my hosting off of my home server and missed those files.  I'll get them back up today.
Title: SHOUTcast on SME Server HOWTO
Post by: william_syd on July 27, 2006, 02:42:38 PM
Quote from: "gelcube"
Sorry about that.  I moved my hosting off of my home server and missed those files.  I'll get them back up today.


Thank You.
Title: SHOUTcast on SME Server HOWTO
Post by: actron on September 09, 2006, 11:54:05 PM
Hi

have tried to install shoutcast on sme7

first have copied all files to shoutcast ibay:
Quote
cd /home/e-smith/files/ibays/shoutcast/files
mv sc_serv /usr/sbin
chmod 755 /usr/sbin/sc_serv
mkdir /etc/shoutcast
cd /home/e-smith/files/ibays/shoutcast/files
mv sc_serv.conf /etc/shoutcast
mv shoutcast.sh /etc/rc.d/init.d/shoutcast
chmod 755 /etc/rc.d/init.d/shoutcast

then the config edited:
Quote
cd /etc/shoutcast
nano sc_serv.conf

and:
Quote
cd /etc/rc.d/init.d
chkconfig --add shoutcast
service shoutcast start

but, always receive:
Quote
'shoutcast' is not a valid service name
[/quote]
any suggestion ?
tnx zoran
Title: SHOUTcast on SME Server HOWTO
Post by: william_syd on September 10, 2006, 01:05:26 AM
Try...
Code: [Select]
/etc/rc.d/init.d/shoutcast start

What results did you get?
Title: SHOUTcast on SME Server HOWTO
Post by: actron on September 10, 2006, 11:26:55 AM
strange, if i use
Code: [Select]
/etc/rc.d/init.d/shoutcast start
get this:
Quote
: bad interpreter: Datei oder Verzeichnis nicht gefunden
Title: SHOUTcast on SME Server HOWTO
Post by: william_syd on September 10, 2006, 01:57:02 PM
Quote from: "actron"
strange, if i use
Code: [Select]
/etc/rc.d/init.d/shoutcast start
get this:
Quote
: bad interpreter: Datei oder Verzeichnis nicht gefunden


Can I have that in English?

Bad Interpreter.. hmm...  I've seen that when the first 2 lines of the start-up script has been messed up.

Try..


Code: [Select]
pico /etc/rc.d/init.d/shoutcast and delete and retype the first 2 lines.

It should look like the first 2 lines in the sample script..
Code: [Select]
more /usr/share/doc/initscripts-7.93.24.EL/sysvinitfiles
Title: SHOUTcast on SME Server HOWTO
Post by: actron on September 10, 2006, 07:26:07 PM
William first thanks. and it was so simple!

in /etc/rc.d/init.d/shoutcast was:
Code: [Select]
fi
  ;;
  *)
  echo "Usage: shoutcast (start|stop|restart) [-v]"

esac

and this was missing (last line down):
Code: [Select]
fi
  ;;
  *)
  echo "Usage: shoutcast (start|stop|restart) [-v]"

esac
exit $?

now it works, many tanks
zoran
Title: SHOUTcast on SME Server HOWTO
Post by: william_syd on September 11, 2006, 12:40:39 PM
Quote from: "actron"
Code: [Select]

esac
exit $?



I beleve the $? should be replaced with a number.. like 0
Title: SHOUTcast on SME Server HOWTO
Post by: meanpenguin on November 05, 2006, 01:12:07 AM
In Bash  $?   Expands to the exit status of the most recently executed foreground pipeline.

Edward