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 (6)
  • Accepted Answer

    JD
    JD
    Offline
    Friday, November 03 2017, 04:11 PM - #Permalink
    Resolved
    0 votes
    Hey guys the techs are working the issue. I had the same problem this AM... running Business Silver edition of ClearOS7. I've been on the telephone with the techs all morning and through a Putty ssh "conference call" with the teams in both Utah and Toronto, they were able to identify the issue, and resolve. Had to log in as ROOT, as the account manager was offline due to the LDAP issue. Basically an update for CentOS was pushed last night which contained updates for OpenLDAP which affected ClearOS7. As Ben and Bryan clarified, the quickest fix to correct it by yourself is to login as root into webconfig and choose System --> Backup --> Configuration Backup and Restore and choose Restore from a backup (pick one from a few days ago at least). They said there is no need to stop automatic updates. I do not know when they will push a correction patch.

    JD
    The reply is currently minimized Show
  • Accepted Answer

    Friday, November 03 2017, 03:11 PM - #Permalink
    Resolved
    0 votes
    Same problem here this morning with Business Edition. Cannot restore from backup. There were numerous updates loaded this morning, is anyone else having this problem today and is there a fix other than a re-install? SLAPD, SMB will not start, account manager not running.
    The reply is currently minimized Show
  • 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