Compiling Berkeley DB on OS/2 -
01-04-2006
, 07:07 AM
Hi All,
I've recently built the latest Berkeley db on the OS/2 operating
system with GCC for use with OpenLDAP.
When starting OpenLDAP, it fails with:
bdb_db_open: dbenv_open(/openldap/var/openldap-data)
bdb(dc=smedley,dc=info): unable to join the environment
bdb(dc=smedley,dc=info): unable to join the environment
bdb_db_open: dbenv_open failed: Resource temporarily unavailable (35)
====> bdb_cache_release_all
bdb(dc=smedley,dc=info): DB_ENV->lock_id_free interface requires an
environment
configured for the locking subsystem
bdb(dc=smedley,dc=info): txn_checkpoint interface requires an
environment config
ured for the transaction subsystem
bdb_db_close: txn_checkpoint failed: Invalid argument (22)
backend_startup_one: bi_db_open failed! (35)
slapd shutdown: initiated
====> bdb_cache_release_all
bdb_db_close: alock_close failed
I end up with a 0byte __db.001 file in my openldap data directory.
It appears that there are issues with db creation under OS/2. Is
there any easy way to test this using the various executables built by
berkeley db? ie:
db_archive.exe
db_checkpoint.exe
db_deadlock.exe
db_dump.exe
db_load.exe
db_printlog.exe
db_recover.exe
db_stat.exe
db_upgrade.exe
db_verify.exe
Thanks in advance,
--
Cheers,
Paul. |