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

Re: big problem with slapd



Hi Matthew,

Many thanks for your answer, but what if slapd runs as root ?

root      1525     1  0 19:34 ?        00:00:00 /usr/sbin/slapd
root      1526  1525  0 19:35 ?        00:00:00 /usr/sbin/slapd
root      1527  1526  0 19:35 ?        00:00:00 /usr/sbin/slapd

This shouldn't be a problem for root to create a new file ??? The problem began after I had a large amount of data on my ldap Server (i think)... about 2.2 Gigs:

med2:/var/lib/ldap# ls -ln
total 2302656
-rw-r--r--  1 0 0       3080 2005-06-27 17:36 DB_CONFIG
-rw-------  1 0 0 1090416640 2005-06-27 19:36 dn2id.dbb
-rw-------  1 0 0 1265115136 2005-06-27 19:36 id2entry.dbb
-rw-------  1 0 0       8192 2005-06-27 17:40 nextid.dbb
-rw-------  1 0 0     188416 2005-06-27 19:24 objectClass.dbb
med2:/var/lib/ldap# du -sh
2.2G    .
med2:/var/lib/ldap#

Is that a problem ??? I really should get help! Many thanks in advance...

Robin




matthew sporleder wrote:
My very uninformed guess:

The entry you're trying to add would cause the creation of a new index
file (whatever.dbb).  The UID slapd is running as is not allowed to
make this file because of directory permissions on your database's
location.