# On Demand home page is not coming up & shows 403 Forbidden error

**URL:** <https://discourse.openondemand.org/t/on-demand-home-page-is-not-coming-up-shows-403-forbidden-error/2246>\
**Category:** Get Help\
**Created:** [August 26, 2022, 6:09pm UTC](https://discourse.openondemand.org/t/on-demand-home-page-is-not-coming-up-shows-403-forbidden-error/2246 "2022-08-26T18:09:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sridharrbd](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/sridharrbd/32/1242_2.png) [@sridharrbd](https://discourse.openondemand.org/u/sridharrbd)\
**Post date:** [August 26, 2022, 6:09pm UTC](https://discourse.openondemand.org/t/on-demand-home-page-is-not-coming-up-shows-403-forbidden-error/2246/1 "2022-08-26T18:09:48Z")

</div>

Hello All,

We are trying to install the OnDemand from Source on CentOS 7.9. All the steps mentioned in the portal ([2. Install From Source — Open OnDemand 2.0.20 documentation](https://osc.github.io/ood-documentation/latest/installation/from-source.html)) have been performed, but accessing the “ood” HTTP Portal gives 403 - Forbidden error. Netstat command output:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/0/082e2c1854ef953d758d1212c0cfea72c1b0927a.png)

Error while accessing the ood URL:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/8/851bfe4755f70e1b3b2303933bd2d3e71de2d262.png)

My apologies if I missed this across any of the discourse categories. Any help on this is really appreciated. Thanks in advance.

Regards,  
Sridhar

---

<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:** [August 26, 2022, 6:46pm UTC](https://discourse.openondemand.org/t/on-demand-home-page-is-not-coming-up-shows-403-forbidden-error/2246/2 "2022-08-26T18:46:56Z")

</div>

Hi, no issues in opening a new ticket, it’s all good.

You linked docs for installing from source code - I hope you actaully installed the RPM as installing from source can be flakey, and besides we distribute RPMs and have a lot of support for RHEL type systems.

That said - I’m guessing it’s an `selinux` issue. Do you have selinux enabled and if so you’ll need the `ondemand-selinux` package.

---

<div class="post-metadata">

**Author:** ![sridharrbd](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/sridharrbd/32/1242_2.png) [@sridharrbd](https://discourse.openondemand.org/u/sridharrbd)\
**Post date:** [August 29, 2022, 9:01am UTC](https://discourse.openondemand.org/t/on-demand-home-page-is-not-coming-up-shows-403-forbidden-error/2246/3 "2022-08-29T09:01:39Z")

</div>

Thank you for the response, Jeff. We followed the steps mentioned in the install from Source URL ([Install System Dependencies — Open OnDemand 2.0.20 documentation](https://osc.github.io/ood-documentation/latest/installation/from-source/system-dependencies.html)) & installed all the rpm packages. In fact, we installed a few more (like sqlite) from the “[Index of /ondemand/2.0/web/el7/x86\_64](https://yum.osc.edu/ondemand/2.0/web/el7/x86_64/)” URL where there were missing dependencies.

The SELinux is disabled.

Could there be something else that is causing this issue?

---

<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:** [August 29, 2022, 12:18pm UTC](https://discourse.openondemand.org/t/on-demand-home-page-is-not-coming-up-shows-403-forbidden-error/2246/4 "2022-08-29T12:18:07Z")

</div>

Is there anything in the logs that would indicate what’s failing? I feel like it could be file permissions on `/var/www/ood` but if you’ve installed from the RPM - and didn’t modify it afterwards - the RPM should have installed everything correctly.

Is there anything in `/var/log/httpd24-httpd` that would help us?

---

<div class="post-metadata">

**Author:** ![sridharrbd](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/sridharrbd/32/1242_2.png) [@sridharrbd](https://discourse.openondemand.org/u/sridharrbd)\
**Post date:** [August 29, 2022, 3:29pm UTC](https://discourse.openondemand.org/t/on-demand-home-page-is-not-coming-up-shows-403-forbidden-error/2246/5 "2022-08-29T15:29:14Z")

</div>

Below are the content from /var/log/httpd24 folder:

Content from one of the “hostname.log” files:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/a/ab5cfbee5803f3e25f2c0aee1e8202e8fe5060fa.png)

Content from the error\_log file:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/5/5700680a6a19140933d1cd499a91894cba47abdf.png)

---

<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:** [August 29, 2022, 3:35pm UTC](https://discourse.openondemand.org/t/on-demand-home-page-is-not-coming-up-shows-403-forbidden-error/2246/6 "2022-08-29T15:35:51Z")

</div>

OK - looks like you can’t read `/var/www/ood/public` for whatever reason. What are the permissions on that folder? Seems like they should be 755.

Again - **completely disregard** all the install from source documentation. That is not for you. If you’ve installed from an RPM all that (and dependencies) should be taken care of.

Also - you seem to be installing a nightly RPM and not the official `2.0.28`. And/or you _did_ build from source code. Nightly RPMs are a little unstable.

---

<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:** [February 25, 2023, 3:36pm UTC](https://discourse.openondemand.org/t/on-demand-home-page-is-not-coming-up-shows-403-forbidden-error/2246/7 "2023-02-25T15:36:04Z")

</div>

Closed on February 25, 2023, 3:36pm UTC

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