|
|
|
|
#1 |
|
Junior Member
Join Date: Jan 2003
Location: United Kingdom
Posts: 49
|
Shoutcast Linux Help
Right I admin a server remotely & I started the server using the command supplied in the readme. Now can some one tell me how I can stop it. I've tried sc_serv stop but this doesnt work.
![]() Would appreciate any help I receive. Thanks. Brgs |
|
|
|
|
|
#2 |
|
Moderator Alumni
Join Date: May 2000
Location: Next Door
Posts: 8,942
|
kill <pid>
Where <pid> is the process ID. if not in the background just do CTRL+C -Jay | Radio Toolbox.com |
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Oct 2000
Posts: 27
|
Quote:
kill -9 `ps axw | grep sc_serv | grep -v grep | cut -c1-6` That will stop all instances of sc_serv on your system. Those are *not* apostrophes (same key as ") - they're the "accent marks" on the same key as ~ - to the left of the "1" key (usually). |
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jan 2003
Location: United Kingdom
Posts: 49
|
Thank you very much but I still have a problem.
As any commands that I have tried. With the PID or the solution posted by radioparadise I get an error that says "Operation Not Permitted" Is this a CHMOD error or is it something else? ![]() Brgs |
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Oct 2000
Posts: 27
|
Quote:
|
|
|
|
|
|
|
#6 |
|
Moderator Alumni
Join Date: May 2000
Location: Next Door
Posts: 8,942
|
kill -9 seems a little harsh to me, it's not advisable to use it, use kill -TERM instead, only use kill -9 as a last resort or if kill -TERM or kill doesn't do it.
Also as another note, if you can't find your pid it will be in your log, it will be the last pid you will find, so search for PID until you can't find it anymore or use ps as suggested above. -Jay | Radio Toolbox.com |
|
|
|
|
|
#7 | |
|
Junior Member
Join Date: Oct 2000
Posts: 27
|
Quote:
As for looking for the pid in the logfiles, what's the advantage? Easier to put the line I suggested in a file named sc_stop (or whatever). Don't forget to chmod 755. |
|
|
|
|
|
|
#8 |
|
Moderator Alumni
Join Date: May 2000
Location: Next Door
Posts: 8,942
|
no advantage, just an FYI.
-Jay | Radio Toolbox.com |
|
|
|
|
|
#9 | |
|
Junior Member
Join Date: Jan 2003
Location: United Kingdom
Posts: 49
|
Quote:
Or would I have to start the proccess as ./sc_serv.exe sc_leet.conf Brgs |
|
|
|
|
|
|
#10 | |
|
Major Dude
Join Date: Aug 2003
Posts: 942
|
Quote:
Yes you should start the different configs using ./sc_serv sc_leet.conf but you leave of the .exe linux executables do not end in .exe and simply have the executable bit set in their permisions. An alternative way to do this is have multiple directories containing different sc_serv.conf files and multiple sc_serv binaries. |
|
|
|
|
|
|
#11 | |
|
Junior Member
Join Date: Jan 2003
Location: United Kingdom
Posts: 49
|
Quote:
Thanks for ur help. Brgs |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|