Hello, I recently installed ondemand 1.6.20 on our development cluster. Everything worked great there and I was able to create the edits for the ansible deployment in prod. However, after deploying in prod the httpd24-httpd service will not start after the ondemand install. The error messages are also not helpful as they reference a PID error from the httpd-scp-wrapper but nothing else. I took that to mean there was a permission problem but even changing the permissions or PID location doesn’t help. Any insight on what else to look at would be helpful.
Environment notes:
Currently running “bright cluster manager”
selinux is disabled
firewalld is disabled
iptables is disabled
no other applications are using the ports
Steps to reproduce:
- yum install centos-release-scl
- yum install https://yum.osc.edu/ondemand/1.6/ondemand-release-web-1.6-4.noarch.rpm
- yum install httpd24
- systemctl start httpd24-httpd
- Check to verify its working
systemctl status httpd24-httpd
● httpd24-httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd24-httpd.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2020-04-16 07:13:53 PDT; 2s ago
Main PID: 58056 (httpd)
Status: “Processing requests…”
Tasks: 47
CGroup: /system.slice/httpd24-httpd.service
├─58056 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND
├─58059 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND
├─58060 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND
├─58061 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND
├─58062 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND
└─58063 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND
Apr 16 07:13:53 pplhpc1ln1 systemd[1]: Starting The Apache HTTP Server…
Apr 16 07:13:53 pplhpc1ln1 systemd[1]: Started The Apache HTTP Server.
- yum install ondemand
- systemctl restart httpd24-httpd (it fails)
● httpd24-httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd24-httpd.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/httpd24-httpd.service.d
└─ood.conf
Active: failed (Result: exit-code) since Thu 2020-04-16 07:51:15 PDT; 8s ago
Process: 63795 ExecStop=/opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper $OPTIONS -k graceful-stop (code=exited, status=0/SUCCESS)
Process: 63793 ExecStart=/opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 63793 (code=exited, status=1/FAILURE)
Status: “Reading configuration…”
Apr 16 07:51:15 pplhpc1ln1 systemd[1]: Starting The Apache HTTP Server…
Apr 16 07:51:15 pplhpc1ln1 systemd[1]: httpd24-httpd.service: main process exited, code=exited, status=1/FAILURE
Apr 16 07:51:15 pplhpc1ln1 httpd-scl-wrapper[63795]: httpd (no pid file) not running
Apr 16 07:51:15 pplhpc1ln1 systemd[1]: Failed to start The Apache HTTP Server.
Apr 16 07:51:15 pplhpc1ln1 systemd[1]: Unit httpd24-httpd.service entered failed state.
Apr 16 07:51:15 pplhpc1ln1 systemd[1]: httpd24-httpd.service failed.
- Apply configs that work in dev. Same problem.
Appreciate any assistance as to where I might be missing something.