# Settingup ood on redhat 7 cluster

**URL:** <https://discourse.openondemand.org/t/settingup-ood-on-redhat-7-cluster/1815>\
**Category:** Get Help\
**Created:** [November 30, 2021, 5:49pm UTC](https://discourse.openondemand.org/t/settingup-ood-on-redhat-7-cluster/1815 "2021-11-30T17:49:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![as7a5](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/as7a5/32/871_2.png) [@as7a5](https://discourse.openondemand.org/u/as7a5)\
**Post date:** [November 30, 2021, 5:49pm UTC](https://discourse.openondemand.org/t/settingup-ood-on-redhat-7-cluster/1815/1 "2021-11-30T17:49:56Z")

</div>

Hi Alan et. al.  
I have installed the server side on a node. Now when I try to login through local browser (or remote one) using ood@servername and the password I set when I I created local user ood I get login error

 ![Screen Shot 2021-11-30 at 12.42.43 PM](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/7dc84e79b5d751c736b7887af90193502c049cae.jpeg)  
Also the access.log reads:

192.168.0.4 - - [30/Nov/2021:12:41:40 -0500] “GET / HTTP/1.1” 302 227 “-” “Mozilla/5.0 (X11; Linux x86\_64; rv:78.0) Gecko/20100101 Firefox/78.0”  
192.168.0.4 - - [30/Nov/2021:12:41:40 -0500] “GET /pun/sys/dashboard HTTP/1.1” 302 454 “-” “Mozilla/5.0 (X11; Linux x86\_64; rv:78.0) Gecko/20100101 Firefox/78.0”  
10.137.233.209 - - [30/Nov/2021:12:44:01 -0500] “GET /pun/sys/dashboard HTTP/1.1” 500 527 “-” “Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36”  
10.137.233.209 - - [30/Nov/2021:12:44:52 -0500] “-” 408 - “-” “-”

and error.log:

[Tue Nov 30 12:44:01.131247 2021] [auth\_openidc:warn] [pid 221584] [client 10.137.233.209:49322] oidc\_clean\_expired\_state\_cookies: state (mod\_auth\_openidc\_state\_N\_SOrfBS7NYQykLzkFKP0\_7legQ) has expired (original\_url=http://an-0004.nyumc.org/pun/sys/dashboard)  
[Tue Nov 30 12:44:01.131498 2021] [auth\_openidc:warn] [pid 221584] [client 10.137.233.209:49322] oidc\_clean\_expired\_state\_cookies: state (mod\_auth\_openidc\_state\_mSPQqqVBNikQ2NveKP3fL6d1Mrs) has expired (original\_url=http://an-0004.nyumc.org/pun/sys/dashboard)  
[Tue Nov 30 12:44:01.131616 2021] [auth\_openidc:warn] [pid 221584] [client 10.137.233.209:49322] oidc\_clean\_expired\_state\_cookies: state (mod\_auth\_openidc\_state\_rVbt263s\_xEJf6SqAInMv2QfMKU) has expired (original\_url=http://an-0004.nyumc.org/pun/sys/dashboard)  
[Tue Nov 30 12:44:01.131663 2021] [auth\_openidc:error] [pid 221584] [client 10.137.233.209:49322] oidc\_authenticate\_user: the URL hostname (an-0004.cm.cluster) of the configured OIDCRedirectURI does not match the URL hostname of the URL being accessed ([an-0004.nyumc.org](http://an-0004.nyumc.org)): the “state” and “session” cookies will not be shared between the two!

I appreciate your help

---

<div class="post-metadata">

**Author:** ![gbyrket](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gbyrket/32/894_2.png) [@gbyrket](https://discourse.openondemand.org/u/gbyrket)\
**Post date:** [December 1, 2021, 2:16pm UTC](https://discourse.openondemand.org/t/settingup-ood-on-redhat-7-cluster/1815/2 "2021-12-01T14:16:42Z")

</div>

Hi Ali.

Could you please use ood@localhost, instead of ood@an-0004.cm.cluster and see if that works?

Thanks,  
-gerald

---

<div class="post-metadata">

**Author:** ![gbyrket](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gbyrket/32/894_2.png) [@gbyrket](https://discourse.openondemand.org/u/gbyrket)\
**Post date:** [December 1, 2021, 3:50pm UTC](https://discourse.openondemand.org/t/settingup-ood-on-redhat-7-cluster/1815/3 "2021-12-01T15:50:26Z")

</div>

Hi Ali.

> the URL hostname (an-0004.cm.cluster) of the configured OIDCRedirectURI does not match the URL hostname of the URL being accessed ([an-0004.nyumc.org](http://an-0004.nyumc.org/)):

According to the error in the log, it appears that your server hostname is different than that assigned to OIDCRedirectURI

Please check /opt/rh/httpd24/root/etc/httpd/conf.d/auth\_openidc.conf and ensure the redirect url matches the url you are navigating to. Or at least the FQDN part of the url.

---

<div class="post-metadata">

**Author:** ![as7a5](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/as7a5/32/871_2.png) [@as7a5](https://discourse.openondemand.org/u/as7a5)\
**Post date:** [December 7, 2021, 7:36pm UTC](https://discourse.openondemand.org/t/settingup-ood-on-redhat-7-cluster/1815/4 "2021-12-07T19:36:11Z")

</div>

Hi Gerald,  
Is it possible to have a webex? All lines in auth\_openidc.conf are commented out.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [June 5, 2022, 7:36pm UTC](https://discourse.openondemand.org/t/settingup-ood-on-redhat-7-cluster/1815/5 "2022-06-05T19:36:34Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
