Forums

Resolved
0 votes
Hi Guys,

I just have this problem today after the update.

I cant acess my file server anymore with my passwords. however passwords saved to the computer itself are still working and is able to access the server.

As I was troubleshooting, I went to the Users And Groups App in clearOS hoping to reset my password but it says "Ooops!, Invalid Credentials". I tried to look for a solution in the web and it points me to OpenLDAP. I am using ClearOS7 so I tried to issue the command service slapd status and greeted with an error.

[root@server log]# service slapd status -l
Redirecting to /bin/systemctl status -l slapd.service
slapd.service - OpenLDAP Server Daemon
Loaded: loaded (/usr/lib/systemd/system/slapd.service; disabled)
Active: failed (Result: exit-code) since Mon 2015-11-30 11:55:18 PHT; 13s ago
Docs: man:slapd
man:slapd-config
man:slapd-hdb
man:slapd-mdb
file:///usr/share/doc/openldap-servers/guide.html
Process: 27065 ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS (code=exited, status=1/FAILURE)
Process: 27047 ExecStartPre=/usr/libexec/openldap/prestart.sh (code=exited, status=0/SUCCESS)

Nov 30 11:55:18 server.panayhealthcare.com prestart.sh[27047]: Warning: Usage of a configuration file is obsolete!
Nov 30 11:55:18 server.panayhealthcare.com runuser[27051]: pam_unix(runuser:session): session opened for user ldap by (uid=0)
Nov 30 11:55:18 server.panayhealthcare.com runuser[27051]: pam_unix(runuser:session): session closed for user ldap
Nov 30 11:55:18 server.panayhealthcare.com prestart.sh[27047]: Checking configuration file failed:
Nov 30 11:55:18 server.panayhealthcare.com prestart.sh[27047]: 565bc8a6 /etc/openldap/slapd.conf: line 63: invalid path: No such file or directory
Nov 30 11:55:18 server.panayhealthcare.com prestart.sh[27047]: slaptest: bad configuration file!
Nov 30 11:55:18 server.panayhealthcare.com slapd[27065]: @(#) $OpenLDAP: slapd 2.4.39 (Jul 18 2015 17:16:20) $
mockbuild@build64-1.clearsdn.local:/builddir/build/BUILD/openldap-2.4.39/openldap-2.4.39/servers/slapd
Nov 30 11:55:18 server.panayhealthcare.com systemd[1]: slapd.service: control process exited, code=exited status=1
Nov 30 11:55:18 server.panayhealthcare.com systemd[1]: Failed to start OpenLDAP Server Daemon.
Nov 30 11:55:18 server.panayhealthcare.com systemd[1]: Unit slapd.service entered failed state.



Any ideas on how to fix this?
Monday, November 30 2015, 03:57 AM
Share this post:
Responses (2)
  • Accepted Answer

    Tuesday, December 01 2015, 06:34 AM - #Permalink
    Resolved
    0 votes
    Thanks for the idea Nick. Tried it earlier but still no luck. Hmmmm.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 30 2015, 09:54 PM - #Permalink
    Resolved
    0 votes
    I've no idea of the correct fix but you could try a configuration restore from before it went wrong.
    The reply is currently minimized Show
Your Reply