[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Starting openldap 2.2.24 with empty bdb database and incomplete slaptest man page
- To: openldap-bugs@OpenLDAP.org
- Subject: Starting openldap 2.2.24 with empty bdb database and incomplete slaptest man page
- From: Jaime Tomé Gomes Ventura <jaimeventura@ipp.pt>
- Date: Thu, 31 Mar 2005 12:40:37 +0100
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050328 Fedora/1.7.6-1.2.5
Hi,
I'm having the following problems.
When i try to start a new bdb database in my ldap server I get the
following:
[root@ventura2 root]# /etc/init.d/ldap start
Checking configuration files for : slap_startup failed (test would
succeed using the -u switch)
[root@ventura2 root]# [FAILED]
When I try to run slaptest, this is what i get:
[root@ventura2 root]# slaptest -d-256
bdb_db_init: Initializing BDB database
bdb_db_open: db_open(/var/lib/ldap) failed: No such file or directory (2)
backend_startup: bi_db_open failed! (2)
slap_startup failed (test would succeed using the -u switch)
[root@ventura2 root]#
[root@ventura2 root]# ls -la /var/lib/ldap
total 392
drwx------ 2 ldap ldap 4096 Mar 31 12:21 .
drwxr-xr-x 23 root root 4096 Mar 31 12:15 ..
-rw------- 1 root root 16384 Mar 31 12:21 __db.001
-rw------- 1 root root 278528 Mar 31 12:21 __db.002
-rw------- 1 root root 98304 Mar 31 12:21 __db.003
-rw------- 1 root root 450560 Mar 31 12:21 __db.004
-rw------- 1 root root 24576 Mar 31 12:21 __db.005
[root@ventura2 root]#
As you can see, the directory does existe and write permissions are
given to ldap user
By the way, what means then "-u" switch? In the man page of slaptest
that options does appeas.
Can someone help me please.
Is this a bug?
Thanks in advance.
Jaime Ventura