httpd24-httpd.service failed /opt/rh/httpd24/enable: No such file or directory
Issue
- RHSCL httpd24 is failed to start with the following error, How to fix it?
[root@rhel7 httpd24]# systemctl start httpd24-httpd.service
Job for httpd24-httpd.service failed because the control process exited with error code. See "systemctl status httpd24-httpd.service" and "journalctl -xe" for details.
[root@rhel7 httpd24]# systemctl status -l httpd24-httpd.service
● httpd24-httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd24-httpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2020-05-28 16:43:07 IST; 6s ago
Process: 15463 ExecStart=/opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 15463 (code=exited, status=1/FAILURE)
May 28 16:43:07 httpd.example.com systemd[1]: Starting The Apache HTTP Server...
May 28 16:43:07 httpd.example.com httpd-scl-wrapper[15463]: /opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper: line 9: /opt/rh/httpd24/enable: No such file or directory
May 28 16:43:07 httpd.example.com systemd[1]: httpd24-httpd.service: main process exited, code=exited, status=1/FAILURE
May 28 16:43:07 httpd.example.com systemd[1]: Failed to start The Apache HTTP Server.
May 28 16:43:07 httpd.example.com systemd[1]: Unit httpd24-httpd.service entered failed state.
May 28 16:43:07 httpd.example.com systemd[1]: httpd24-httpd.service failed.
Environment
- Red Hat Enterprise Linux (RHEL)
- 7.x
- Red Hat Software Collection (RHSCL) 3.x
- httpd24
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.