[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
unable to open Berkeley db /etc/sasldb: No such file or directory
- To: openldap-bugs@OpenLDAP.org
- Subject: unable to open Berkeley db /etc/sasldb: No such file or directory
- From: "Nilesh Patil" <patil.nilesh@gmail.com>
- Date: Tue, 28 Mar 2006 13:00:48 +0530
- Content-disposition: inline
- 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:content-transfer-encoding:content-disposition; b=C2YRS1sK3rBsmF0es+Z3U8YDyg9B2AJWooivvifPKwOPeHeciLKTfo6pFAKKn5ZcFNb6WHB+m8bBY6GPVevrWro/2fHUgTVICCXRzBBGKr9YkuzeElz9G1gmWhnX5a6a/8jy+liogj21ZPWikdq5x4V1K90eU8WKCAgYBx8Yg/Y=
Hi friends,
I am using openldap v 1.8.8.6 on Suse 7.2. The ldap was configured to
use ldbm as backend. But when i start ldap, it starts but with the
following message in /var/log/messages:
unable to open Berkeley db /etc/sasldb: No such file or directory
This is my slapd.conf :
# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.6 2001/04/20
23:32:43 kurt Exp $
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/misc.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/apilperson.schema
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "dc=something,dc=com"
rootdn "cn=Manager,dc=something,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw something
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd/tools. Mode 700 recommended.
directory /var/lib/ldap
# Indices to maintain
index objectClass eq
index cn pres,eq,subany,subfinal,subinitial
index mail pres,eq,subany,subfinal,subinitial
sizelimit 2000
#########################################################################
nowhere in the ablve file i mentioned to use berkley DB as backend.
If i fire ldapsearch on mail filter, /var/log/messages shows the
following error:
ldbm: ==> /var/lib/ldap/mail.dbb: page 3621676541 doesn't exist
conn=21 op=1 SEARCH RESULT tag=101 err=0 text=
conn=21 op=2 SRCH base="dc=something,dc=com" scope=2 filter="(mail=@some.com)"
Help needed.
--
Ranger