Salve a tutti, è da un po' che uso OpenLDAP ma oggi ho avuto un problema all'avvio; il messaggio che mi ha dato è:
Checking configuration files for slapd: bdb_db_open: unclean shutdown detected; attempting recovery. bdb_db_open: Recovery skipped in read-only mode. Run manual recovery if errors are encountered. config file testing succeeded [ OK ] Starting slapd: [ OK ] Quindi, dopo averlo stoppato con "ldap stop" ho provato ad lanciare slapdindex e nel log mi ha dato: bdb_db_open: unclean shutdown detected; attempting recovery. Infine ho provato a rilanciare lo start ma ora mi dà questi messaggi: /var/lib/ldap/__db.002 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.005 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.001 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.006 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.004 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.003 is not owned by "ldap" [WARNING] Checking configuration files for slapd: bdb_db_open: Database cannot be opened, err 13. Restore from backup! bdb(dc=mg,dc=com): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem backend_startup_one: bi_db_open failed! (13) slap_startup failed (test would succeed using the -u switch) [FAILED] stale lock files may be present in /var/lib/ldap [WARNING] Mi sapreste dire come devo fare per sistemarli? grazie ciao stefano quando lancio "ldap start" trovo questi errori: /var/lib/ldap/__db.002 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.005 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.001 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.006 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.004 is not owned by "ldap" [WARNING] /var/lib/ldap/__db.003 is not owned by "ldap" [WARNING] Checking configuration files for slapd: bdb_db_open: Database cannot be opened, err 13. Restore from backup! bdb(dc=mg,dc=com): DB_ENV->lock_id_free interface requires an environment configured for the locking subsystem backend_startup_one: bi_db_open failed! (13) slap_startup failed (test would succeed using the -u switch) [FAILED] stale lock files may be present in /var/lib/ldap [WARNING] _______________________________________________ OpenLDAP mailing list OpenLDAP@mail.sys-net.it https://www.sys-net.it/mailman/listinfo/openldap