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

More questions on db-4.1

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

Mar  5 15:01:02 zentor slapd[16381]: bdb_db_init: Initializing BDB
Mar  5 15:01:20 zentor slapd[16384]: bdb(dc=whidbey,dc=net): unable to
join the environment 
Mar  5 15:01:20 zentor slapd[16384]: bdb_db_open: dbenv_open failed:
Resource temporarily unavailable (11) 
Mar  5 15:01:20 zentor slapd[16384]: backend_startup: bi_db_open(0)
failed! (11) 
Mar  5 15:01:20 zentor slapd[16384]: bdb(dc=whidbey,dc=net):
txn_checkpoint interface requires an environment configured for the
transaction subsystem 
Mar  5 15:01:20 zentor slapd[16384]: bdb_db_destroy: txn_checkpoint
failed: Invalid argument (22) 
Mar  5 15:01:20 zentor slapd[16384]: slapd stopped

I've searched the list and google for the "unable to join the
environment" error and found one previous response suggesting that their
might be permission problems between the new slapd and the database
files, but slapd runs as root and the database files are read/write by
owner (root).  I've scoured the documentation on the new release and
haven't found anything useful.

I tried setting the LD_LIBRARY_PATH environment variable to point to the
Berkeley.4.1/lib directory to no avail.  Seems like it's looking for
transaction subsystem and can't find it which would imply that it's
still using the old db4.0 libraries, but I would have expected the
LD_LIBRARY_PATH to have solved that issue.

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?