Old 24th November 2005, 22:06   #1
soniceffect
Junior Member
 
Join Date: Oct 2005
Posts: 4
Keep sctrans running when I shut the ssh window

OK guys, hoping someone can help me.

I have a shoutcast server running with no problem, and I can also set sc_trans_linux running using the command ./sc_trans_linux .... I understand this but I`m afraid this is as far as my knowledge lyes.

The problem I have is that although when I set sc_Serv of running from the ssh window, it keeps running once I close the window and shutdown my comp here at home. sc_trans however terminates the second I close the ssh window.

Question is how do I keep this running?
soniceffect is offline   Reply With Quote
Old 25th November 2005, 02:23   #2
DJ AmPs
Major Dude
 
DJ AmPs's Avatar
 
Join Date: Mar 2002
Location: g
Posts: 1,603
ut a & after the command to send it to the background. If that doesn't work try additionally putting nohup before the command.
DJ AmPs is offline   Reply With Quote
Old 29th November 2005, 21:26   #3
necontrol212
Junior Member
 
Join Date: Nov 2005
Posts: 9
hey dude,

can you please post if any of those options worked?

which one did you use that worked?

what flavor of linux / unix are you using?

its appreciated.

-=/charlie/=-
necontrol212 is offline   Reply With Quote
Old 29th November 2005, 22:56   #4
AsianGuyJTran
Junior Member
 
AsianGuyJTran's Avatar
 
Join Date: Nov 2005
Location: California
Posts: 9
i use fedora core 4 and when i execute ./sc_serv & and it runs in the background.
AsianGuyJTran is offline   Reply With Quote
Old 29th November 2005, 23:53   #5
necontrol212
Junior Member
 
Join Date: Nov 2005
Posts: 9
yea i use that command too and it works.

but what about for sc_trans_linux?

btw, i run slackware 10.2 for anyone who is in the need to know.
necontrol212 is offline   Reply With Quote
Old 29th November 2005, 23:55   #6
AsianGuyJTran
Junior Member
 
AsianGuyJTran's Avatar
 
Join Date: Nov 2005
Location: California
Posts: 9
i believe it is the same thing. i use the sc_serv

btw. what is the difference between sc_serv and sc_linux_trans?
AsianGuyJTran is offline   Reply With Quote
Old 30th November 2005, 01:11   #7
necontrol212
Junior Member
 
Join Date: Nov 2005
Posts: 9
sc_serv is your shoutcast server.

sc_trans_linux is a winamp plugin?? it allows winamp to get the music off your box. I'm pretty sure. I just now I needed it to make my server work. Which it does. But i just cant get this window to close without killing my server. just like the guy who started this post.
necontrol212 is offline   Reply With Quote
Old 30th November 2005, 01:17   #8
necontrol212
Junior Member
 
Join Date: Nov 2005
Posts: 9
okay, i dont know what i was doing wrong or why it wasnt working. but i just tried it again.

./sc_trans_linux &

once it was done loading. i hit ctrl c

and it kept working. so for anyone else, there you have it.

-=/charlie=-/ the idiot
necontrol212 is offline   Reply With Quote
Old 27th January 2006, 23:03   #9
Yanger
Junior Member
 
Join Date: Feb 2002
Location: Cheeze State Wisconsin
Posts: 8
Send a message via ICQ to Yanger Send a message via AIM to Yanger Send a message via Yahoo to Yanger
many ways to do this...
./sc_trans_linux config &

(note, your console will flood with the stdout, so u can filter it out by redirection. ie:
./sc_trans_linux config >/dev/null 2>&1

thus you'll return to the console and it would still be running.

to kill it, killall -9 sc_trans_linux

note: if u exit the console/ssh, the process might get killed as your main process has exited..

else if you have screen, screen the process and CTRL-A, D
this is only useful if you want to see the standard output, etc.. blah.. (man screen or else install screen first then man screen)

or else setup a cron to start it when you need to and set another cron to killall -9 it when u need to

Yanger is offline   Reply With Quote
Old 28th January 2006, 08:54   #10
bingo
Major Dude
 
bingo's Avatar
 
Join Date: Sep 2004
Posts: 754
./sc_trans_linux config >/dev/null 2>&1 &
bingo is offline   Reply With Quote
Old 29th January 2006, 03:41   #11
Yanger
Junior Member
 
Join Date: Feb 2002
Location: Cheeze State Wisconsin
Posts: 8
Send a message via ICQ to Yanger Send a message via AIM to Yanger Send a message via Yahoo to Yanger
whoops :P forgot the & :P
Yanger 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