Tags: anti-virus, bdb_dn2id, browser, cause, db_notfound, den, failed, figure, iam, key, matching, network, networking, pair, permission, running, security, slapd, theproblem

bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found

On Networking » Networking

2,509 words with 0 Comments; publish: Sun, 04 May 2008 00:36:00 GMT; (450373.05, « »)

Hi Den,

I still can't figure out what's the cause of the

problem. I don't think it's a permission issue since I

am running slapd under the root account, as well as

ldapadd. Anymore idea?

dennis (AT) utiba (DOT) com wrote:

Hi,

every time this method screwed up for me it was

permissions on the

directory. You might like to check them.

dennis

Hi,

I was playing with ldapadd and ldapadelete to

add

and remove entries in my directory, but as soon as

my

test entries began to grow, I decided to just "rm

-rf"

the whole /

Next,

I will kill the slapd process, then create another

openldap-data directory again and then rerun the

slapd. For quite some time, this technique worked

for

me. After launching the slapd, it begins creating

db

files in openldap-data directory. Then I could

just do

the ldapadd -f my.ldif again and all entries will

be

added to the database. But then one time I did

this

technique again, I was surprise to findout that

ldapadd failed giving this error message:

gaheris# ldapadd -f camlann.ldif

SASL/GSSAPI authentication started

SASL username: matato (AT) CAMLANN (DOT) PREGI.NET

SASL SSF: 56

SASL installing layers

adding new entry "dc=camlann,dc=pregi,dc=net"

ldap_add: No such object (32)

Looking at my /var/log/debug, I can see some error

messages like these:

SASL [conn=2] Failure: Could not open db

--

ber_get_next on fd 12 failed errno=35 (Resource

temporarily unavailable)

bdb_dn2id: get failed: DB_NTFUND: No matching

key/data pair found (-30989)

--

I tried fsck'ing the partition as I suspect it to

have

a corrupted filesystem but it didn't do anything.

I have attached here my debug.log. I hope it can

help

you troubleshoot my problem.

Thanks!

>

>

>

>

>

>

>

>

>

Do you Yahoo!?

Make Yahoo! your home page

http://www.yahoo.com/r/hs

Utiba Pty Ltd

This message has been scanned for viruses and

dangerous content by Utiba mail server and is

believed to be clean.

--

Utiba Pty Ltd

This message has been scanned for viruses and

dangerous content by Utiba mail server and is

believed to be clean.

Do You Yahoo!?

Tired of spam? Yahoo! Mail has the best spam protection around

http://mail.yahoo.com

All Comments

Leave a comment...

  • 0 Comments