Community Forum

Resolved
0 votes
I've looked at a number of forum posts related to this, but I haven't found a solution for ClearOS 7.2.0 Home Edition that I'm able to follow or understand.
It stared today when I noticed ownCloud wasn't working.
I then notice under Users, the Account System Offline message.
I've rebooted and tried restarting LDAP and webconfig with no luck.

Before I start breaking it more, any suggestions?

[root@gateway ~]# systemctl status  slapd.service
● slapd.service - OpenLDAP Server Daemon
Loaded: loaded (/usr/lib/systemd/system/slapd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2017-02-04 07:15:04 CST; 11s ago
Docs: man:slapd
man:slapd-config
man:slapd-hdb
man:slapd-mdb
file:///usr/share/doc/openldap-servers/guide.html
Process: 14530 ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS (code=exited, status=1/FAILURE)
Process: 14492 ExecStartPre=/usr/libexec/openldap/prestart.sh (code=exited, status=0/SUCCESS)

Feb 04 07:15:04 gateway.xxxxx.net systemd[1]: Starting OpenLDAP Server Daemon...
Feb 04 07:15:04 gateway.xxxxx.net prestart.sh[14492]: Configuration directory '/etc/openldap/slapd.d' does not exist.
Feb 04 07:15:04 gateway.xxxxx.net prestart.sh[14492]: Warning: Usage of a configuration file is obsolete!
Feb 04 07:15:04 gateway.xxxxx.net runuser[14496]: pam_unix(runuser:session): session opened for user ldap by (uid=0)
Feb 04 07:15:04 gateway.xxxxx.net runuser[14496]: pam_unix(runuser:session): session closed for user ldap
Feb 04 07:15:04 gateway.xxxxx.net slapd[14530]: @(#) $OpenLDAP: slapd 2.4.40 (Jun 20 2016 14:09:48) $
mockbuild@build64-1.clearsdn.local:/builddir/build/BUILD/openldap-2.4.40/openldap-2.4.40/servers/slapd
Feb 04 07:15:04 gateway.xxxxx.net systemd[1]: slapd.service: control process exited, code=exited status=1
Feb 04 07:15:04 gateway.xxxxx.net systemd[1]: Failed to start OpenLDAP Server Daemon.
Feb 04 07:15:04 gateway.xxxxx.net systemd[1]: Unit slapd.service entered failed state.
Feb 04 07:15:04 gateway.xxxxx.net systemd[1]: slapd.service failed.
[root@gateway ~]#
Saturday, February 04 2017, 01:29 PM
Share this post:
Responses (4)
  • Accepted Answer

    Saturday, February 04 2017, 03:58 PM - #Permalink
    Resolved
    0 votes
    Thanks. That seems to have fixed the problem.
    Any guess as to the cause?
    Should I worry about this happening again?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, February 04 2017, 02:26 PM - #Permalink
    Resolved
    0 votes
    Yup
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, February 04 2017, 01:58 PM - #Permalink
    Resolved
    0 votes
    Just to confirm, you mean navigate to System --> Backup --> Configuration Backup and Restore and choose Restore from a backup a few days ago?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, February 04 2017, 01:42 PM - #Permalink
    Resolved
    0 votes
    Can you do a configuration restore from a backup of a few days ago?

    B
    The reply is currently minimized Show
Your Reply