When I run :
#slaptest
it says "config file testing succeeded"
If I run
#slapd -f slapd.conf -d 256
I got:
buildd@lamiak:/build/buildd/openldap-2.4.31/debian/build/servers/slapd
53d0762e bdb(dc=mydomain,dc=com): Program version 5.1 doesn't match environment version 6.1
53d0762e bdb_db_open: database "dc=mydomain,dc=com" cannot be opened, err -30969. Restore from backup!
53d0762e bdb(dc=mydomain,dc=com): txn_checkpoint interface requires an environment configured for the transaction subsystem
53d0762e bdb_db_close: database "dc=mydomain,dc=com": txn_checkpoint failed: Invalid argument (22).
53d0762e backend_startup_one (type=bdb, suffix="dc=mydomain,dc=com"): bi_db_open failed! (-30969)
53d0762e bdb_db_close: database "dc=mydomain,dc=com": alock_close failed
53d0762e slapd stopped.
Does anyone know what may cause the problem?