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

"Not enough space" with slapadd (was: Re: my searchs doesn't use indexes)



Hello,

I finally decided to migrate to Berkeley DB, so I made a backup with slapcat and
compiled openldap 2.1.3 with DB 4.0.11.
Now, I try a "ldapadd <entries.ldif", and after 30 mins, it exits with the error:
slapadd: could not add entry
dn="vfsid=34627927198,ou=vfsubscriber,ou=vodafone,c=es,o=vodafone" (line=397746):
txn_aborted! Not enough space (12)

.... but there is enough space:

[root@tec40 Shajna]# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s0     478799  344160   86760    80%    /
/dev/dsk/c0t0d0s1    2052750 1552339  438829    78%    /usr
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
/dev/dsk/c0t0d0s4    1015542  283950  670660    30%    /var
/dev/dsk/c0t0d0s7    2052750  948619 1042549    48%    /database
/dev/dsk/c0t0d0s5    1015542  410190  544420    43%    /export/home
/dev/dsk/c0t0d0s3    1015542  390797  563813    41%    /opt
/dev/dsk/c0t0d0s6    1015542  660735  293875    70%    /tmp

Here are some additional logs using -d 1:

=> bdb_tool_entry_put( -1,
"vfsid=34627927198,ou=vfsubscriber,ou=vodafone,c=es,o=vodafone" )
=> bdb_dn2id_add( "vfsid=34627927198,ou=vfsubscriber,ou=vodafone,c=es,o=vodafone",
0x000100cf )
=> bdb_idl_insert_key: c_get last failed: Not enough space (12)
=> bdb_dn2id_add: parent (ou=vfsubscriber,ou=vodafone,c=es,o=vodafone) insert
failed: 12
<= bdb_dn2id_add: 12
=> bdb_tool_entry_put: dn2id_add failed: Not enough space (12)
=> bdb_tool_entry_put: txn_aborted! Not enough space (12)

Any hints?