Koozali.org: home of the SME Server

SHOUTcast on SME Server HOWTO

Offline cbacani

  • *
  • 111
  • +0/-0
SHOUTcast on SME Server HOWTO
« 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

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: SHOUTcast on SME Server HOWTO
« Reply #1 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.
Regards,
William

IF I give advise.. It's only if it was me....

Offline gelcube

  • ***
  • 55
  • +0/-0
    • http://www.ninetails.net
SHOUTcast on SME Server HOWTO
« Reply #2 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.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
SHOUTcast on SME Server HOWTO
« Reply #3 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.
Regards,
William

IF I give advise.. It's only if it was me....

Offline actron

  • *
  • 20
  • +0/-0
SHOUTcast on SME Server HOWTO
« Reply #4 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
...

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
SHOUTcast on SME Server HOWTO
« Reply #5 on: September 10, 2006, 01:05:26 AM »
Try...
Code: [Select]
/etc/rc.d/init.d/shoutcast start

What results did you get?
Regards,
William

IF I give advise.. It's only if it was me....

Offline actron

  • *
  • 20
  • +0/-0
SHOUTcast on SME Server HOWTO
« Reply #6 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
...

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
SHOUTcast on SME Server HOWTO
« Reply #7 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
Regards,
William

IF I give advise.. It's only if it was me....

Offline actron

  • *
  • 20
  • +0/-0
SHOUTcast on SME Server HOWTO
« Reply #8 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
...

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
SHOUTcast on SME Server HOWTO
« Reply #9 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
Regards,
William

IF I give advise.. It's only if it was me....

Offline meanpenguin

  • ****
  • 138
  • +0/-0
SHOUTcast on SME Server HOWTO
« Reply #10 on: November 05, 2006, 01:12:07 AM »
In Bash  $?   Expands to the exit status of the most recently executed foreground pipeline.

Edward