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 

taskkill /IM icecastService.exe does not work in Windows

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
MoeRadio.ru



Joined: 28 Jan 2007
Posts: 12
Location: Moscow, Russia

PostPosted: Thu Dec 17, 2009 9:42 am    Post subject: taskkill /IM icecastService.exe does not work in Windows Reply with quote

Hi,

I'm trying to make Icecast running under Windows Server 2008 R2 to re-read icecast.xml config file.

Under Linux I used kill -HUP `cat /var/run/icecast.pid` for that

Under Windows I am trying to do taskkill /IM icecastService.exe, which should send SIGHUP to icecastService.exe, but this doesn't work.

I'm getting an error:

ERROR: The process "icecastService.exe" with PID 2668 could not be terminated.
Reason: This process can only be terminated forcefully (with /F option).


If I use /F it is of course terminated (it sends SIGKILL), but this is not what I want. I want just to re-read the configuration file without termination.

Is there a way to do it under Windows? Does Windows executable of Icecast understand signals at all?
Back to top
View user's profile Send private message Visit poster's website
MoeRadio.ru



Joined: 28 Jan 2007
Posts: 12
Location: Moscow, Russia

PostPosted: Thu Dec 17, 2009 10:24 am    Post subject: Reply with quote

Found that if I use Icecast2win.exe instead of icecastService.exe (i.e. running it as usual program, not as a service), then taskkill /IM works... to an extent. It terminates the program.

But this is something already. Now need to find a Windows utility to send SIGHUP signal...
Back to top
View user's profile Send private message 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