OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004860 [apache2] packaging major always 2011-11-11 01:38 2011-11-18 02:57
Reporter glenk View Status public  
Assigned To bwalton
Priority normal Resolution fixed  
Status closed  
Summary 0004860: not honoring PidFile directive in httpd.conf
Description We run multiple web server configurations using the same /opt/csw/apache2/sbin/httpd binary. The PidFile directive in httpd.conf is not being honored; httpd seems to be hard-coded to be written to /var/run/httpd.pid, which prevents us from running more than one web server configuration on this server.

We're using the prefork MPM (httpd is linked to httpd.prefork).
Additional Information For instance, this config is ignored:
ServerRoot "/opt/csw/apache2"
PidFile /var/opt/csw/apache2/log/dwinfoview/httpd.pid

Reference:
http://httpd.apache.org/docs/2.2/mod/mpm_common.html#pidfile [^]
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009403)
bwalton (administrator)
2011-11-11 03:21

Can you please confirm that you're not overlooking the PidFile value that gets set in /opt/csw/apache2/etc/extra/httpd-mpm.conf? Experimentation locally indicates that this would give the illusion of a hard coded value. Alter this allowed me to move the pid file as desired.

Thanks
-Ben
(0009404)
glenk (reporter)
2011-11-11 21:14

Thanks Ben! Yes, it looks like we're now including that file; that's a change to the configuration that I had overlooked.

I appreciate your feedback, and I'll close out this bug.

Thanks again,
-glen


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker