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

Bug#237377: apache: Apache parent process dies at reload



On Sun, 2 May 2004 09:12:37 -0600
Sam George <debian@spishack.com> wrote:

I may have found a work around for this bug.  

369 root@chaljin:/etc # diff /etc/logrotate.d/apache.orig /etc/logrotate.d/apache
--- /etc/logrotate.d/apache.orig        2004-05-19 11:55:46.000000000 -0600
+++ /etc/logrotate.d/apache     2004-05-11 11:38:47.000000000 -0600
@@ -15,5 +15,7 @@
                /etc/init.d/apache reload > /dev/null; \
             fi; \
           fi;
+          sleep 5
+          /etc/init.d/apache start
        endscript
 }

It's just a kluge, but it has worked for me for the last two log rotations.

-cira
-- 
   .''`.          /\/'`\         debian@spishack.com
  : :' :        .::/:::::..    .  irc://fslc.usu.edu/#cira
  `. `'    ) .//::(:###( )::.._/^  gps:41°45'N 111°49'W
    `- ..:@://"  ,|)   _/.        gpg:1024D/A7AAF777



Reply to: