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

ldif2ldbm doesn't make db files



Good day

I earlier complained I couldn't get the test to work in the build
process. Jochen Wiedmann kindly provided me with an SRPM file which I've
installed. Still no success. Only one file, NEXTID, gets created in
/var/tmp when I run ldif2ldbm. The debug output of ldif2ldbm doesn't
make much sense to me, I hope it will to one of you. Thanks.

.david.
David Mitchell

example.ldif looks like this:

dn: o=Coop CDC,c=NI
o: Coop CDC
objectClass: organization

dn: ou=Group1,o=Coop CDC,c=NI
ou: Group1
objectClass: organization

dn: cn=John Doe,ou=Group1,o=Coop CDC,c=NI
cn: John Doe
objectClass: inetOrgPerson
objectClass: organization
mail: johndoe@here.com

[root@magdalena /root]# /usr/local/sbin/ldif2ldbm -d 3 -i example.ldif
=> ldbm_cache_open( "/var/tmp/id2entry.dbb", 524293, 600 )
<= ldbm_cache_open NULL "/var/tmp/id2entry.dbb" errno 0 reason
"Success")
id2entry file: Success
=> ldbm_cache_open( "/var/tmp/dn2id.dbb", 524293, 600 )
<= ldbm_cache_open NULL "/var/tmp/dn2id.dbb" errno 0 reason "Success")
dn2id file: Success
=> index_add_values( "dn", 1 )
=> ldbm_cache_open( "/var/tmp/dn.dbb", 7, 600 )
<= ldbm_cache_open NULL "/var/tmp/dn.dbb" errno 0 reason "Success")
<= index_add_values -1 (could not open/create dn.dbb)
=> index_add_values( "dn", 2 )
=> ldbm_cache_open( "/var/tmp/dn.dbb", 7, 600 )
<= ldbm_cache_open NULL "/var/tmp/dn.dbb" errno 0 reason "Success")
<= index_add_values -1 (could not open/create dn.dbb)
=> index_add_values( "dn", 3 )
=> ldbm_cache_open( "/var/tmp/dn.dbb", 7, 600 )
<= ldbm_cache_open NULL "/var/tmp/dn.dbb" errno 0 reason "Success")
<= index_add_values -1 (could not open/create dn.dbb)
ldbm backend saving nextid
ldbm backend syncing
ldbm backend done syncing
ldbm backend saving nextid
ldbm backend syncing
ldbm backend done syncing
=> index_add_values( "objectclass", 1 )
=> ldbm_cache_open( "/var/tmp/objectclass.dbb", 7, 600 )
<= ldbm_cache_open NULL "/var/tmp/objectclass.dbb" errno 0 reason
"Success")
<= index_add_values -1 (could not open/create objectclass.dbb)
=> index_add_values( "objectclass", 2 )
=> ldbm_cache_open( "/var/tmp/objectclass.dbb", 7, 600 )
<= ldbm_cache_open NULL "/var/tmp/objectclass.dbb" errno 0 reason
"Success")
<= index_add_values -1 (could not open/create objectclass.dbb)
=> index_add_values( "objectclass", 3 )
=> ldbm_cache_open( "/var/tmp/objectclass.dbb", 7, 600 )
<= ldbm_cache_open NULL "/var/tmp/objectclass.dbb" errno 0 reason
"Success")
<= index_add_values -1 (could not open/create objectclass.dbb)
=> index_add_values( "objectclass", 3 )
=> ldbm_cache_open( "/var/tmp/objectclass.dbb", 7, 600 )
<= ldbm_cache_open NULL "/var/tmp/objectclass.dbb" errno 0 reason
"Success")
<= index_add_values -1 (could not open/create objectclass.dbb)
ldbm backend saving nextid
ldbm backend syncing
ldbm backend done syncing
[root@magdalena /root]#