[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldif2ldbm, id2entry: Bad file number (ITS#137)
Full_Name: Kilian Looser
Version: 1.2.1
OS: SunOS 5.6 / Solaris 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.24.72.65)
i'm using Berkley DB 2.7.4 and openldap-release.
i have installed all together without problem. ( or not ? )
now i'll start the ldif2ldbm prog as shown as follow:
ldif2ldbm -f /usr/local/etc/openldap/slapd.conf -i
=/opt/ldap/tests/data/firstdb.ldif
slapd.conf is shown as follow:
------ starts here -----------
include /usr/local/etc/openldap/slapd.at.conf
include /usr/local/etc/openldap/slapd.oc.conf
schemacheck off
referral ldap://ldap.itd.umich.edu
pidfile /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
database ldbm
suffix "dc=3Dheise dc=3Dde"
directory /usr/tmp
rootdn "cn=3Droot, dc=3Dheise, dc=3Dde"
rootpw secret
------ ends here -------------
firstdb.ldif is shown as follow:
---- beginn here -----
dn: dc=3Dheise, dc=3Dde
objectclass: organization
o: Heinz Heise Verlag
dn: ou=3Dct, dc=3Dheise, dc=3Dde
objectClass: organizationalUnit
ou: ct
dn: ou=3Dix, dc=3Dheise, dc=3Dde
objectclass: organizationalUnit
ou: ix
dn: uid=3Dck, ou=3Dix, dc=3Dheise, dc=3Dde
objectclass: person
ou: ix
cn: Christian Kirsch
uid: ck
dn: uid=3Dcp, ou=3Dct, dc=3Dheise, dc=3Dde
objectclass: person
ou: ct
cn: Christian Persson
uid: cp
dn: uid=3Dhb, ou=3Dix, dc=3Dheise, dc=3Dde
objectclass: person
ou: ix
cn: Henning Behme
uid: hb
---- end here -----
now, always the following error is produced:
id2entry file: Bad file number
stopping: child exited with status 1
i dont't have any more ideas at this time....
is this a problem while i'm using Berkley DB 2.7.4??
greeting Kilian Looser