Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16158 - Apache2 (apache1 too?) needs ssl session cache deleted on startup
Summary: Apache2 (apache1 too?) needs ssl session cache deleted on startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-21 14:55 UTC by Blu3
Modified: 2003-02-23 14:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blu3 2003-02-21 14:55:10 UTC
/var/log/apache2/ssl_scache needs to be zapped on system startup or the httpd
daemon may appear to start normally but in reality it's hung.  This file will be
left over due to an abnormal termination of the server, i.e. power failure, kill
-9, etc.

error log may show:
[Fri Feb 21 14:47:02 2003] [info] Init: Initializing (virtual) servers for SSL
[Fri Feb 21 14:47:02 2003] [info] Server: Apache/2.0.44, Interface:
mod_ssl/2.0.44, Library: OpenSSL/0.9.6h
[Fri Feb 21 14:47:03 2003] [notice] Digest: generating secret for digest
authentication ...
[Fri Feb 21 14:47:03 2003] [notice] Digest: done
[Fri Feb 21 14:47:03 2003] [info] mod_unique_id: using ip addr 10.0.0.5
[Fri Feb 21 14:47:04 2003] [info] Init: Initializing OpenSSL library
[Fri Feb 21 14:47:04 2003] [info] Init: Seeding PRNG with 136 bytes of entropy
[Fri Feb 21 14:47:04 2003] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[Fri Feb 21 14:47:05 2003] [info] Init: Generating temporary DH parameters
(512/1024 bits)
[Fri Feb 21 14:47:05 2003] [error] (17)File exists: Cannot allocate shared memory

This file is the ssl_scache file typically found by default in the
/var/log/apache2/ directory.
Comment 1 Donny Davies (RETIRED) gentoo-dev 2003-02-23 14:40:13 UTC
i think shm ssl cache is acting funny so i've reverted to the
dbm cache, which i think is slower but at least works at this
point in time ;-)