[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Openldap version 2.2.13 with db_recover
- To: openldap-software@OpenLDAP.org
- Subject: Openldap version 2.2.13 with db_recover
- From: "mallapadi niranjan" <niranjan.ashok@gmail.com>
- Date: Tue, 21 Feb 2006 10:07:39 +0530
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=aeVc6FRs9v94ppFjvjuADD2s5lZ/le+IE1mha3Gu+YA1zZ5BnGh8ufks8KBcH5WjwmVWqHdJyEpn8bPFb4FHcWbDz2xrhL35S5uGi6Dzc8OWNPYdphNaVtlFk346f2RbRNitZqczJjgt0NQhLJ/o5QkGBiST7mveTsI6EAI0XUg=
Hi list
I have a system with Red Hat Enterprise Linux ES release 4 with kernel
version 2.6.9-5.ELsmp. I have an openldap which is shipped with the Redhat
hat linux
RPM. the version of slapd is
@(#) $OpenLDAP: slapd 2.2.13 (Aug 19 2004 21:22:15) $
root@porky.build.redhat.com:/usr/src/build/440386-i386/BUILD/openldap-2.2.13
/openldap-2.2.13/build-servers/servers/slapd\
The rpm that are installed are
mod_authz_ldap-0.26-2
compat-openldap-2.1.30-2
openldap-2.2.13-2
php-ldap-4.3.9-3.1
openldap-clients-2.2.13-2
openldap-devel-2.2.13-2
openldap-servers-2.2.13-2
python-ldap-2.0.1-2
openldap-servers-sql-2.2.13-2
nss_ldap-226-1
i use ldap to store computer and user accounts (samba schema).
Redhat provides startup script for starting , stopping , and restarting of
LDAP,
but if the system reboots due to power failure, the ldap database goes to
inconsistent
state. i have db_config file in /var/lib/ldap , by which i run db_recover
manually and recover it.
but can there be made any changes in startup script so that if the databse
is in incosistent state ,
the db_recove is run at system startup i mean when system starts the ldap
service
specifically does openldap have a script that automatically runs
db_recover.
Regards
Niranjan