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

Re: Broken SVN

From: Gary Thomas <gary_at_mlbassoc.com>
Date: 2004-11-25 23:25:16 CET

On Thu, 2004-11-25 at 12:09, Ben Collins-Sussman wrote:
> On Nov 25, 2004, at 12:13 PM, Gary Thomas wrote:
> >
> > Note: I get the same error when I run "/usr/bin/svnadmin-1.0.9-1" which
> > was statically linked against the correct Berkeley DB libraries, so
> > there is no real question about dynamic library incompatabilites, etc.
> >
>
> Go back to 1.1.1, and try running 'svnadmin recover'. The 'invalid
> argument' message is really generic.

I tried this. Initially, I got this error:
[root@hermes SPECS]# svnadmin recover /tmp/c4
Repository lock acquired.
Please wait; recovering the repository may take some time...
svn: Invalid argument
svn: bdb: incorrect arguments for name-value pair: set_flags

So, I edited the DB_CONFIG file
[gthomas@hermes SVN]$ diff -u /tmp/c4/db/DB_CONFIG{~,}
--- /tmp/c4/db/DB_CONFIG~ 2004-11-20 05:18:56.000000000 -0700
+++ /tmp/c4/db/DB_CONFIG 2004-11-25 14:59:12.000000000 -0700
@@ -50,4 +50,4 @@
 # http://www.sleepycat.com/docs/api_c/env_set_flags.html
 #
 # [requires Berkeley DB 4.2]
-set_flags DB_LOG_AUTOREMOVE
+#set_flags DB_LOG_AUTOREMOVE

Now, I reran the "recover" step:
[root@hermes SPECS]# svnadmin recover /tmp/c4
Repository lock acquired.
Please wait; recovering the repository may take some time...

... it's been 30 minutes at 100% CPU. How long should this take?

I'm really confused about all of this :-( Note: the main reason I
wanted to upgrade in the first place was to migrate to FSFS instead
of BDB.

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates

/tmp/c4:
total 28
drwxrwxrwx 2 root wheel 4096 Nov 20 05:18 conf
drwxrwxrwx 2 root wheel 4096 Nov 20 05:18 dav
drwxrwxrwx 2 root wheel 4096 Nov 25 14:59 db
-rw-rw-rw- 1 root wheel 2 Nov 20 05:18 format
drwxrwxrwx 2 root wheel 4096 Nov 20 05:18 hooks
drwxrwxrwx 2 root wheel 4096 Nov 20 05:18 locks
-rw-rw-rw- 1 root wheel 376 Nov 20 05:18 README.txt

/tmp/c4/conf:
total 4
-rw-rw-rw- 1 root wheel 1101 Nov 20 05:18 svnserve.conf

/tmp/c4/dav:
total 0

/tmp/c4/db:
total 131544
-rw-rw-rw- 1 root wheel 1753088 Nov 25 06:23 changes
-rw-rw-rw- 1 root wheel 8192 Nov 25 06:23 copies
-rw-rw-rw- 1 root wheel 1739 Nov 25 14:59 DB_CONFIG
-rw-rw-rw- 1 root root 1738 Nov 20 05:18 DB_CONFIG~
-rw-rw-rw- 1 root wheel 1048023 Nov 23 03:53 log.0000000152
-rw-rw-rw- 1 root wheel 556884 Nov 25 06:23 log.0000000153
-rw-rw-rw- 1 root wheel 1871872 Nov 25 06:23 nodes
-rw-rw-rw- 1 root wheel 1159168 Nov 25 06:23 representations
-rw-rw-rw- 1 root wheel 8192 Nov 25 06:23 revisions
-rw-rw-rw- 1 root wheel 128118784 Nov 25 06:23 strings
-rw-rw-rw- 1 root wheel 8192 Nov 25 06:23 transactions
-rw-rw-rw- 1 root wheel 8192 Nov 25 06:23 uuids

/tmp/c4/hooks:
total 20
-rw-rw-rw- 1 root wheel 1411 Nov 20 05:18 post-commit.tmpl
-rw-rw-rw- 1 root wheel 1475 Nov 20 05:18 post-revprop-change.tmpl
-rw-rw-rw- 1 root wheel 2203 Nov 20 05:18 pre-commit.tmpl
-rw-rw-rw- 1 root wheel 1952 Nov 20 05:18 pre-revprop-change.tmpl
-rw-rw-rw- 1 root wheel 1500 Nov 20 05:18 start-commit.tmpl

/tmp/c4/locks:
total 8
-rw-rw-rw- 1 root wheel 460 Nov 20 05:18 db.lock
-rw-rw-rw- 1 root wheel 295 Nov 20 05:18 db-logs.lock

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 25 23:27:48 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.