Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: cbacani on October 31, 2006, 11:02:59 PM
-
Anybody have a howto install for Shoutcast and SME ver 7 and could you post it or sent it to me?
-
Anybody have a howto install for Shoutcast and SME ver 7 and could you post it or sent it to me?
I think there is one in the wiki?
-
Anybody have a howto install for Shoutcast and SME ver 7 and could you post it or sent it to me?
I think there is one in the wiki?
Only Problem is I do not have access to the wiki. Anyone else have the docs that they can post?
-
Anybody have a howto install for Shoutcast and SME ver 7 and could you post it or sent it to me?
I think there is one in the wiki?
Only Problem is I do not have access to the wiki. Anyone else have the docs that they can post?
Ok.. quick how-to.. modified from wiki version to use supervise/runit.
927 mkdir -p /opt/shoutcast
928 cd /opt/shoutcast
929 wget http://www.shoutcast.com/downloads/sc1-9-7/shoutcast-1-9-7-linux-glibc6.tar.gz
930 tar -zxvf shoutcast-1-9-7-linux-glibc6.tar.gz
932 mkdir -p /var/service/shoutcast
933 mkdir -p /var/service/shoutcast/log
934 cd /var/service/shoutcast
935 pico -w run
936 cd log
937 pico -w run
938 touch /var/service/shoutcast/down
939 mkdir -p /var/log/shoutcast
940 config set shoutcast service access public status enabled TCPPort 8000
941 config set shoutcast1 service access public status enabled TCPPort 8001
942 ln -s /var/service/shoutcast /service/shoutcast
943 ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/shoutcast
944 ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S92shoutcast
945 chmod 755 /var/service/shoutcast/run
946 chmod 755 /var/service/shoutcast/log/run
947 chown smelog:smelog /var/log/shoutcast
948 /sbin/e-smith/signal-event console-save
949 /sbin/e-smith/signal-event post-upgrade
950 /sbin/e-smith/signal-event reboot
Contents of 935 pico -w run is#!/bin/sh
exec 2>&1
exec /opt/shoutcast/sc_serv /opt/shoutcast/sc_serv.conf
Contents of 937 pico -w run is#!/bin/sh
exec \
/usr/local/bin/setuidgid smelog \
/usr/local/bin/multilog t s5000000 \
/var/log/shoutcast
Edit sc_serv.conf to set password and other options.
-
William, Thank you for taking the time to post this. I will work on it today and see what happens.
Carl
-
William, Thank you for taking the time to post this. I will work on it today and see what happens.
Carl
William,
I tried this and it worked correctly the first time. Only thing left is to have some advise on what ports should be used. Any suggestions?
8000 has been suggested as a security issue.
-
William,
I tried this and it worked correctly the first time. Only thing left is to have some advise on what ports should be used. Any suggestions?
8000 has been suggested as a security issue.
Glad it worked.
I think there is a small error in the original wiki howto (http://no.longer.valid/phpwiki/index.php/InstallSHOUTcast) which may affect starting the server.
#
Open up the two ports you will need by entering these two lines into the command prompt. WARNING: Watch the capitalization on these commands!
[yourserver]# config set shoutcast1 service access public status enabled TCPPort 8000
[yourserver]# config set shoutcast2 service access public status enabled TCPPort 8001
#
Now add a symbolic link to the shoutcast service.
[yourserver]# ln -s /etc/rc.d/init.d/shoutcast S92shoutcast
As for port 8000 being a risk. I don't think you can say a 'port' is a risk, it all depends on whats sitting behind it waiting to respond to connections.
Can you give some links to these security risks you mention?
-
Shoutcast stopped working after the updates were added. Does anyone have a how to for SME as of August 9th 2007?
Thanks
Carl
-
Hey Carl,
You must have a lot of extra bandwidth.
I gave it a little thought and I wonder if it's still running at all:
ps -ef |grep -i shout
Also try checking in /var/log/shoutcast
I have never used this before, but I have some friends who do Internet Radio (w3w3.com) and I'm curious if this would have any application for them.
-
Carl,
Got your email. I will reply here to keep the ball in play.
The changes below relate to this post >> http://forums.contribs.org/index.php?topic=34392.msg148146#msg148146
I stopped using Shoutcast soon after my last post so I'm a bit hazy.
The following looks like a workaround which may be incorrect and not relevent anymore.
[yourserver]# config set shoutcast service access public status enabled TCPPort 8000
[yourserver]# config set shoutcast1 service access public status enabled TCPPort 8001
I think you can replace that with one line (Bug 56?)
[yourserver]# config set shoutcast service access public status enabled TCPPorts 8000:8001
The other thing is SME swallows multicast packets. I don't know if this is relevant but you can stop this behavior. Search for multicast. The procedure involves creating a blank template using 'touch'. >>> http://forums.contribs.org/index.php?topic=34392.msg148146#msg148146
Thats about all I can offer.
-
Carl,
Got your email. I will reply here to keep the ball in play.
The changes below relate to this post >> http://forums.contribs.org/index.php?topic=34392.msg148146#msg148146
I stopped using Shoutcast soon after my last post so I'm a bit hazy.
The following looks like a workaround which may be incorrect and not relevent anymore.
[yourserver]# config set shoutcast service access public status enabled TCPPort 8000
[yourserver]# config set shoutcast1 service access public status enabled TCPPort 8001
I think you can replace that with one line (Bug 56?)
[yourserver]# config set shoutcast service access public status enabled TCPPorts 8000:8001
The other thing is SME swallows multicast packets. I don't know if this is relevant but you can stop this behavior. Search for multicast. The procedure involves creating a blank template using 'touch'. >>> http://forums.contribs.org/index.php?topic=34392.msg148146#msg148146
Thats about all I can offer.
William,
Thanks for the info. Robert and I have also seen this and we were wondering if you were still into Shoutcast. If you are using something else please let us know. Shoutcast seems to have a few issues. I need something that will send a live broadcast from a FM radio station to one web site so people can listen to as well as on the FM radio. Something simple.
Carl
-
I think there is one in the wiki?
Only Problem is I do not have access to the wiki. Anyone else have the docs that they can post?
Ok.. quick how-to.. modified from wiki version to use supervise/runit.
927 mkdir -p /opt/shoutcast
928 cd /opt/shoutcast
929 wget http://www.shoutcast.com/downloads/sc1-9-7/shoutcast-1-9-7-linux-glibc6.tar.gz
930 tar -zxvf shoutcast-1-9-7-linux-glibc6.tar.gz
932 mkdir -p /var/service/shoutcast
933 mkdir -p /var/service/shoutcast/log
934 cd /var/service/shoutcast
935 pico -w run
936 cd log
937 pico -w run
938 touch /var/service/shoutcast/down
939 mkdir -p /var/log/shoutcast
940 config set shoutcast service access public status enabled TCPPort 8000
941 config set shoutcast1 service access public status enabled TCPPort 8001
942 ln -s /var/service/shoutcast /service/shoutcast
943 ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/shoutcast
944 ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S92shoutcast
945 chmod 755 /var/service/shoutcast/run
946 chmod 755 /var/service/shoutcast/log/run
947 chown smelog:smelog /var/log/shoutcast
948 /sbin/e-smith/signal-event console-save
949 /sbin/e-smith/signal-event post-upgrade
950 /sbin/e-smith/signal-event reboot
Contents of 935 pico -w run is#!/bin/sh
exec 2>&1
exec /opt/shoutcast/sc_serv /opt/shoutcast/sc_serv.conf
Contents of 937 pico -w run is#!/bin/sh
exec \
/usr/local/bin/setuidgid smelog \
/usr/local/bin/multilog t s5000000 \
/var/log/shoutcast
Edit sc_serv.conf to set password and other options.
William,
Long time no talk to - sorry.
This no longer works - would you have any idea as to what changed? I can't figure this out.
Carl