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:
Error while accessing the ood URL:
My apologies if I missed this across any of the discourse categories. Any help on this is really appreciated. Thanks in advance.
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.
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?
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.