JWS 3.0.3 (httpd24 <= 2.4.6-61.ep7.el7) in RHEL 7 fails to create /run/httpd24 after reboot
Issue
-
We installed JWS 3.0.3 httpd24 rpm packages in RHEL 7 per the Installation Guide and all was well until a reboot, after which point
httpd24.servicefailed to start with the following errors:~]# systemctl status httpd24 -l ● httpd24.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd24.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2016-07-28 15:31:55 EDT; 2min 17s ago Process: 1337 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE) Process: 1307 ExecStart=/usr/sbin/httpd24 $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) Main PID: 1307 (code=exited, status=1/FAILURE) Jul 28 15:31:55 a72.example.com systemd[1]: Starting The Apache HTTP Server... Jul 28 15:31:55 a72.example.com httpd24[1307]: httpd24: Syntax error on line 115 of /etc/httpd24/conf/httpd.conf: Syntax error on line 76 of /etc/httpd24/conf.modules.d/00-base.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot Jul 28 15:31:55 a72.example.com systemd[1]: httpd24.service: main process exited, code=exited, status=1/FAILURE Jul 28 15:31:55 a72.example.com kill[1337]: kill: cannot find process "" Jul 28 15:31:55 a72.example.com systemd[1]: httpd24.service: control process exited, code=exited status=1 Jul 28 15:31:55 a72.example.com systemd[1]: Failed to start The Apache HTTP Server. Jul 28 15:31:55 a72.example.com systemd[1]: Unit httpd24.service entered failed state. Jul 28 15:31:55 a72.example.com systemd[1]: httpd24.service failed. -
When installing the JWS3, the
/run/httpd24directory is created at install time but not recreated after reboot, preventing httpd24 from starting.
Environment
- Red Hat Enterprise Linux (RHEL) 7
- JBoss Enterprise Web Server (JWS) 3.0.x
- Apache HTTP Server RPM from version
httpd24-2.4.6-56.ep7.el7tohttpd24-2.4.6-61.ep7.el7
- Apache HTTP Server RPM from version
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
