https://bz.apache.org/bugzilla/show_bug.cgi?id=60872

--- Comment #2 from Eric Lee <e...@peartreefarm.org.uk> ---
Here's the error log. You'll see that the first error in caused by a client
request rather than server start-up, giving me little clue to the detail of the
server-side failure:
=================================================================
$ cat
/fs01/log/mwhandbook/apache2.4.25/mwhandbook/mwhandbook_mwhandbook_error.log.1489594412

[Wed Mar 15 16:13:32.746587 2017] [mpm_worker:notice] [pid 1459:tid
140629072512768] AH00292: Apache/2.4.25 (Unix) configured -- resuming normal
operations

[Wed Mar 15 16:13:32.746645 2017] [core:notice] [pid 1459:tid 140629072512768]
AH00094: Command line: '/fs01/app/sw/apache2.4/apache2.4.25/bin/httpd -d
/fs01/app/mwhandbook/apache2.4.25/mwhandbook'

[Wed Mar 15 16:13:38.071787 2017] [cgid:error] [pid 2124:tid 140629006206720]
(22)Invalid argument: [client 10.64.149.155:55669] AH01257: unable to connect
to cgi daemon after multiple tries: /var/www/cgi-bin/tnspp

[Wed Mar 15 16:42:00.627351 2017] [mpm_worker:notice] [pid 1459:tid
140629072512768] AH00298: SIGHUP received.  Attempting to restart

==================================================================

I subsequently discovered a separate issue which required me to raise
StartServers from 2 to 5, following this change, a more useful message appeared
in the log, flagging a bind() failure:

==================================================================

[Wed Mar 15 16:42:00.678486 2017] [cgid:error] [pid 2172:tid 140629072512768]
(2)No such file or directory: AH01243: Couldn't bind unix domain socket
/fs01/app/mwhandbook/apache2.4.25/mwhandbook/logs/cgisock.1459

[Wed Mar 15 16:42:00.679209 2017] [mpm_worker:notice] [pid 1459:tid
140629072512768] AH00292: Apache/2.4.25 (Unix) configured -- resuming normal
operations

[Wed Mar 15 16:42:00.679229 2017] [core:notice] [pid 1459:tid 140629072512768]
AH00094: Command line: '/fs01/app/sw/apache2.4/apache2.4.25/bin/httpd -d
/fs01/app/mwhandbook/apache2.4.25/mwhandbook'

[Wed Mar 15 16:42:00.679273 2017] [cgid:crit] [pid 1459:tid 140629072512768]
AH01238: cgid daemon failed to initialize

[Wed Mar 15 16:57:45.140797 2017] [mpm_worker:notice] [pid 1459:tid
140629072512768] AH00295: caught SIGTERM, shutting down
==================================================================

This is better as it now tells me the pathname of the failed bind().  So the
only remaining issue is:

Why did it attempt to bind a socket to a non-existent directory?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to