[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:10:57 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:10 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
======================================================================
----------------------------------------------------------------------
sinistermidget - 12-05-07 08:10
----------------------------------------------------------------------
Are you using something like bootsplash? If so, try launching
safe_asterisk using "setsid" from your init script.
Issue History
Date Modified Username Field Change
======================================================================
12-05-07 08:10 sinistermidget Note Added: 0074799
======================================================================
More information about the asterisk-bugs
mailing list