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

Make test "dbenv_open failed"



make test fails on RedHat 8.0 I went through archive
messages but couldn't fix it.

Installed BerkeleyDB.4.2.1 using ../distribute
--disable-largefile ; make ; make install

Before running ./configure env vars are set as
export CPPFLAGS=I/usr/local/BerkeleyDB.4.1.2/include
export LDFLAGS=L/usr/local/BerkeleyDB.4.1.2/lib
export LD_LIBRARY_PATH =
/usr/local/BerkeleyDB.4.1.2/lib

configure, make depend and make run without errors.
But make test fails. 
..............
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start..
............

Here is the relevant portion of master.log file
bdb_db_open: o=OpenLDAP Project,l=Internet
bdb_db_open: dbenv_open(./test-db)
bdb(o=OpenLDAP Project,l=Internet): write: 0xbfffd090,
8192: Invalid argument
bdb_db_open: dbenv_open failed: Invalid argument (22)
backend_startup: bi_db_open(0) failed! (22)
slapd shutdown: initiated
====> bdb_cache_release_all
slapd shutdown: freeing system resources.

rwx permissions are set for all files and subfolders
in "tests" folder, for everyone!!

Any help is greatly appreciated. Thanks


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com