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

gdbm fatal:write error ( resource temp unavaiable )



Dear All,

	I have installed and configured my server ( openldap-2.0.23 ) in Solaris-2.7. When adding entries, slapd gets killed. But the pid in slapd.pid remains.

The debug version geives the following message:
	.......
	.......
	slapd starting
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 33 contents:
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({iat) ber:
ber_scanf fmt (o}) ber:
do_bind: version=3 dn="cn=manager,c=in" method=128
dn2entry_r: dn: "CN=MANAGER,C=IN"
=> dn2id( "CN=MANAGER,C=IN" )
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (opened 0)
<= dn2id NOID
dn2entry_r: dn: "C=IN"
=> dn2id( "C=IN" )
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id 1
=> id2entry_r( 1 )
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/id2entry.gdbm", 34, 600 )
<= ldbm_cache_open (opened 1)
=> str2entry
<= str2entry(c=in) -> -1 (0xb06d0)
<= id2entry_r( 1 ) 0xb06d0 (disk)
====> cache_return_entry_r( 1 ): created (0)
do_bind: v3 bind: "cn=manager,c=in" to "cn=manager,c=in"
send_ldap_result: conn=0 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 7                  
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 64 contents:
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_add
ber_scanf fmt ({a) ber:
ber_scanf fmt ({a{V}}) ber:
ber_scanf fmt ({a{V}}) ber:
ber_scanf fmt (}) ber:
dn2entry_r: dn: "O=OTOL,C=IN"
=> dn2id( "O=OTOL,C=IN" )
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
dn2entry_r: dn: "C=IN"
=> dn2id( "C=IN" )
====> cache_find_entry_dn2id("C=IN"): 1 (1 tries)
<= dn2id 1 (in cache)
=> id2entry_r( 1 )
====> cache_find_entry_id( 1 ) "c=in" (found) (1 tries)
<= id2entry_r( 1 ) 0xb06d0 (cache)
ldbm_referrals: op=104 target="o=otol,c=in" matched="c=in"
====> cache_return_entry_r( 1 ): returned (0)
=> dn2id( "O=OTOL,C=IN" )
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
oc_check_required entry (o=otol,c=in), objectClass "organization"
oc_check_allowed type "o"
oc_check_allowed type "objectClass"
oc_check_allowed type "creatorsName"
oc_check_allowed type "createTimestamp"
oc_check_allowed type "modifiersName"
oc_check_allowed type "modifyTimestamp"
dn2entry_w: dn: "C=IN"
=> dn2id( "C=IN" )
====> cache_find_entry_dn2id("C=IN"): 1 (1 tries)
<= dn2id 1 (in cache)
=> id2entry_w( 1 )        
====> cache_find_entry_id( 1 ) "c=in" (found) (1 tries)
<= id2entry_w( 1 ) 0xb06d0 (cache)
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/nextid.gdbm", 34, 600 )
<= ldbm_cache_open (opened 2)
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/nextid.gdbm", 34, 600 )
<= ldbm_cache_open (cache 2)
=> index_entry_add( 9, "o=otol,c=in" )
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/objectClass.gdbm", 34, 600 )
<= ldbm_cache_open (opened 3)
=> key_change(ADD,9)
<= key_change 0
<= index_entry_add( 9, "o=otol,c=in" ) success
=> dn2id_add( "O=OTOL,C=IN", 9 )
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/dn2id.gdbm", 34, 600 )
<= ldbm_cache_open (cache 0)
gdbm fatal: write error

Please kindly extend your advices.............

Thanks in advance

A. Gayathri