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

RE: make test problems

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Mark

> i can't quite figure out this thing, so bdb compiled fine,
> and openldap make had no error, but the make test keep failing.
> i see couples of instances of this particular issue on
> google, yet i cant see a good answer to fix this problem

> so relevant parts of the master.log says..

> @(#) $OpenLDAP: slapd 2.1.25 (Feb  5 2004 18:00:52) $

> root@needlefish:/home/source-code/build/openldap-2.1.25/servers/slapd

> slapd startup: initiated.
> bdb_db_open: o=OpenLDAP Project,l=Internet
> bdb_db_open: dbenv_open(./test-db)
> bdb(o=OpenLDAP Project,l=Internet): mmap: Resource
> temporarily unavailable
> bdb_db_open: dbenv_open failed: Resource temporarily unavailable (11)
> backend_startup: bi_db_open(0) failed! (11)
> slapd shutdown: initiated
> ====> bdb_cache_release_all
> slapd shutdown: freeing system resources.
> bdb(o=OpenLDAP Project,l=Internet): txn_checkpoint interface
> requires an environment configured for the transaction subsystem
> bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)

> now i thought it was tcp wrapper  not letting me start the
> bdb so i disabled that tag, still no go..

> any insights would be appreciated

The log shows pretty clearly that the BDB library got an error (Resource
temporarily unavailable) from the mmap() system call. Read your operating
system man pages on mmap for more information, you most likely don't have
enough system memory; it may also mean your BDB library was built
incorrectly. Either way this has nothing to do with OpenLDAP itself.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support