Received: (qmail 56760 invoked by uid 501); 26 Sep 2000 19:38:32 -0000 Message-Id: <20000926193831.56758.qmail@locus.apache.org> Date: 26 Sep 2000 19:38:31 -0000 From: Michael Ruxton Reply-To: ruxtonm@mar.dfo-mpo.gc.ca To: submit@bugz.apache.org Subject: system crash - httpd does not start on boot X-Send-Pr-Version: 3.110 >Number: 6588 >Category: os-solaris >Synopsis: system crash - httpd does not start on boot >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Sep 26 12:40:06 PDT 2000 >Closed-Date: >Last-Modified: >Originator: ruxtonm@mar.dfo-mpo.gc.ca >Release: 1.3.12 >Organization: apache >Environment: SunOS 5.5.1 Generic_103640-28 sun4m sparc SUNW,SPARCstation-10 >Description: My system crashed. On reboot, httpd does not restart, because it checks for httpd.pid in bin/logs/. This exists, because httpd was not shut down properly, so the system thinks httpd is already running. >How-To-Repeat: Kill httpd, and if httpd.pid doesn't exist, make one up. To be thorough, enter a PID which is currently in use, and can be killed without consequence. Reboot, or run apachectl with an appropriate commandline parameter. >Fix: It should be safe to delete this file on boot. So enter the following line in apachectl at the appropriate place: if [ -f $PIDFILE ] rm $PIDFILE the appropriate place being at least the vicinity of "case start)" and possibly "restart)" and graceful)" >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! ]