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

Re: Problems with corrupt repository?

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-04-24 12:21:20 CEST

On Apr 24, 2007, at 03:48, Rogers, Paul ((Bracknell IT)) wrote:

> I have recently had to reboot the server that holds my svn server,
> repositories and the exported directories (these are used to host a
> web site). On restarting the server svn no longer works. For
> example svn status -u gives:
>
> svn status -u
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///var/subversion/csdweb/htdocs'
> svn: Berkeley DB error for filesystem /var/subversion/csdweb/db
> while opening environment:
> DB_RUNRECOVERY: Fatal error, run database recovery
> svn: bdb: PANIC: fatal region error detected; run recovery
>
> If I then run svnadmin recover I get the following:
>
> svnadmin recover /var/subversion/csdweb/htdocs
> svnadmin: Can't open file '/var/subversion/csdweb/htdocs/format':
> No such file or directory
>
> I'm not sure what to do next. Am I pointing the svnadmin recover
> command at the right directory for the repository?
> What does this error message mean?
>
> How do I fix the problem?

It looks like you should use:

svnadmin recover /var/subversion/csdweb

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 24 12:22:17 2007

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