[asterisk-bugs] [Asterisk 0014194]: logger.c:531 rotate_file: system() failed for 'gzip -9 /var/log/asterisk/full.2': No child processes

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 8 15:40:32 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14194 
====================================================================== 
Reported By:                pabelanger
Assigned To:                mnicholson
====================================================================== 
Project:                    Asterisk
Issue ID:                   14194
Category:                   Core/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.6.0.3-rc1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2009-01-07 20:48 CST
Last Modified:              2009-01-08 15:40 CST
====================================================================== 
Summary:                    logger.c:531 rotate_file: system() failed for 'gzip
-9 /var/log/asterisk/full.2': No child processes
Description: 
calling 'logger rotate' from the cli for asterisk 1.6.0.3, always displays
a few ugly warnings.


====================================================================== 

---------------------------------------------------------------------- 
 (0097238) mnicholson (administrator) - 2009-01-08 15:40
 http://bugs.digium.com/view.php?id=14194#c97238 
---------------------------------------------------------------------- 
Ok, you can ignore this error, the command should still run.  The error is
caused by a custom SIGCHLD handler as far as I can tell.  Also there is
another problem in that the system() command is being used instead of the
ast_safe_system() call (which also happens to reset the signal handlers). 
I'll post a patch shortly. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-08 15:40 mnicholson     Note Added: 0097238                          
======================================================================




More information about the asterisk-bugs mailing list