> Mark
> 
> This past two weeks I have had several ugly shutdowns, power out,
> cron error I'm still looking for, and a couple of dumb moves.
> 
> Apache2 has restarted without a problem on boot.
> 
> Just adding info.
> 
> 9.1, xfs
> 

Hi Lee

There is a couple of things that seem to trigger the problem..  
First one needs  apache2-mod_ssl installed...   and the problem seems to
happen more during the during the urpmi update process, or when adding
extra modules through urpmi.

I have added a little extra to the /etc/rc.d/init.d/httpd file to watch
for it. 

Anyway there's probably better methods out..   but this was my
solution..



@@ -233,10 +233,21 @@
        rm -f /var/lock/subsys/httpd
 }
  
+checkstale() {
+ps aux |\
+  grep httpd2 |\
+  cut -f1 -d " " |\
+  grep apache > /dev/null || {
+       rm -f /var/log/httpd/ssl_scache
+       }
+}
+
 # See how we were called.
 case "$1" in
   start)
         detect
+       checkstale
        start
        ;;
   stop)




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to