Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 82197 invoked by uid 500); 23 Oct 2001 04:17:20 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 82186 invoked from network); 23 Oct 2001 04:17:19 -0000 Message-ID: <3BD4EF50.1030609@stason.org> Date: Tue, 23 Oct 2001 12:17:20 +0800 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010914 X-Accept-Language: en-us MIME-Version: 1.0 To: dev@httpd.apache.org Subject: apachectl reports 'httpd started' when httpd didn't Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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/