We have tried removing /var/run/ondemand-nginx/laud/passenger.sock file, but the nginx error from above still occurs. Are there nginx processes we need to stop/restart after removing the passenger.sock file? Please advise how we can resolve the errors above.
Have you tried OnDemand 1.8 with Dex and LDAP? That might yield better results. As for why you see that in the first place, it’s hard to say. I found a few older threads with similar errors maybe useful. It looks like could be issue with LDAP configuration or user not mapping correctly to local OOD system. Does the user laud exist when you do getent passwd laud from the OnDemand host?
We have only tested Dex with OnDemand 1.8. In theory you could download the ondemand-dex RPM from OnDemand 1.8 repos and install with 1.7 if you had appropriate ood_portal.yml and setup mod_auth_openidc outside OnDemand, but honestly it would be easier to just upgrade to OnDemand 1.8.
Have you tried something like lsof /var/run/ondemand-nginx/laud/passenger.sock when you get those errors to see if anything registers as using that socket?