Old 5th December 2003, 07:33   #1
jakobn
Junior Member
 
Join Date: Sep 2003
Location: Los Angeles
Posts: 21
Send a message via ICQ to jakobn Send a message via Yahoo to jakobn
How to start sc.serv in Linux Shell ?

I have Shoutcast server running on a remote Linux Server. What is the shell command to start sc.serv ?

-so far I just made a crontab script with a ./sc.serv command. I run the crontab every 24 hours. The bad news is that linux starts a new PID everytime crontab is run and I end up with 20 open copies of the Shoutcast server.

Please help

Jakob Nielsen
jakob@Suite108.com
jakobn is offline   Reply With Quote
Old 5th December 2003, 07:34   #2
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
don't use cron for shoutcast

just use

cd /path/to/sc/directory
./sc_serv

at an ampersand to the end to send to background
./sc_serv &
Jay is offline   Reply With Quote
Old 5th December 2003, 13:44   #3
Rafael2127
Member
 
Rafael2127's Avatar
 
Join Date: Nov 2001
Location: New York Ecuador
Posts: 93
Send a message via AIM to Rafael2127
SSH Puddy how to restart shoutcast on host

I had the some problem using ssh puddy I can always turn the server on by just typing sc_serv and the server will start but the problem is how do I shut it down I can never do that, someone told me that I had to find the Pid number but I don't know where to find that because when you want to kill the server you need that number something like this psx (prosesor) ( kill -9 and the PID ) I tried everything kill shutdown restart but no luck
If someone knows please let us know

Last edited by Rafael2127; 5th December 2003 at 14:10.
Rafael2127 is offline   Reply With Quote
Old 5th December 2003, 18:55   #4
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
yup to kill you just issue

kill <pid>

to get the pid number you can just check the logs or use ps | grep sc_serv
Jay is offline   Reply With Quote
Old 7th December 2003, 04:23   #5
jakobn
Junior Member
 
Join Date: Sep 2003
Location: Los Angeles
Posts: 21
Send a message via ICQ to jakobn Send a message via Yahoo to jakobn
Fixed sc_serv

Jay,

Thank you so much. It works great.

btw. is it normal that listeners hears the station about 2 minutes delayed ? -and is there anyway to control the delay ?

Jakob Nielsen
jakob@suite108.com
jakobn is offline   Reply With Quote
Old 7th December 2003, 05:57   #6
FesterHead
Alumni
 
FesterHead's Avatar
 
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
Check out the results from a SHOUTcast forum search on 'delay', or 'buffer', or 'lag', or 'latency', or 'real time', or...

The answer to all is:
The buffer allows QoS (quality of service) to the listener.
If you want real time, then SHOUTcast is not the solution.

******************

If you have a local lan stream, try the 1.7.1 version of the DNAS.

FesterHead is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump