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

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) have been performed, but accessing the “ood” HTTP Portal gives 403 - Forbidden error. Netstat command output:
image

Error while accessing the ood URL:
image

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

Regards,
Sridhar

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.

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) & 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” URL where there were missing dependencies.

The SELinux is disabled.

Could there be something else that is causing this issue?

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?

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

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

Content from the error_log file:

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.

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