Press enter to see results or esc to cancel.

[Ldap]slapd: bdb_db_open: unclean shutdown detected; attempting recovery.

Asagidaki hatayi almanizin nedeni, ldap ‘in duzgun olarak kapatilmamasindandir.

[root@test test]# /etc/init.d/ldap restart
Stopping slapd:                                            [  OK  ]
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

Recovery etmek icin;

[root@test test]# /usr/sbin/slapd_db_recover -v -h /var/lib/ldap/murat.ws/
Finding last valid log LSN: file: 415 offset 2431351
Recovery starting from [415][2431223]
Recovery complete at Wed Mar 16 11:27:38 2011
Maximum transaction ID 8002afe9 Recovery checkpoint [415][2431351]

Cozum icinse; db ‘yi durdurma suresini uzatmayi deneyebiliriz.

vim /etc/sysconfig/ldap

STOP_DELAY=60s