httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
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 0.0.0.0:80
[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
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


Mime
View raw message