Received: (qmail 10106 invoked by uid 2012); 29 Dec 1999 23:10:45 -0000 Message-Id: <19991229231045.10105.qmail@hyperreal.org> Date: 29 Dec 1999 23:10:45 -0000 From: Alex Charalabidis Reply-To: alex@wnm.net To: apbugs@hyperreal.org Subject: httpd silently dies during startup X-Send-Pr-Version: 3.2 >Number: 5518 >Category: mod_log-any >Synopsis: httpd silently dies during startup >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Dec 29 15:20:01 PST 1999 >Closed-Date: Wed May 24 14:30:12 PDT 2000 >Last-Modified: Wed May 24 14:30:12 PDT 2000 >Originator: alex@wnm.net >Release: 1.3.9 +frontpage 4.0 >Organization: >Environment: FreeBSD 3.4-STABLE i386, gcc 2.7.2.3 >Description: The httpd dies without any output to its error log, stdout or stderr, even with LogLevel set to "debug". This matches PR #5258 with the addition that it does not affect only symlinked directories (I also agree with the poster of #5258 in that it costs dearly in troubleshooting time - maybe it belongs on the known bugs list). The problem was traced to a bad pathname in a VirtualHost block: ErrorLog /usr/home/coleclinics/error_log TransferLog /usr/home/colesclinics/access_log ...where ~colesclinics is a mistyped path. This behaviour repeated itself with the TransferLog and ErrorLog lines reversed, however it only happened when the TransferLog entry was bad. With the ErrorLog containing a bad path, it was logged properly. The problem was finally identified using truss(1). I was able to reproduce the error (well, lack thereof :) on Apache 1.3.6/PHP3 under BSDI 3.0. >How-To-Repeat: Configure a VirtualHost with a bad pathname in the TransferLog and try to start httpd. >Fix: Sorry, no. >Release-Note: >Audit-Trail: From: Alex Charalabidis To: apbugs@hyperreal.org, apbugs@apache.org, apache-bugdb@apache.org Cc: Subject: Re: mod_log-any/5518: httpd silently dies during startup Date: Wed, 29 Dec 1999 17:40:18 -0600 (CST) On 29 Dec 1999 apbugs@hyperreal.org wrote: > >Category: mod_log-any > >Responsible: apache > >Synopsis: httpd silently dies during startup > >Arrival-Date: Wed Dec 29 15:20:01 PST 1999 > Addendum: As I subsequently found out, the errors ARE logged. They get logged to the ErrorLog file of the VirtualHost with the bad TransferLog entry, which really doesn't help at all when you have 200 unique users/sites on the machine. It only appears in logs/error_log if there is no ErrorLog directive for the affected VirtualHost. -ac From: Alex Charalabidis To: apbugs@hyperreal.org, apbugs@apache.org, apache-bugdb@apache.org Cc: Subject: Re: mod_log-any/5518: httpd silently dies during startup Date: Wed, 29 Dec 1999 17:40:18 -0600 (CST) On 29 Dec 1999 apbugs@hyperreal.org wrote: > >Category: mod_log-any > >Responsible: apache > >Synopsis: httpd silently dies during startup > >Arrival-Date: Wed Dec 29 15:20:01 PST 1999 > Addendum: As I subsequently found out, the errors ARE logged. They get logged to the ErrorLog file of the VirtualHost with the bad TransferLog entry, which really doesn't help at all when you have 200 unique users/sites on the machine. It only appears in logs/error_log if there is no ErrorLog directive for the affected VirtualHost. -ac State-Changed-From-To: open-closed State-Changed-By: coar State-Changed-When: Wed May 24 14:30:11 PDT 2000 State-Changed-Why: Submitter answered own question. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]