# OOD 1.5 Apache Service Start Failure

**URL:** <https://discourse.openondemand.org/t/ood-1-5-apache-service-start-failure/242>\
**Category:** Get Help\
**Created:** [March 12, 2019, 6:54pm UTC](https://discourse.openondemand.org/t/ood-1-5-apache-service-start-failure/242 "2019-03-12T18:54:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![domd1](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/domd1/32/129_2.png) [@domd1](https://discourse.openondemand.org/u/domd1)\
**Post date:** [March 12, 2019, 6:54pm UTC](https://discourse.openondemand.org/t/ood-1-5-apache-service-start-failure/242/1 "2019-03-12T18:54:02Z")

</div>

Working on Connecting OOD 1.5 KVM VM to Open HPC Cluster. Running on CentOS 7.6. The OOD node is booting okay and I can ssh into it, but httpd24 service fails to start. Apparently log files didn’t get created for some reason during the install. I am assuming log files/directories normally would be created, but since I am new to OOD I am not sure. Errors are shown below, what is the best way to resolve this problem?

```
Mar 12 11:44:36 centosood systemd: Starting The Apache HTTP Server...
Mar 12 11:44:36 centosood systemd: Started Permit User Sessions.
Mar 12 11:44:36 centosood systemd: Started Getty on tty1.
Mar 12 11:44:36 centosood systemd: Reached target Login Prompts.
Mar 12 11:44:36 centosood systemd: Started Command Scheduler.
Mar 12 11:44:36 centosood httpd-scl-wrapper: (2)No such file or directory: AH02291: Cannot access directory '/opt/rh/httpd24/root/etc/httpd/logs/' for main error log
Mar 12 11:44:36 centosood httpd-scl-wrapper: (2)No such file or directory: AH02291: Cannot access directory '/opt/rh/httpd24/root/etc/httpd/logs/' for error log of vhost defined at /opt/rh/httpd24/root/etc/httpd/conf.d/ssl.conf:56
Mar 12 11:44:36 centosood httpd-scl-wrapper: AH00014: Configuration check failed
Mar 12 11:44:36 centosood pbs_init.d: Starting PBS
Mar 12 11:44:36 centosood systemd: httpd24-httpd.service: main process exited, code=exited, status=1/FAILURE
Mar 12 11:44:36 centosood httpd-scl-wrapper: (2)No such file or directory: AH02291: Cannot access directory '/opt/rh/httpd24/root/etc/httpd/logs/' for main error log
Mar 12 11:44:36 centosood httpd-scl-wrapper: (2)No such file or directory: AH02291: Cannot access directory '/opt/rh/httpd24/root/etc/httpd/logs/' for error log of vhost defined at /opt/rh/httpd24/root/etc/httpd/conf.d/ssl.conf:56
Mar 12 11:44:36 centosood httpd-scl-wrapper: AH00014: Configuration check failed
Mar 12 11:44:36 centosood systemd: httpd24-httpd.service: control process exited, code=exited status=1
Mar 12 11:44:36 centosood systemd: Failed to start The Apache HTTP Server.
Mar 12 11:44:36 centosood systemd: Unit httpd24-httpd.service entered failed state.
Mar 12 11:44:36 centosood systemd: httpd24-httpd.service failed.
```

Thanks  
Dom

---

<div class="post-metadata">

**Author:** ![domd1](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/domd1/32/129_2.png) [@domd1](https://discourse.openondemand.org/u/domd1)\
**Post date:** [March 12, 2019, 7:51pm UTC](https://discourse.openondemand.org/t/ood-1-5-apache-service-start-failure/242/2 "2019-03-12T19:51:50Z")

</div>

Got it figured out. It was a symlink located at /opt/rh/httpd24/root/etc/httpd/logs which pointed at /var/log/httpd24 which didn’t exist. I created directory httpd24 and set the permissions with chmod 600 /var/log/httpd24 and now httpd24-httpd service runs:-)

Now I am getting an error within the httpd24 service related to httpd-scl-wrapper, see below:

root@centosood log]# systemctl status httpd24-httpd  
● httpd24-httpd.service - The Apache HTTP Server  
Loaded: loaded (/usr/lib/systemd/system/httpd24-httpd.service; enabled; vendor preset: disabled)  
Drop-In: /etc/systemd/system/httpd24-httpd.service.d  
└─ood.conf  
Active: active (running) since Tue 2019-03-12 14:41:19 CDT; 15s ago  
Process: 3488 ExecStop=/opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper $OPTIONS -k graceful-stop (code=exited, status=1/FAILURE)  
Main PID: 3539 (httpd)  
Status: “Total requests: 0; Idle/Busy workers 100/0;Requests/sec: 0; Bytes served/sec: 0 B/sec”  
Tasks: 47  
Memory: 7.0M  
CGroup: /system.slice/httpd24-httpd.service  
├─3539 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─3540 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─3541 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─3542 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─3543 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
└─3544 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND

Mar 12 14:41:19 centosood systemd[1]: Starting The Apache HTTP Server…  
Mar 12 14:41:19 centosood systemd[1]: Started The Apache HTTP Server.

---

<div class="post-metadata">

**Author:** ![domd1](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/domd1/32/129_2.png) [@domd1](https://discourse.openondemand.org/u/domd1)\
**Post date:** [March 12, 2019, 8:09pm UTC](https://discourse.openondemand.org/t/ood-1-5-apache-service-start-failure/242/3 "2019-03-12T20:09:25Z")

</div>

Figured out the source of the errors. It was caused by Open HPC wwvnfs the VNFS build command only constructing the default /var/log directory for OPHC, thus it was missing some of the folders needed for OOD.

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 3:16pm UTC](https://discourse.openondemand.org/t/ood-1-5-apache-service-start-failure/242/4 "2022-05-26T15:16:54Z")

</div>


