Hi. On Wed, Apr 05, 2017 at 03:24:56PM +0200, Reinard Reichert wrote: > root@tjener:~# sudo slaptest Why using sudo if you are root? > sudo: ldap_sasl_bind_s(): Can't contact LDAP server > 58e4e0fa bdb_db_open: database "dc=skole,dc=skolelinux,dc=no": unclean > shutdown detected; attempting recovery. > 58e4e0fa bdb_db_open: database "dc=skole,dc=skolelinux,dc=no": recovery > skipped in read-only mode. Run manual recovery if errors are encountered. > config file testing succeeded > I did not find the file slapd_db_recover to recover. (I don't have a wheezy installation, so it might be different.) The recover tool should be /usr/bin/db_recover. If you don't find it, install the package db-util. Before doing anything: backup the files in /var/lib/ldap, read man pages. Wolfgang
Attachment:
signature.asc
Description: PGP signature