[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Fatal error, run database recovery

From: Lars Tiefland <ltiefland_at_gmail.com>
Date: 2007-03-04 12:41:31 CET

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 <kenperl@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
Received on Sun Mar 4 12:42:09 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.