Issue 137 - ldif2ldbm, id2entry: Bad file number
Summary: ldif2ldbm, id2entry: Bad file number
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-04-22 06:14 UTC by klooser@swissonline.ch
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description klooser@swissonline.ch 1999-04-22 06:14:51 UTC
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

Comment 1 Kurt Zeilenga 1999-05-24 17:29:30 UTC
I've applied a fix to ldbm.c which might have a impact on this
issue.  You are encourged to test OPENLDAP_REL_ENG_1_2.
Comment 2 Kurt Zeilenga 1999-05-24 17:29:41 UTC
changed state Open to Feedback
moved from Incoming to Software Bugs
Comment 3 Kurt Zeilenga 1999-06-03 23:24:00 UTC
changed notes
changed state Feedback to Closed
Comment 4 OpenLDAP project 2014-08-01 21:06:52 UTC
Assumed fixed.