[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: ssl_mutex problem SOLUTION



At 01:41 PM 2/12/02 -0500, you wrote:
Hello All,

I've been through the archives and found two articles that reference this problem. Neither helpful. The original poster didn't understand his problem or what caused it, therefore no one was able to help him. I know what I did! It wasn't good!

The main problem is in Apache:

[Tue Feb 12 13:05:38 2002] [error] System: Permission denied (errno: 13)
[Tue Feb 12 13:05:38 2002] [error] mod_ssl: Child could not open SSLMutex lockfi
le /var/log/httpd/ssl_mutex.27168 (System error follows)
[Tue Feb 12 13:05:38 2002] [error] System: Permission denied (errno: 13)
[Tue Feb 12 13:05:40 2002] [error] mod_ssl: Child could not open SSLMutex lockfi
le /var/log/httpd/ssl_mutex.27168 (System error follows)
[Tue Feb 12 13:05:40 2002] [error] System: Permission denied (errno: 13)

If you notice the frequency at which this is spinning off.. you understand the urgency to fix this!

This was caused in part by my discovery yesterday that the /var partition was completely full yesterday. I copied the files 'cp -dRp /var/log/ /home' and created a symbolic link in the /var dir. so my log directory was /hom/var/log. So far so good.

Something in /etc/cron.daily/ kicked the mess off this morning at 04:06. Cron.daily starts at 04:02.

I've got other RaQs in-house working. I have a working file system to compare to. This machine is a RaQ4r, BTW.

Thanks,
Glenn

Hello (Cobalt) World,

Following examples of other to have a good clear Subject line so this thing is searchable in the archives, here's the solution:

The ssl_mutex complaint in the Apache error log appears when ownership/permission issues turn up with the /var/log/httpd directory and all branches above and below this directory structure.

When I had copied my /var/log directory to /home/var, I had failed to set the /home/var directory to chmod 755. It was at 744. The httpd owner of Apache was not able to change into that directory, but somehow was able to write the ssl_mutex.xxx file in my log directory.

Obviously the problem didn't begin to show until cron.daily kicked-off logrotate at 04:02 this morning.

I hope future problem solvers find this solution helpful.

Thanks Again one and All!
Glenn