Bug#293831: apache2-mpm-prefork: Apache goes into infinite loop when __db.ssl_scache exists but ssl_scache doesn't.
Package: apache2-mpm-prefork
Version: 2.0.52-3
Severity: normal
Here's the strace output of trying to start apache2:
open("/var/run/apache2/__db.ssl_scache",
O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1 EEXIST (File exists)
open("/var/run/apache2/__db.ssl_scache",
O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1 EEXIST (File exists)
open("/var/run/apache2/__db.ssl_scache",
O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1 EEXIST (File exists)
stat64("/var/run/apache2/ssl_scache", 0xbffff8b0) = -1 ENOENT (No such
file or directory)
open("/var/run/apache2/__db.ssl_scache",
O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1 EEXIST (File exists)
open("/var/run/apache2/__db.ssl_scache",
O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1 EEXIST (File exists)
open("/var/run/apache2/__db.ssl_scache",
O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1 EEXIST (File exists)
stat64("/var/run/apache2/ssl_scache", 0xbffff8b0) = -1 ENOENT (No such
file or directory)
This continues indefinately, for hours sometimes. This bug can prevent
the system from booting correctly as /etc/init.d/apache2 hangs.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-se
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages apache2-mpm-prefork depends on:
ii apache2-common 2.0.52-3 Next generation, scalable, extenda
ii libapr0 2.0.52-3 The Apache Portable Runtime
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-17 Berkeley v4.2 Database Libraries [
ii libexpat1 1.95.8-1 XML parsing C library - runtime li
ii libldap2 2.1.30-3 OpenLDAP libraries
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii zlib1g 1:1.2.2-4 compression library - runtime
-- no debconf information
Reply to: