You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Aaron Mulder <am...@alumni.princeton.edu> on 2004/09/15 15:53:00 UTC

Fatal error, run database backup

	I just set up Subversion, imported a source tree (to foo/trunk),
committed a couple trivial changes, and then imported another source tree
(to bar/trunk).  Now I get:

svn: Berkeley DB error while opening environment for filesystem ...:
DB_RUNRECOVERY: Fatal error, run database recovery

	I earlier got a spurious error when I tried to commit revision 3
-- it denied the commit and said transaction 4 was out of date or
something.  I did an update which said I was up to date with revision 2, 
and then I tried the commit again and it worked and created revision 3.  
No one else was using svn, so I don't know where it got the 4 from.

	My server is a SuSE 9.0 RPM (1.0.6-2), which reports:

svn, version 1.0.7 (dev build)
   compiled Jul 29 2004, 13:10:55

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet 
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' schema
  - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network 
protocol.
  - handles 'svn' schema

	My client is a SuSE 9.1 RPM (1.0.6-1.1), which reports:

svn, version 1.0.7 (dev build)
   compiled Jul 29 2004, 13:12:42

Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet 
(http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' schema
  - handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network 
protocol.
  - handles 'svn' schema

	I'm using svn+ssh.  Any suggestions would be appreciated.

Thanks,
	Aaron

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

Re: Fatal error, run database backup

Posted by Jacob Atzen <ja...@aub.dk>.
On Wed, Sep 15, 2004 at 11:53:00AM -0400, Aaron Mulder wrote:
> 	I just set up Subversion, imported a source tree (to foo/trunk),
> committed a couple trivial changes, and then imported another source tree
> (to bar/trunk).  Now I get:
> 
> svn: Berkeley DB error while opening environment for filesystem ...:
> DB_RUNRECOVERY: Fatal error, run database recovery

This is often a permissions problem. Check the book:

<http://svnbook.red-bean.com/svnbook-1.0/ch06s05.html>

And make damn sure that every unix user that accesses the repository has
the correct permissions and also sets the correct permissions.

-- 
Cheers,
- Jacob Atzen

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