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

RE: make test problems



Since your problem is with the BDB library, I suggest you ask for more help
from Sleepycat. You can try posting your question on the
comp.databases.berkeley-db newsgroup, you're likely to get a response from a
Sleepycat developer there.

One other possibility that comes to mind is that your filesystem doesn't
support mmap(). This problem typically comes up when you try to use a NFS (or
other non-local) filesystem for the database. The BDB docs state that remote
filesystems are not supported.

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

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

> mm......well..i just ran the test.tcl package in dbd and it
> didnt complain about errrors...so unless i'm missing
> something here..i'd say my bdb is ok....
>
> as for the memory thing, the  box has plenty of memory, and
> vmstat shows plenty left, so i would think thats the problem.
>
> anything else that might be causing this?
>
>
> > -----Original Message-----
> > From: owner-openldap-software@OpenLDAP.org
> > [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Mark
>
>
> > 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
>
>
>