Bug 1176804
Summary: | httpd does not start - httpd: could not log pid to file /run/httpd/httpd.pid | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss Web Server 3 | Reporter: | Libor Fuka <lfuka> | ||||
Component: | unspecified | Assignee: | Weinan Li <weli> | ||||
Status: | CLOSED EOL | QA Contact: | Libor Fuka <lfuka> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.0.0 | CC: | jclere, mbabacek, mturk, pslavice | ||||
Target Milestone: | DR01 | ||||||
Target Release: | 3.0.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-03-27 18:36:20 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Libor Fuka
2014-12-23 10:25:47 UTC
Created attachment 972355 [details]
httpd24 error_log
PidFile directive is missing in conf file. PidFile directive should be placed in 00-mpm.conf http://httpd.apache.org/docs/current/mod/mpm_common.html This should be set similar like ews2.1 PidFile run/httpd.pid Fix: [weli@dhcp-66-78-87 jws-compose]$ git diff diff --git a/postinstall b/postinstall index 5df578e..e6fce46 100644 --- a/postinstall +++ b/postinstall @@ -56,3 +56,5 @@ sed -i -e "s:/usr/share/httpd/manual:${currentDir}/../doc/httpd:g" conf.d/manual sed -i -e "s:/usr/share/httpd/noindex/index.html:${currentDir}/www/error/noindex.html:g" -e "s:/usr/share/httpd/noindex +# bz1176804 httpd: could not log pid to file /run/httpd/httpd.pid +echo "PidFile ${currentDir}/run/httpd.pid" >> conf.d/00-mpm.conf \ No newline at end of file --- Verification: [weli@dhcp-66-78-87 httpd]$ sudo sbin/apachectl start [weli@dhcp-66-78-87 httpd]$ ls run/httpd.pid httpd.pid [weli@dhcp-66-78-87 httpd]$ tail -n 1 conf.d/00-mpm.conf PidFile /home/weli/rpmbuild/RPMS/x86_64/jws-3.0/httpd/run/httpd.pid Verified with DR1 build. |