How to resolve the error Red-Hat open L-D-A-P

Hi ,

wana to configure open - L-D-A-P over Redhat 6.3 .

getting below error :-

hostname
mydomain.com
[root@mydomain ldap]# slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d
bdb_db_open: database “dc=mydomain,dc=com”: db_open(/var/lib/ldap/id2entry.bdb) failed: No such file or directory (2).
backend_startup_one (type=bdb, suffix=“dc=mydomain,dc=com”): bi_db_open failed! (2)
slap_startup failed (test would succeed using the -u switch)