I am in a situation that the Nethserver I use for email had lost power due to someones carelessness this am unplugging the server from the battery. The server came up but is running slow. No users can log in including the admin on all services (Webmail, SOGo and owncloud) as well as user admin cannot log into the admin console. I can however log in as root.
The services list shows
-slapd (openldap) enabled but stopped,
-nslcd (Local LDAP name service) enabled but stopped
-lsm (Link Status Monitor) enabled but stopped (normal operation showed this anyhow)
-fetchmail enables but stopped
I would assume most the problem lays with openldap as when I click on mail quota it says empty table. I have checked all the directories that mail is in and I see the mail there.
The system log for /var/log/slapd show this:
Feb 1 16:31:50 mail slapd: auxpropfunc error invalid parameter supplied
Feb 1 16:31:50 mail slapd: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb
Upon trying to restart slapd from command line it immediately fails. I can view users but cannot edit or change.
I have already tried rebooting as well as restore from the config backup from 2 days ago (when the full backup took place)