You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Robert Bagley <ro...@ce.gatech.edu> on 2001/01/29 03:33:31 UTC

os-solaris/7145: apachectl cannot stop/restart service if pid filename changed

>Number:         7145
>Category:       os-solaris
>Synopsis:       apachectl cannot stop/restart service if pid filename changed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Jan 28 18:40:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     robert.bagley@ce.gatech.edu
>Release:        1.3.14
>Organization:
apache
>Environment:
I'm running Solaris 8 (SunOS 5.8) on UltraSPARC with the latest GNU gcc, tar, make, etc.

uname -a --> SunOS rhine 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-2
>Description:
Standard installation of apache into /usr/local/apache, compiled from source obtained from apache.org web site. If I change /usr/local/apache/conf/httpd.conf so that the pid file is "/usr/local/apache/logs/apache.pid" rather than "/usr/local/apache/logs/httpd.pid", apachectl can no longer stop or restart the web service. Can still stop/restart with a manual kill -TERM or -HUP. 
>How-To-Repeat:
Cannot be observed external to the server...
>Fix:
Just the obvious: Update apachectl to read the value of "PidFile" as set in httpd.conf
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> 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!     ]