nix-super/doc/manual/troubleshooting.xml

32 lines
722 B
XML
Raw Normal View History

<appendix>
<title>Troubleshooting</title>
2005-04-05 18:28:30 +03:00
<para>This section provides solutions for some common problems.</para>
<sect1><title>Berkeley DB: <quote>Cannot allocate memory</quote></title>
<para>Symptom: Nix operations (in particular the
<command>nix-store</command> operations <option>--gc</option>,
<option>--verify</option>, and <option>--clear-substitutes</option>
— the latter being called by <command>nix-channel
--update</command>) failing:
<screen>
$ nix-store --verify
error: Db::del: Cannot allocate memory</screen>
Possible solution: make sure that no Nix processes are running,
then do:
<screen>
$ cd /nix/var/nix/db
$ rm __db.00*</screen>
2004-01-08 17:01:37 +02:00
</para>
2005-04-05 18:28:30 +03:00
</sect1>
</appendix>