[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#497534: apache2.2-common: /etc/init.d/apache2 / apache2ctl not reporting error return code when apache2 segfaults

On Thursday 04 September 2008, Olivier Berger wrote:
> Le mardi 02 septembre 2008 à 22:41 +0200, Stefan Fritsch a écrit :
> > In this case, the segfault happens after apache has gone into the
> > background. There is no way for the init script to learn about
> > the crash or for apache to print something to stderr.
> > 
> > I don't know why nothing appears in the error log, though.
> I guess because it's still reading the conf file... and has not yet
> setup the logging infrastructure ?

The bug that nothing appears in the error log will be fixed in 2.4:


However maybe we could put some logic in the init script that follows 
the error log and waits for the "resuming normal operations" line and 
only afterwards prints "OK".

Reply to: