Help - Search - Members - Calendar
Full Version: Shoutcast
The Planet Forums > Control Panels > cPanel/WHM
Paul
Any problems installing shoutcast on a cpanel server?
And any tips/hints/how-to's for setup? Is there a way to bind it to a certain IP?

Thanks.
darkanoid
yes it can be setup on a cpanel server.
In sc_serv.conf you can bind it to 1 or more ips

sorry no tips. just starting of mysef
alex042
The standard install is pretty easy. Most everything is in the instructions. Only other thing that may not be clear is that you'll probably need to open not only the base port (8000) in your firewall but also the next one (8001).
Paul
QUOTE (alex042)
Only other thing that may not be clear is that you'll probably need to open not only the base port (8000) in your firewall but also the next one (8001).
Thanks for that bit of info, all working fine now icon_smile.gif

Is there some way to limit the stream bitrate serverside to 128kbps? so if someone tries to broadcast at 192kbps then it'll refuse the connection.
alex042
QUOTE
Is there some way to limit the stream bitrate serverside to 128kbps? so if someone tries to broadcast at 192kbps then it'll refuse the connection.

If I knew of a way to do that, I'd be pushing our shoutcast server advertising more, but until then, things have to be manually monitered. Technically, 64k is all you should need for FM quality broadcasting. If you're using 128k, near CD quality, you could be using up your transfer pretty quickly.
Paul
After reading the shoutcast forums, it seems like the only way to do it is by using a script to grab the current bitrate from /7.html and if it's over the set limit then it'll kill that server process - you'd need to set it to run as a cron job every 5 mins or so.

I'm only running it for a few people so it isn't too important that it's closely monitored, because if they use more than they should, I'll go round and kick their ass icon_razz.gif
bigpy2003
Is it possible to run this under just 1 user account and also limit the bandwidth?

Example:
A customer wants a shoutcast server. I limit him/her to 15gb bandwidth.

First, is there a way to set it up so it monitors their usage? If so how?
alex042
You can set shoutcast to run under a specific account, but you'll have to make sure that account is allowed to run servers. This is how ours is setup. We have a specific account we run shoutcast under so its not running under root and that account is added as an exception in WHM to be allowed to run server applications. You'd just start shoutcast up with : sudo -u account /path/to/shoutcast . I haven't used shoutcast enough on my server to know if transfer is counted against that account but its possible it might be since the server knows who's running shoutcast.
Paul
QUOTE (alex042)
I haven't used shoutcast enough on my server to know if transfer is counted against that account but its possible it might be since the server knows who's running shoutcast.
After reading what other people have said, I get the idea that it isn't counted by cpanel.

If you try it and cpanel does count it, let us know icon_smile.gif
alex042
QUOTE
After reading what other people have said, I get the idea that it isn't counted by cpanel.

You could be right considering it runs on a non-standard port and cpanel probably doesn't check shoutcasts access logs, but I'm not sure at this point.
bigpy2003
Well I run a game server...under one of my account that is a standard account.

I don't remember how I did it though.

I believe I chowned it.
Paul
I've just setup a new account for shoutcast, chown'd and chgrp'd all the shoutcast stuff to the new user, ran it under their account and it dosen't show the bandwidth usage in that accounts cpanel.
bigpy2003
QUOTE (Paul)
I've just setup a new account for shoutcast, chown'd and chgrp'd all the shoutcast stuff to the new user, ran it under their account and it dosen't show the bandwidth usage in that accounts cpanel.


That sucks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.