# Reinstall ood dashboard can not start

**URL:** <https://discourse.openondemand.org/t/reinstall-ood-dashboard-can-not-start/1046>\
**Category:** Get Help\
**Created:** [August 7, 2020, 4:27am UTC](https://discourse.openondemand.org/t/reinstall-ood-dashboard-can-not-start/1046 "2020-08-07T04:27:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![superdavidxp](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/superdavidxp/32/194_2.png) [@superdavidxp](https://discourse.openondemand.org/u/superdavidxp)\
**Post date:** [August 7, 2020, 4:27am UTC](https://discourse.openondemand.org/t/reinstall-ood-dashboard-can-not-start/1046/1 "2020-08-07T04:27:53Z")

</div>

Hi, I just reinstalled open ondemand, however, the httpd24 used “/opt/rh/httpd24/root/var/www/html/index.html” rather than OOD dashboard, would you please give me some guidance?

[root@hal9000 ~]# systemctl status httpd24-httpd.service -l  
● 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-portal.conf, ood.conf  
Active: active (running) since Thu 2020-08-06 23:16:43 CDT; 1min 4s ago  
Process: 1088 ExecStop=/opt/rh/httpd24/root/usr/sbin/httpd-scl-wrapper $OPTIONS -k graceful-stop (code=exited, status=0/SUCCESS)  
Process: 1091 ExecStartPre=/opt/ood/ood-portal-generator/sbin/update\_ood\_portal --rpm (code=exited, status=0/SUCCESS)  
Main PID: 1124 (httpd)  
Status: “Total requests: 1380; Idle/Busy workers 76/23;Requests/sec: 24.2; Bytes served/sec: 86KB/sec”  
Tasks: 89  
CGroup: /system.slice/httpd24-httpd.service  
├─1124 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─1125 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─1126 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─1129 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─1174 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─1181 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─1182 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─1205 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─1206 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─1225 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─1232 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
├─1233 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND  
└─1288 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND

Aug 06 23:16:43 hal9000 systemd[1]: Starting The Apache HTTP Server…  
Aug 06 23:16:43 hal9000 update\_ood\_portal[1091]: No change in Apache config.  
Aug 06 23:16:43 hal9000 httpd-scl-wrapper[1124]: AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using 192.168.20.129. Set the ‘ServerName’ directive globally to suppress this message  
Aug 06 23:16:43 hal9000 systemd[1]: Started The Apache HTTP Server.

Thank you in advance,

Dawei

---

<div class="post-metadata">

**Author:** ![efranz](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/efranz/32/27_2.png) [@efranz](https://discourse.openondemand.org/u/efranz)\
**Post date:** [August 7, 2020, 1:20pm UTC](https://discourse.openondemand.org/t/reinstall-ood-dashboard-can-not-start/1046/2 "2020-08-07T13:20:00Z")

</div>

Maybe a new file was added to /opt/rh/httpd24/root/etc/httpd/conf.d that specifies to serve files from /opt/rh/httpd24/root/var/www/html/? Also in our deployment /opt/rh/httpd24/root/var/www/html/ is an empty directory. Maybe removing /opt/rh/httpd24/root/var/www/html/index.html would help.

---

<div class="post-metadata">

**Author:** ![superdavidxp](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/superdavidxp/32/194_2.png) [@superdavidxp](https://discourse.openondemand.org/u/superdavidxp)\
**Post date:** [August 7, 2020, 3:54pm UTC](https://discourse.openondemand.org/t/reinstall-ood-dashboard-can-not-start/1046/3 "2020-08-07T15:54:43Z")

</div>

Thank you, I changed the ood-portal.conf, and everything worked except interactve jobs, after click the connection button, the webpage went “[https://hal.ncsa.illinois.edu:8888/node/hal04.hal.ncsa.illinois.edu/24727/login](https://hal.ncsa.illinois.edu:8888/node/hal04.hal.ncsa.illinois.edu/24727/login)”, with 404 Not Found. Would you please help me fix it?

-Dawei

---

<div class="post-metadata">

**Author:** ![mario](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/mario/32/662_2.png) [@mario](https://discourse.openondemand.org/u/mario)\
**Post date:** [August 7, 2020, 5:55pm UTC](https://discourse.openondemand.org/t/reinstall-ood-dashboard-can-not-start/1046/4 "2020-08-07T17:55:02Z")

</div>

@superdavidxp

Which interactive application are you trying to launch?

---

<div class="post-metadata">

**Author:** ![superdavidxp](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/superdavidxp/32/194_2.png) [@superdavidxp](https://discourse.openondemand.org/u/superdavidxp)\
**Post date:** [August 7, 2020, 6:39pm UTC](https://discourse.openondemand.org/t/reinstall-ood-dashboard-can-not-start/1046/5 "2020-08-07T18:39:37Z")

</div>

Hi,  
We found the problem, it was the reverse proxy problem.  
Thanks,  
-Dawei

---

<div class="post-metadata">

**Author:** ![ssood](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/ssood/32/105_2.png) [@ssood](https://discourse.openondemand.org/u/ssood)\
**Post date:** [December 14, 2020, 8:55pm UTC](https://discourse.openondemand.org/t/reinstall-ood-dashboard-can-not-start/1046/6 "2020-12-14T20:55:11Z")

</div>

Just started experiencing the same issue with the 404 errors on interactive apps and nothing has changed as far as i know. What was the issue with the reverse proxy that was causing this problem?

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [December 14, 2020, 9:35pm UTC](https://discourse.openondemand.org/t/reinstall-ood-dashboard-can-not-start/1046/7 "2020-12-14T21:35:25Z")

</div>

My guess is it’s these 4 configs in `/etc/ood/config/ood_portal.yml` (likely `use_rewrites`) that you need to update. Did your re-install reconfigure that file as well? Again, setting `use_rewrites` to true is likely the cause.

```auto
use_rewrites: false
node_uri: null
rnode_uri: null
host_regex: '[^/]+'

```

---

<div class="post-metadata">

**Author:** ![ssood](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/ssood/32/105_2.png) [@ssood](https://discourse.openondemand.org/u/ssood)\
**Post date:** [December 14, 2020, 9:36pm UTC](https://discourse.openondemand.org/t/reinstall-ood-dashboard-can-not-start/1046/8 "2020-12-14T21:36:24Z")

</div>

Fixed the issue, but don’t quite understand why the fix works. I changed the host\_regex to include the fully qualified node name according to the cluster and it has started to work again. Nothing has changed on this server that should have affected name resolution. We did update OnDemand to address the most recent CVE issue

I have had the following variables setup as follows since install and was working up until I checked today:

Before fix

```auto
#use_rewrites: true (defaults to true)
node_uri: /node
rnode_uri: /rnode
host_regex: 'clustername-[abc]\d\d\d'

```

After fix:

```auto
#use_rewrites: true (defaults to true)
node_uri: /node
rnode_uri: /rnode
host_regex: 'clustername-[abc]\d\d\d.subdomain.domain.tld'

```

---

<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:43pm UTC](https://discourse.openondemand.org/t/reinstall-ood-dashboard-can-not-start/1046/9 "2022-05-26T15:43:01Z")

</div>


