Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

restart server

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Sat Dec 03, 2005 1:47 pm    Post subject: restart server Reply with quote

How can I restart server in a command-line?
Back to top
EvilOverlord
Forum Admin
Forum Admin


Joined: 12 Jun 2005
Posts: 177
Location: Isle of Man

PostPosted: Mon Dec 12, 2005 9:48 pm    Post subject: Reply with quote

Well if you want icecast to re-read its config file, send it a hangup signal.
Code:
kill -HUP pidof icecast

If you just want to stop it, use "Ctrl-C" in the console window you started it from. If that doesn't work:
Code:
kill pidof icecast
Back to top
View user's profile Send private message Visit poster's website
Anonymous
Guest





PostPosted: Wed Dec 14, 2005 1:57 pm    Post subject: Reply with quote

Here are some questions:
1) Does relaying server need a soundcard?
2) I want icecast to read different config file's in different time? how can i do it?
Thanks.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Dec 14, 2005 3:40 pm    Post subject: Reply with quote

1. icecast doesn't use a soundcard at all, whether relaying or not.
2. you can copy the xml files before sending HUP and many changes will apply, the main thing that doesn't change currently is the ports that icecast listens on.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Wed Dec 14, 2005 8:04 pm    Post subject: Reply with quote

I'm attempting to stop or restart my icecast2 server (which is running). When trying either:

kill pidof icecast2
or
kill -HUP pidof icecast2

this is what I get:

-bash: kill: pidof: arguments must be process or job IDs
-bash: kill: icecast2: arguments must be process or job IDs

I'm a newbie to Linux and am not sure what these messages mean or what to do about them. Any help appreciated, thanks.

Mark
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Dec 14, 2005 10:43 pm    Post subject: Reply with quote

you can use

killall -HUP icecast

or if you are using the kill command then if needs the pids of the processes, which can be obtained via commands like ps or pidof

for instance

kill -HUP `pidof icecast`

pidof will run and return the pid number for kill to work on.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber