httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject apachectl reports 'httpd started' when httpd didn't
Date Tue, 23 Oct 2001 04:17:20 GMT

running a freshly installed from httpd-2.0 cvs httpd:

% bin/apachectl start
bin/apachectl start: httpd started

% tail -f logs/error_log
[Tue Oct 23 12:07:26 2001] [notice] Digest: generating secret for digest 
authentication ...
[Tue Oct 23 12:07:28 2001] [notice] Digest: done
[Tue Oct 23 12:07:29 2001] [crit] (13)Permission denied: make_sock: 
could not bind to address
[Tue Oct 23 12:07:29 2001] [alert] no listening sockets available, 
shutting down

So httpd didn't start, while bin/apachectl reports that it did.

Either httpd returns a wrong status here (too early?):

	if $HTTPD ; then
	    echo "$0 $ARG: httpd started"

or may be an additional check for pid file should be done and report 
success/failure only then?

Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker      mod_perl Guide

View raw message