On Mon, 03 Jul 2000, [EMAIL PROTECTED] wrote:

> > What I found was that two files had used most of the space:
> > /var/log/httpd/error_log   =  43M
> > /var/log/httpd/ssl_engine_log   =   42M
> 
> Can you take a look on them and send us an part of the files ?
> 
I restarted the httpd & zope.  The log files reappeared and started growing
immediately.

Here's what's in /var/log/httpd/error_log:
[Wed Jul  5 12:53:55 2000] [error] mod_ssl: Child could not open SSLMutex lockfile 
/etc/httpd/logs/ssl_mutex.1032 (System error follows)
[Wed Jul  5 12:53:55 2000] [error] System: Permission denied (errno: 13)
[Wed Jul  5 12:53:55 2000] [error] mod_ssl: Child could not open SSLMutex lockfile 
/etc/httpd/logs/ssl_mutex.1032 (System error follows)
[Wed Jul  5 12:53:55 2000] [error] System: Permission denied (errno: 13)
...and so on, many times each second.

There's also one line:
[Wed Jul  5 12:53:55 2000] [notice] Apache-AdvancedExtranetServer/1.3.12
(NetRevolution/Linux-Mandrake) mod_ssl/2.6.4 OpenSSL/0.9.5a PHP/3.0.16 mod_perl/1.22 
configured -- resuming normal operations   
...but that appears only once


Here's the low-down on the /var/log/httpd/ssl_engine_log contents:

[05/Jul/2000 12:53:46 01032] [info]  Server: Apache-AdvancedExtranetServer/1.3.12, 
Interface: mod_ssl/2.6.4, Library: OpenSSL/0.9.5a
[05/Jul/2000 12:53:46 01032] [info]  Init: 1st startup round (still not detached)
[05/Jul/2000 12:53:46 01032] [info]  Init: Initializing OpenSSL library
[05/Jul/2000 12:53:46 01032] [info]  Init: Loading certificate & private key of 
SSL-aware server sparky.my.net:443
[05/Jul/2000 12:53:46 01032] [info]  Init: Seeding PRNG with 136 bytes of entropy
[05/Jul/2000 12:53:46 01032] [info]  Init: Generating temporary RSA private keys 
(512/1024 bits)
[05/Jul/2000 12:53:51 01032] [info]  Init: Configuring temporary DH parameters 
(512/1024 bits)
[05/Jul/2000 12:53:55 01033] [info]  Init: 2nd startup round (already detached)
[05/Jul/2000 12:53:55 01033] [info]  Init: Reinitializing OpenSSL library
[05/Jul/2000 12:53:55 01033] [info]  Init: Created hash-table (250 buckets) in shared 
memory (512000 bytes) for SSL session cache
[05/Jul/2000 12:53:55 01033] [info]  Init: Seeding PRNG with 136 bytes of entropy
[05/Jul/2000 12:53:55 01033] [info]  Init: Configuring temporary RSA private keys 
(512/1024 bits)
[05/Jul/2000 12:53:55 01033] [info]  Init: Configuring temporary DH parameters 
(512/1024 bits)
[05/Jul/2000 12:53:55 01033] [info]  Init: Initializing (virtual) servers for SSL
[05/Jul/2000 12:53:55 01033] [info]  Init: Configuring server sparky.my.net:443 for 
SSL protocol
[05/Jul/2000 12:53:55 01033] [warn]  Init: (sparky.my.net:443) RSA server certificate 
CommonName (CN) `localhost' does NOT match server name!?
[05/Jul/2000 12:53:55 01041] [error] Child could not open SSLMutex lockfile 
/etc/httpd/logs/ssl_mutex.1032 (System error follows)
[05/Jul/2000 12:53:55 01041] [error] System: Permission denied (errno: 13)
[05/Jul/2000 12:53:55 01042] [error] Child could not open SSLMutex lockfile 
/etc/httpd/logs/ssl_mutex.1032 (System error follows)
[05/Jul/2000 12:53:55 01042] [error] System: Permission denied (errno: 13)
[05/Jul/2000 12:53:55 01043] [error] Child could not open SSLMutex lockfile 
/etc/httpd/logs/ssl_mutex.1032 (System error follows)
[05/Jul/2000 12:53:55 01043] [error] System: Permission denied (errno: 13)      

It would seem that this is all related to /etc/httpd/logs/ssl_mutex.1032
Here's the system state for that file:
[root@sparky logs]# pwd 
/etc/httpd/logs
[root@sparky logs]# ls -l
total 4841
-rw-r--r--    1 root     root            0 Jun 27 02:01 access_log
-rw-r--r--    1 root     root      2495840 Jul  5 13:08 error_log
-rw-------    1 nobody   root            0 Jul  5 12:53 mm.1032.sem
-rw-r--r--    1 root     root            0 Jun 27 02:01 ssl-access_log
-rw-r--r--    1 root     root            0 Jun 27 02:00 ssl-error_log
-rw-r--r--    1 root     root      2437777 Jul  5 13:08 ssl_engine_log
-rw-------    1 nobody   root            0 Jul  5 12:53 ssl_mutex.1032
-rw-r--r--    1 root     root            0 Jun 27 02:01 ssl_request_log
-rw-------    1 nobody   root            0 Jul  5 12:53 ssl_scache.sem
[root@sparky logs]# 

This may just be a permission problem or something simple, but it certainly can
bring a system to a halt in quick order unless it's caught in time.  My
system lasted less than a day and then the partition was full.  With no
floppy on the UltraSparc I don't know how I'd do a rescue.  This means that it's
important for it to be correct in the default install and that's why I'm being
rather verbose.  Hope it helps!

Let me know what to do with this one.
Much thanks!
Tom Korte

Reply via email to