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

Bug#398223: Acknowledgement (apache2: "[notice] caught SIGTERM, shutting down")



On Sun, 07 Jan 2007 17:11:40 +0100
Ralf Mattes <rm@seid-online.de> wrote:
> Hmm, apache2 invokes logrotate weeky, so maybe there's a bug in the
> logrotate script. I'd change /etc/logrotate/apache2 to:
> 
>  /var/log/apache2/*.log {
>         weekly
>         missingok
>         rotate 52
>         compress
>         delaycompress
>         notifempty
>         create 640 root adm
>         sharedscripts
>         postrotate
>                 if [ -f /var/run/apache2.pid ]; then
> 			echo "--- `date` "
> >> /var/log/apache2/logrotate /etc/init.d/apache2 restart
> >> /var/log/apache2/logrotate 2>&1 
>                 fi
>         endscript
> }
> 
> and see what happens.
> 
>  HTH, Ralf Mattes

Hi Ralf,

I re-enabled the SSL stuff and sure enough, apache2 died again this morning, this time with your logrotate mods above in place. However, sorry to say that the "logrotate" log file that was generated only contains a time stamp, ie.:

--- Sun Jan 14 06:37:50 CST 2007

error.log contains the usual nauz:

[Sun Jan 14 06:38:11 2007] [error] Init: Unable to read pass phrase [Hint: key introduced or changed before restart?]
[Sun Jan 14 06:38:12 2007] [error] SSL Library Error: 218710120 error:0D094068:asn1 encoding routines:d2i_ASN1_SET:bad tag
[Sun Jan 14 06:38:12 2007] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Sun Jan 14 06:38:12 2007] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
[Sun Jan 14 06:38:12 2007] [error] SSL Library Error: 218734605 error:0D09A00D:asn1 encoding routines:d2i_PrivateKey:ASN1 lib

Let me know if there is anything else I can do to help,
Clayton



Reply to: