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

Re: ADD from MIIS causes slapd crashes



Oliver Kuka wrote:
> (Ah, I'm approved  :)  .)

Still you didn't answer which version of OpenLDAP you're using...

> Any chance the problem might be a bug in the database? Using ldbm, yet
> at every startup the slapd logs:
> <snip file=messages>
> Nov 10 14:59:40 oldapsrv1 slapd[30456]: unable to open Berkeley db
> /etc/sasldb: No such file or directory
> Nov 10 14:59:40 oldapsrv1 slapd[30456]: unable to open Berkeley db
> /etc/sasldb: No such file or directory
> Nov 10 14:59:40 oldapsrv1 slapd[30456]: bdb_open: Sleepycat Software:
> Berkeley DB 4.0.14: (October 16, 2002)
> Nov 10 14:59:40 oldapsrv1 slapd[30456]: /etc/openldap/slapd.conf: line
> 16: schema checking disabled! your mileage may vary!
> Nov 10 14:59:40 oldapsrv1 slapd[30457]: slapd starting
> </snip>

1. I'd strongly recommend to enable schema checking! Running without
schema checking is asking for trouble! No joke! I guess you have invalid
entries in your database.

2. Judging from the words 'ldbm' and 'Berkeley DB 4.0.14' you're running
really ancient and buggy releases of OpenLDAP and Berkeley DB. Upgrade
both to current stable releases. Otherwise you can't expect any help I
guess.

> But it's been always like this and it worked so far.

Which does not mean anything. Probably someone recently added an entry
which screwed up the DIT in your database.

Ciao, Michael.

-- 
Michael Ströder
E-Mail: michael@stroeder.com
http://www.stroeder.com