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

RE: More questions on db-4.1

OK. I'll go down that path if I have to.  But I subsequently noticed
that running ldd on the 2.1.12 version of slapd shows that it requires
libdb-4.0.so.  But running the slapd built from 2.1.14 shows all the
other libraries present in 2.1.12 but no libdb library at all.  Not 4.0,
not 4.1 not libdb - period.  Is this the expected output from ldd when
running against the 2.1.14 slapd executable image?  I'm wondering how it
passed all the 'make test' runs without a libdb?


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Tony Earnshaw
Sent: Wednesday, March 05, 2003 11:38 PM
To: Mike Denka
Cc: OpenLDAP-software@OpenLDAP.org
Subject: Re: More questions on db-4.1

tor, 2003-03-06 kl. 00:43 skrev Mike Denka:

> Upgrading to 2.1.14 and db 4.1.25.  Previous posts to the list have
> resolved the issue of getting the configure script to find the new db
> libraries and includes.  After making the new slapd, 'make test'
> completed without significant errors.  But now, after installing, I'm
> getting the following run-time errors when I attempt to start the new
> slapd:

> Anyone know how to leap this hurdle?  Do I need to slapcat my database
> from the old version of slapd and slapadd it back into my new version?
> Do I need to add any previously unnecessary options in the backend
> section in my slapd.conf file?

I had exactly the same. Because the list has not received a spate of
similar experiences, I assume it's OS or library specific.

I'd suggest as steps:

1: run 'db_recover -c' on the database w/o slapd running ;) (didn't work
for me, does normally);

If that doesn't work,

2: Make a backup of the db directory, make a new db directory with
correct permissions, copy any active log files from the old directory to
the new one and run 'db_recover -c' on them (didn't work for me, does

If that doesn't work,

3: What you yourself suggest: create a new db with an ldif file. You
might have to use the old slapcat/slapadd utilities, hope you've hung on
to the 4.0 libraries - I removed the 4.0 directory about a fortnight
after checking that 4.1 worked with everything I had that used BDB
libraries (Exim MTA, etc etc.) - worked for me.

Change all db permissions to agree with the slapd user!




Tony Earnshaw

All the world is mad, exceptin thee and me
and even thee's a little queer

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl