[asterisk-bugs] [Asterisk 0011463]: safe_asterisk fails to restart asterisk after crash

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Dec 5 08:24:43 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11463 
====================================================================== 
Reported By:                mmb
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11463
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:            1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-04-2007 09:12 CST
Last Modified:              12-05-2007 08:24 CST
====================================================================== 
Summary:                    safe_asterisk fails to restart asterisk after crash
Description: 
If safe_asterisk is started from a terminal, it works as expected. If it is
started from the init script, it will not restart the asterisk process. I
believe this is due to safe_asterisk writing to stderr when it is not being
redirected anywhere. The init script that calls safe_asterisk should
redirect stderr because I don't think the daemon function does.

tested on CentOS 4.5
====================================================================== 

---------------------------------------------------------------------- 
 mmb - 12-05-07 08:24  
---------------------------------------------------------------------- 
Not using anything like bootsplash. What starts asterisk is:

init script -> daemon function -> initlog -> safe_asterisk -> nice ->
asterisk 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-05-07 08:24  mmb            Note Added: 0074801                          
======================================================================




More information about the asterisk-bugs mailing list