From 065ec3ad791d3e32dfbe48b95629748c6c961f35 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Sun, 21 Aug 2011 10:58:50 +0000 Subject: [PATCH] - remove ssl_scache on startup, otherwise httpd may go into infinite loop if there are db transaction logs laying around Changed files: apache.init -> 1.70 --- apache.init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apache.init b/apache.init index c9a9914..692c237 100644 --- a/apache.init +++ b/apache.init @@ -83,6 +83,9 @@ start() { [ "$1" -eq 0 ] || checkconfig msg_starting "$SVC_NAME" + # remove ssl_scache on startup, otherwise httpd may go into + # infinite loop if there are db transaction logs laying around + rm -f /var/cache/httpd/*ssl_scache* daemon --pidfile /var/run/httpd.pid /usr/sbin/httpd.${HTTPD_MPM} $CFG $HTTPD_OPTS RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/httpd -- 2.44.0