You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Aikins, Ronald (Ron) (CIV)" <rg...@nps.edu> on 2009/08/19 17:57:29 UTC

Broken BDB Repository

Help! I have "recovered" our repository on more than one occasion with
the "recover" subcommand. However, there seems to be more profound
problems here:

________________________________

cftp_admin@cftp:~$ svnadmin recover /svnroot

Repository lock acquired.

Please wait; recovering the repository may take some time...

 

Recovery completed.

svnadmin: Berkeley DB error for filesystem '/svnroot/db' while opening
'nodes' table:

Invalid argument

svnadmin: bdb: file nodes (meta pgno = 0) has LSN [234][67178].

svnadmin: bdb: end of log is [1][28]

svnadmin: bdb: /svnroot/db/nodes: unexpected file type or format

 

Is this repos recoverable? If so, how do I go about it?

 

Thanks,

Ron Aikins

Cell: 831-521-3828

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385327

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Broken BDB Repository

Posted by Florian Weimer <fw...@bfk.de>.
* Ronald Aikins:

> svnadmin: bdb: file nodes (meta pgno = 0) has LSN [234][67178].
> svnadmin: bdb: end of log is [1][28]

Someone or something seems to have deleted log files (or perhaps only
moved them).  It can be impossible to recover from such corruption.

-- 
Florian Weimer                <fw...@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385534

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Broken BDB Repository

Posted by Jan Hendrik <li...@gmail.com>.
Concerning Broken BDB Repository
Aikins, Ronald (Ron) (CIV) wrote on 19 Aug 2009, 10:57, at least in part:

> Help! I have "recovered" our repository on more than one occasion with
> the "recover" subcommand. However, there seems to be more profound
> problems here:

[text is snipped]

> svnadmin: Berkeley DB error for filesystem '/svnroot/db' while opening
> 'nodes' table:
> 
> Invalid argument
> 
> svnadmin: bdb: file nodes (meta pgno = 0) has LSN [234][67178].
> 
> svnadmin: bdb: end of log is [1][28]
> 
> svnadmin: bdb: /svnroot/db/nodes: unexpected file type or format

I can't tell for the other error messages, but could it be the repos 
was used with a newer/older version of subversion than the 
svnadmin is you are using (maybe an older version still in your 
path)?


JH
---------------------------------------
Freedom quote:

     Liberty consists in wholesome restraint.
               -- Daniel Webster

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385346

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].