[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
nextid.gdbm failures
I am experiencing an issue with the nextid database when creating root
entries. Essentially, I have 4 entries in my ldif, and when running the
LDIF to create the root entries, every _other_ entry fails due to
unavailability of the nextid database. So, item 1 in the ldif adds
fine, item 2 fails for the error below, item 3 adds fine, and item 4
fails for the same error (though it is a different object). Running the
file again with the -c option adds them just fine.
This happens every time I bootstrap. This does not happen when adding
entries beneath a root entry. Any ideas why it would do this?
Thanks!
-lon
Debug output:
conn=0 op=2 ADD dn="cn=Directory Manager"
dn2entry_r: dn: "cn=directory manager"
=> dn2id( "cn=directory manager" )
=> ldbm_cache_open( "/var/openldap-data/users/service/db/dn2id.gdbm",
2, 600
)
<= ldbm_cache_open NULL "/var/openldap-data/users/service/db/dn2id.gdbm"
errno=11 reason="Resource temporarily unavailable")
<= dn2id could not open dn2id.gdbm
is_object_subclass(2.5.6.6,2.5.6.7) 0
is_object_subclass(2.5.6.6,2.5.6.6) 1
is_object_subclass(2.5.6.7,2.16.840.1.113730.3.2.2) 0
is_object_subclass(2.5.6.7,2.5.6.7) 1
==> ldbm_back_add: cn=Directory Manager
is_object_subclass(2.5.6.6,2.5.6.7) 0
is_object_subclass(2.5.6.6,2.5.6.6) 1
is_object_subclass(2.5.6.7,2.16.840.1.113730.3.2.2) 0
ber_get_next
ldap_read: want=8 error=Resource temporarily unavailable
ber_get_next on fd 9 failed errno=11 (Resource temporarily unavailable)
daemon: select: listen=6 active_threads=2 tvp=NULL
is_object_subclass(2.5.6.7,2.5.6.7) 1
oc_check_required entry (cn=Directory Manager), objectClass
"inetOrgPerson"
oc_check_allowed type "objectClass"
oc_check_allowed type "sn"
oc_check_allowed type "cn"
oc_check_allowed type "uid"
oc_check_allowed type "userPassword"
oc_check_allowed type "structuralObjectClass"
oc_check_allowed type "entryUUID"
oc_check_allowed type "creatorsName"
oc_check_allowed type "createTimestamp"
oc_check_allowed type "entryCSN"
oc_check_allowed type "modifiersName"
oc_check_allowed type "modifyTimestamp"
=> access_allowed: write access to "cn=Directory Manager" "entry"
requested
<= root access granted
=> dn2id( "cn=directory manager" )
=> ldbm_cache_open( "/var/openldap-data/users/service/db/dn2id.gdbm",
2, 600
)
ldbm_cache_open (blksize 4096) (maxids 1022) (maxindirect 9)
<= ldbm_cache_open (opened 0)
<= dn2id NOID
=> ldbm_cache_open( "/var/openldap-data/users/service/db/nextid.gdbm",
2,
600 )
<= ldbm_cache_open NULL
"/var/openldap-data/users/service/db/nextid.gdbm"
errno=11 reason="Resource temporarily unavailable")
Could not open/create nextid.gdbm
ldbm_add: next_id failed
send_ldap_result: conn=0 op=2 p=3
send_ldap_result: err=80 matched="" text="next_id add failed"
send_ldap_response: msgid=3 tag=105 err=80
ber_flush: 32 bytes to sd 9
0000: 30 1e 02 01 03 69 19 0a 01 50 04 00 04 12 6e 65
0....i...P....ne
0010: 78 74 5f 69 64 20 61 64 64 20 66 61 69 6c 65 64 xt_id add
failed
daemon: activity on 1 descriptors
daemon: activity on: 9r
daemon: read activity on 9
connection_get(9)
ldap_write: want=32, written=32
0000: 30 1e 02 01 03 69 19 0a 01 50 04 00 04 12 6e 65
0....i...P....ne
0010: 78 74 5f 69 64 20 61 64 64 20 66 61 69 6c 65 64 xt_id add
failed