[Nix-dev] Nix problem

Eelco Dolstra eelco at cs.uu.nl
Mon Apr 24 11:51:34 CEST 2006


Merijn de Jonge wrote:

> This is what I get with the most recent version of Nix.
> 
>  # nix-channel --update
> Berkeley DB error: unable to initialize mutex: Function not implemented
> Berkeley DB error: PANIC: Function not implemented
> Berkeley DB error: unable to join the environment
> environment open failed: DbEnv::open: DB_RUNRECOVERY: Fatal error, run 
> database recovery
> error: DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery
> cannot clear substitutes at /opt/bin/nix-channel line 71.
> 
> I'm affraid Armijn was right that it might be due to memory shortage. 

Hm, this doesn't sound like a memory problem.  The Berkeley DB FAQ has 
something about this:

   http://dev.sleepycat.com/resources/faq_show.html?id=96

Maybe --enable-posixmutexes or --disable-posixmutexes helps, or some 
variant of --with-mutex.

-- 
Eelco Dolstra | http://www.cs.uu.nl/~eelco



More information about the nix-dev mailing list