Koozali.org: home of the SME Server

Need Howto for Shoutcast and SME Server ver 7

Offline cbacani

  • *
  • 111
  • +0/-0
Need Howto for Shoutcast and SME Server ver 7
« 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?

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Need Howto for Shoutcast and SME Server ver 7
« Reply #1 on: November 01, 2006, 12:22:22 AM »
Quote from: "cbacani"
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?
Regards,
William

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

Offline cbacani

  • *
  • 111
  • +0/-0
Re: Need Howto for Shoutcast and SME Server ver 7
« Reply #2 on: November 01, 2006, 02:03:14 AM »
Quote from: "william_syd"
Quote from: "cbacani"
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?

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Need Howto for Shoutcast and SME Server ver 7
« Reply #3 on: November 01, 2006, 08:31:46 AM »
Quote from: "cbacani"
Quote from: "william_syd"
Quote from: "cbacani"
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.
Code: [Select]
 
  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
Code: [Select]
#!/bin/sh
 exec 2>&1
 exec /opt/shoutcast/sc_serv /opt/shoutcast/sc_serv.conf

Contents of 937  pico -w run is
Code: [Select]
#!/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.
Regards,
William

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

Offline cbacani

  • *
  • 111
  • +0/-0
Re: Need Howto for Shoutcast and SME Server ver 7
« Reply #4 on: November 01, 2006, 02:35:21 PM »
William, Thank you for taking the time to post this. I will work on it today and see what happens.

Carl

Offline cbacani

  • *
  • 111
  • +0/-0
Re: Need Howto for Shoutcast and SME Server ver 7
« Reply #5 on: November 01, 2006, 07:34:39 PM »
Quote from: "cbacani"
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.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Need Howto for Shoutcast and SME Server ver 7
« Reply #6 on: November 02, 2006, 03:51:46 AM »
Quote from: "cbacani"

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 which may affect starting the server.
Code: [Select]
#

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


Code: [Select]
#

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?
Regards,
William

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

Offline cbacani

  • *
  • 111
  • +0/-0
Shoutcast Stopped working
« Reply #7 on: August 09, 2007, 03:40:13 PM »
Shoutcast stopped working after the updates were added. Does anyone have a how to for SME as of August 9th 2007?

Thanks
Carl

Offline jfarschman

  • *
  • 406
  • +0/-0
Need Howto for Shoutcast and SME Server ver 7
« Reply #8 on: August 09, 2007, 08:17:31 PM »
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.
Jay Farschman
ICQ - 60448985
jay@hitechsavvy.com

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Need Howto for Shoutcast and SME Server ver 7
« Reply #9 on: August 10, 2007, 06:25:45 AM »
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.
Code: [Select]
[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?)
Code: [Select]
[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.
Regards,
William

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

Offline cbacani

  • *
  • 111
  • +0/-0
Multicast Packets
« Reply #10 on: August 10, 2007, 04:28:28 PM »
Quote from: "william_syd"
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.
Code: [Select]
[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?)
Code: [Select]
[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

Offline cbacani

  • *
  • 111
  • +0/-0
Re: Need Howto for Shoutcast and SME Server ver 7
« Reply #11 on: March 28, 2009, 07:10:00 PM »


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.
Code: [Select]
 
  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
Code: [Select]
#!/bin/sh
 exec 2>&1
 exec /opt/shoutcast/sc_serv /opt/shoutcast/sc_serv.conf
Contents of 937  pico -w run is
Code: [Select]
#!/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