Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 84002

Summary: /etc/init.d/icecast script always reports success at starting, even if the program didn't start.
Product: Gentoo Linux Reporter: Francesco Lazzarino <flazzarino>
Component: New packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-t-303206-highlight-.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Francesco Lazzarino 2005-03-03 14:24:57 UTC
when starting the script reports success, and the program does not start.
when trying to stop it says there is no process to stop
and when trying to start again it says that there is already an icecast running.

Reproducible: Always
Steps to Reproduce:
1. emerge -av icecast
2. /etc/init.d/icecast start
3. ps -e | grep ice
4. /etc/init.d/icecast stop
5. /etc/init.d/icecast start

Actual Results:  
1. icecast emerged properly
2. /etc/init.d/icecast reported success
3. no output
4. returned an error that no process exists
5. returned that the server is already running

Expected Results:  
2. should have launched icecast
3. should have gave a ps entry
4. should have stopped the program
5. should have started icecast
Comment 1 Francesco Lazzarino 2005-03-03 18:33:17 UTC
i tried starting icecast by hand:
icecast -c /etc/icecast2/icecast.xml

it returned (paraphrased):
FATAL: cannot create log file.
Comment 2 Eric Shattow 2005-03-12 02:58:02 UTC
Thanks for the submission, marking it a duplicate for relevence.

*** This bug has been marked as a duplicate of 80990 ***