[Date Prev][Date Next] [Chronological] [Thread] [Top]

unable to open Berkeley db /etc/sasldb: No such file or directory



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