By: G. Z. user 25 Dec 2020 at 3:22 a.m. CST

2 Responses
G. Z. gravatar
Good Morning everyone, I have a Gluu server on premise running since June 2019. No outages or problems so far. I wanted to check the LDAP indexes: These are the commands that I've run: ` $ service opendj stop ` ` $ /opt/opendj/bin/backendstat show-index-status --backendID userRoot --baseDN o=gluu ` After that I restarted everything with: ` $ service opendj start ` both Identity and OxAuth services are down, now. I tried to restart manually the ldap service with several procedures that I've found on various support tickets . I tried to wait untill the service was running, and then restart oxauth and identity. Rebooted several times, restarted the gluu-serverd service, etc... The error from the logs of identity and oxauth are pretty the same: ``` Unable to find configuration in LDAP, try to load configuration from file system... 2020-12-25 09:55:59,441 WARN [main] [org.xdi.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:516) - /etc/gluu/conf/oxauth-config.json (No such file or directory) 2020-12-25 09:55:59,455 ERROR [main] [org.xdi.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:330) - Failed to load configuration from file: /etc/gluu/conf/oxauth-config.json 2020-12-25 09:55:59,455 ERROR [main] [org.xdi.oxauth.model.config.ConfigurationFactory] (ConfigurationFactory.java:167) - Failed to load configuration from LDAP. Please fix it!!!. ``` And, in the end, by running: ` /opt/opendj/bin/ldapsearch -h localhost -p 1636 -Z -X -D "cn=directory manager" -w xxxxx -b 'o=gluu' -T 'oxAuthGrantId=*' dn` The output scared me a lot: ``` SEARCH operation failed Result Code: 32 (No Such Entry) Additional Information: The entry o=gluu specified as the search base does not exist in the Directory Server ``` There is a way to restart the service again?

By Michael Schwartz Account Admin 29 Dec 2020 at 8:59 p.m. CST

Michael Schwartz gravatar
Do you have an ldif backup or binary backup of your Ldap server? Or even a tar-gzip of the /opt/gluu-server folder?

By Mohib Zico Account Admin 29 Dec 2020 at 9:21 p.m. CST

Mohib Zico gravatar
Problem is bad ldap server. Check ldap logs to find out what's wrong there. As LDAP is down / messed up, oxAuth / identity services can't read data from there.