Hii List,

I have changed the value of " directory" directive under database section of my slapd.conf file of openldap-2.2.13 (/var/lib/ldap) to the one previously used by our openldap-2.4.7(/usr/local/var/openldap-data).
My berkeley db version is 4.6.21...
I am not sure if the machine has some other versions of berkeley db already installed.(rpm -qa|grep berkeleydb*    has not returned any value)
The error when i start slapd is:( A part)
/usr/sbin/slapd -d127 -h "ldap:///"

slapd startup: initiated.
bdb_db_open: dc=bsnl,dc=com
bdb_db_open: dbenv_open(/usr/local/var/openldap-data)
bdb(dc=bsnl,dc=com): Program version 4.2 doesn't match environment version
bdb_db_open: dbenv_open failed: Invalid argument (22)
backend_startup: bi_db_open(0) failed! (22)
slapd shutdown: initiated
====> bdb_cache_release_all
bdb(dc=bsnl,dc=com): DB_ENV->lock_id_free interface requires an environment conf
igured for the locking subsystem
slapd shutdown: freeing system resources.
bdb(dc=bsnl,dc=com): txn_checkpoint interface requires an environment configured
 for the transaction subsystem
bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
slapd stopped.
connections_destroy: nothing to destroy.

 Anyone please help me as soon as possible.....
Thanx in advance

Padmavathi Devi T
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you