Received: (qmail 51707 invoked by uid 501); 3 Dec 2001 14:17:53 -0000 Message-Id: <20011203141753.51706.qmail@apache.org> Date: 3 Dec 2001 14:17:53 -0000 From: Ian Glennon Reply-To: ian.glennon@telewest.co.uk To: submit@bugz.apache.org Subject: Missing pipe from CustomLog config entry causes graceful restart to report false success X-Send-Pr-Version: 3.110 >Number: 8930 >Category: config >Synopsis: Missing pipe from CustomLog config entry causes graceful restart to report false success >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Dec 03 06:20:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: ian.glennon@telewest.co.uk >Release: 1.3.19 >Organization: apache >Environment: uname -a output :- SunOS 5.8 Generic_108528-06 sun4u sparc SUNW,Ultra-80 The system is actually a 420R. Don't know what compiler was used, but I don't think this has any relevance. >Description: When the pipe symbol is omitted from the CustomLog entry when using the rotatelogs utility, a graceful restart fails but reports success. >How-To-Repeat: Add or modify the CustomLog entry as follows... CustomLog "/path/to/apache/bin/rotatelogs /path/to/apache/log/access_log 86400" common Gracefully restart apache /path/to/apache/bin/apachectl graceful Check for apache ps -ef | grep httpd It isn't there. >Fix: The syntax checker logic passes this configuration as OK, so I would suggest that as a good place to start. If I ever get the chance, I might take a look at the code myself, as it is version 1.3.19 and not the latest 2.0. >Release-Note: >Audit-Trail: >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! ]