You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ken Perl <ke...@gmail.com> on 2007/03/04 11:33:57 UTC

Fatal error, run database recovery

we  meet the error like these,

[Sun Mar 04 19:00:50 2007] [error] [client 192.168.1.30] (20014)Error
string not specified yet: Berkeley DB error for filesystem
'/var/repos/cook/db' while opening 'nodes' table:\nDB_RUNRECOVERY:
Fatal error, run database recovery
[Sun Mar 04 19:00:50 2007] [error] [client 192.168.1.30] Could not
fetch resource information.  [500, #0]
[Sun Mar 04 19:00:50 2007] [error] [client 192.168.1.30] Could not
open the requested SVN filesystem  [500, #160029]
[Sun Mar 04 19:00:50 2007] [error] [client 192.168.1.30] Could not
open the requested SVN filesystem  [500, #160029]

any idea what's wrong? I can not check out now.

-- 
perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@``
")'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Fatal error, run database recovery

Posted by Lars Tiefland <lt...@gmail.com>.
Hi,

this is a problem with the BDB Repository backend. Simply run
"svnadmin recover /var/repos/cook/". After that everything should be
fine again.

If I were you, I would switch to FSFS Repositories afterwards. For
that to work you need at least SVN 1.1 or greater. I recommend using
the latest version of SVN, if possible.

With SVN 1.2.0 or greater simply do:

svnadmin dump /var/repos/cook/ > cook.txt
svnadmin create /var/repos/cook2/
svnadmin load /var/repos/cook2/ < cook.txt
cp /var/repos/cook/config/* /var/repos/cook2/config
cp /var/repos/cook/hooks/* /var/repos/cook2/hooks
rm /var/repos/cook/ -rf
rm cook.txt
mv /var/repos/cook2/ /var/repos/cook/

After this switch, you can forget about these errors. They will no
longer bother you!

2007/3/4, Ken Perl <ke...@gmail.com>:
> we  meet the error like these,
>
> [Sun Mar 04 19:00:50 2007] [error] [client 192.168.1.30] (20014)Error
> string not specified yet: Berkeley DB error for filesystem
> '/var/repos/cook/db' while opening 'nodes' table:\nDB_RUNRECOVERY:
> Fatal error, run database recovery
> [Sun Mar 04 19:00:50 2007] [error] [client 192.168.1.30] Could not
> fetch resource information.  [500, #0]
> [Sun Mar 04 19:00:50 2007] [error] [client 192.168.1.30] Could not
> open the requested SVN filesystem  [500, #160029]
> [Sun Mar 04 19:00:50 2007] [error] [client 192.168.1.30] Could not
> open the requested SVN filesystem  [500, #160029]
>
> any idea what's wrong? I can not check out now.
>
> --
> perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@``
> ")'
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


-- 
Live Long And Prosper,

Lars Tiefland

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org