[CentOS] openldap 2.4.11 ......unable to start on reboot

Tue Mar 3 09:55:24 UTC 2009
Agnello George <agnello.dsouza at gmail.com>

Hi

I had upgraed my opneldap rpm frm 2.3.27 to 2.4.11 with ehelp of the
followng link http://staff.osuosl.org/~jeff/openldap/

I had then rebooted my machine and now whne i am starting ldap

[root at system-test40 ldap]# /etc/init.d/ldap start
Checking configuration files for slapd:  bdb_db_open: database
"o=netserv_ldap": unclean shutdown detected; attempting recovery.
bdb_db_open: database "o=netserv_ldap": recovery skipped in read-only
mode. Run manual recovery if errors are encountered.
ch_calloc of 1 elems of 480000004 bytes failed
slaptest: ../../../servers/slapd/ch_malloc.c:107: ch_calloc: Assertion
`0' failed.

i tried to do some recovery as mentioned in vairous archives :

cd /var/lib/ldap
slapd_db_recover -v

but it still not able to restart
it give me the same error


[root at system-test40 ldap]# /etc/init.d/ldap restart
Stopping slapd:                                            [FAILED]
Checking configuration files for slapd:  bdb_db_open: database
"o=netserv_ldap": unclean shutdown detected; attempting recovery.
bdb_db_open: database "o=netserv_ldap": recovery skipped in read-only
mode. Run manual recovery if errors are encountered.
ch_calloc of 1 elems of 480000004 bytes failed
slaptest: ../../../servers/slapd/ch_malloc.c:107: ch_calloc: Assertion
`0' failed.
                                                           [  OK  ]
Starting slapd:                                            [  OK  ]


[root at system-test40 ldap]# /etc/init.d/ldap status
slapd is stopped


has any one encounterd the same issue .........

thanks for all the help !!


-- 
Regards
Agnello D'souza