You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Webmaster <we...@filarescue.org> on 2004/07/03 06:22:47 UTC

[users@httpd] Strange Errors on restart

*This message was transferred with a trial version of CommuniGate(tm) Pro*


Every time I do 'apachectl stop' then start, I see something like this in the httpd-error.log:

[Fri Jul 02 23:16:04 2004] [notice] caught SIGTERM, shutting down
[Fri Jul 02 23:16:08 2004] [notice] Apache/2.0.49 (FreeBSD) PHP/4.3.7 configured -- resuming normal operations
[Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init debuglog mutex
[Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init auditlog mutex
[Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init debuglog mutex
[Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init auditlog mutex
[Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init debuglog mutex
[Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init auditlog mutex
[Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init debuglog mutex
[Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init auditlog mutex
[Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init debuglog mutex
[Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init auditlog mutex

This happens every time I restart httpd, OR whenever someone tries to access a buletin board CGI script (that isn't working now, of course).



Using the latest port for FreeBSD for Apache, perl 5.8.4, php, etc (all ports are current).

Stumped,
Chris


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re[2]: [users@httpd] Strange Errors on restart

Posted by Webmaster <we...@filarescue.org>.
*This message was transferred with a trial version of CommuniGate(tm) Pro*

>I don't believe any of those messages come from apache, which leads me to
>suppose it's some buggy third-party module - either PHP or some other that
>didn't advertise itself.


I changed the LogLevel to debug, and it put an extra line in there - the one with 'prefork' in it - does that help point to a specific problem that I'm not seeing?



[Thu Jul 15 17:49:56 2004] [info] mod_unique_id: using ip addr 205.238.132.218
[Thu Jul 15 17:49:57 2004] [info] mod_unique_id: using ip addr 205.238.132.218
[Thu Jul 15 17:49:58 2004] [notice] Apache/2.0.50 (FreeBSD) PHP/4.3.8 configured -- resuming normal operations
[Thu Jul 15 17:49:58 2004] [info] Server built: Jul 12 2004 16:57:39
[Thu Jul 15 17:49:58 2004] [debug] prefork.c(955): AcceptMutex: flock (default: flock)
[Thu Jul 15 17:49:58 2004] [error] (13)Permission denied: Failed to child-init debuglog mutex
[Thu Jul 15 17:49:58 2004] [error] (13)Permission denied: Failed to child-init auditlog mutex
   (that last pair of entries repeats 8 more times)



I know that commenting out the mod_security entry seems to stop these startup errors, so am I safe to assume it's related to the mod_security.so file? Or is it possible the .so file is fine, but the httpd.config file is messed up?

Thanks - this is driving me crazy.
Chris


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Strange Errors on restart

Posted by Nick Kew <ni...@webthing.com>.
On Fri, 2 Jul 2004, Webmaster wrote:

> Every time I do 'apachectl stop' then start, I see something like this
  in the httpd-error.log:
>
> [Fri Jul 02 23:16:04 2004] [notice] caught SIGTERM, shutting down
> [Fri Jul 02 23:16:08 2004] [notice] Apache/2.0.49 (FreeBSD) PHP/4.3.7 configured -- resuming normal operations
> [Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init debuglog mutex
> [Fri Jul 02 23:16:08 2004] [error] (13)Permission denied: Failed to child-init auditlog mutex

I don't believe any of those messages come from apache, which leads me to
suppose it's some buggy third-party module - either PHP or some other that
didn't advertise itself.

The message seems pretty clear though: something has made a mess of
setting up a mutex.  That's a two-stage process; child-init is the second
part.  I suggest you try identifying suspects, and remove each in turn
until you identify the culprit.

-- 
Nick Kew

Nick's manifesto: http://www.htmlhelp.com/~nick/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org