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

Corrupt svn database on MacOSX

From: D'Arcy Norman <dlnorman_at_ucalgary.ca>
Date: 2004-08-25 23:21:37 CEST

I've installed Subversion on my server, and have been using it quit a
bit for the last couple of weeks. I was really loving it (and the
websvn front end).

However, just now the database completely borked. I've tried svnadmin
recover, but this is what I get:

$ sudo /usr/local/subversion/bin/svnadmin recover /Library/Subversion
Please wait; recovering the repository may take some time...
subversion/libsvn_fs/bdb/bdb-err.c:51: (apr_err=160029)
svn: DB_RUNRECOVERY: Fatal error, run database recovery

As an interesting added wrinkle, the websvn interface sometimes works,
sometimes shows an error, and sometimes shows an older snapshot of the
repository (missing the last 3 revisions).

I've tried the suggestions from the Official SVN Book on red-bean.com,
but no joy. I had to run svnadmin as root, because the files are owned
by the "www" user, which is a non-human user on MacOSX Server, so I
don't have its password...

Calling:
$ svnadmin verify /Library/Subversion

works, and seems to verify all 39 revisions.

but $ sudo svnadmin recover /Library/Subversion

barfs quite violently.

Any ideas?

- D'Arcy Norman
        Software Developer
        Learning Commons, The University of Calgary
        dlnorman@ucalgary.ca
        http://careo.ucalgary.ca
        http://commons.ucalgary.ca/weblogs/dnorman
        (403) 220-2504
        AIM/iChatAV: dnorman@mac.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 25 23:22:27 2004

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.