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

Re: Failed to revover

From: Marijn Verkerk <marijn_at_scotty.dsv.nl>
Date: 2004-08-06 17:53:56 CEST

Ben Collins-Sussman wrote:

>Huh? There's no such thing as svn 1.0.7.
>
>
>
//I've installed the newest suse 9.0 packages from:

ftp://ftp.suse.com/pub/people/poeml/

You're right, they are version 1.0.6-2 , but I remembered the footer in
the browser view.
/
"Powered by Subversion <http://subversion.tigris.org/> version 1.0.7
(dev build)."/

>>$: svnadmin recover REPOS
>>Please wait; recovering the repository may take some time...
>>
>>Recovery completed.
>>svn: Berkeley DB error while opening 'changes' table for filesystem
>>REPOS/db:
>>Invalid argument
>>
>>
>
>Looks like another case of issue 1968. Can you post a tarball of your
>repository for us to look at?
>
>
>
It's rather big (22 mb tar.gz ) and I have to ask permission.

>Did you upgrade BDB at some point?
>
>
>
No, not that I know of and besides other repositories on that machine
are still in tact. I've updated SVN after the repository became invalid!
I haven't updated BDB.

>Make a copy of the repository, and try 'db_recover -vech repos/db/'.
>
>Also, show us an ls -l of the repository.
>
>
I've tried db_recover and put the output of these commands in a text
file, which is attached (output.txt) and I have add the output of a
'ls -Rl ' command in (repository-dir.txt).

.:
total 16
drwxrwxr-x 7 svn svn 90 2004-07-09 10:15 .
drwxr-xr-x 9 svn svn 4096 2004-08-06 17:44 ..
drwxrwxr-x 2 svn svn 26 2004-07-09 10:15 conf
drwxrwxr-x 2 svn svn 48 2004-07-24 23:10 dav
drwxrwsr-x 2 svn svn 4096 2004-08-06 17:43 db
-rw-rw-r-- 1 svn svn 2 2004-07-09 10:15 format
drwxrwxr-x 2 svn svn 136 2004-07-09 10:15 hooks
drwxrwxr-x 2 svn svn 39 2004-07-09 10:15 locks
-rw-rw-r-- 1 svn svn 376 2004-07-09 10:15 README.txt

./conf:
total 4
drwxrwxr-x 2 svn svn 26 2004-07-09 10:15 .
drwxrwxr-x 7 svn svn 90 2004-07-09 10:15 ..
-rw-rw-r-- 1 svn svn 1101 2004-07-09 10:15 svnserve.conf

./dav:
total 4
drwxrwxr-x 2 svn svn 48 2004-07-24 23:10 .
drwxrwxr-x 7 svn svn 90 2004-07-09 10:15 ..
-rw-rw-r-- 1 wwwrun www 0 2004-07-24 23:10 activities.dir
-rw-rw-r-- 1 wwwrun www 1024 2004-07-24 23:10 activities.pag

./db:
total 100180
drwxrwsr-x 2 svn svn 4096 2004-08-06 17:43 .
drwxrwxr-x 7 svn svn 90 2004-07-09 10:15 ..
-rw-rw-r-- 1 svn svn 1617920 2004-08-06 17:43 changes
-rw-rw-r-- 1 svn svn 163840 2004-08-06 17:43 copies
-rw-r----- 1 root svn 8192 2004-08-06 17:43 __db.001
-rw-r----- 1 root svn 270336 2004-08-06 17:43 __db.002
-rw-r----- 1 root svn 327680 2004-08-06 17:43 __db.003
-rw-r----- 1 root svn 737280 2004-08-06 17:43 __db.004
-rw-r----- 1 root svn 16384 2004-08-06 17:43 __db.005
-rw-rw-r-- 1 svn svn 1740 2004-07-09 10:15 DB_CONFIG
-rw-rw-r-- 1 svn svn 1048532 2004-07-09 10:17 log.0000000001
-rw-rw-r-- 1 svn svn 1048152 2004-07-09 10:17 log.0000000002
-rw-rw-r-- 1 svn svn 1047823 2004-07-09 10:17 log.0000000003
-rw-rw-r-- 1 svn svn 1048564 2004-07-09 10:17 log.0000000004
-rw-rw-r-- 1 svn svn 1046117 2004-07-09 10:17 log.0000000005
-rw-rw-r-- 1 svn svn 1044998 2004-07-09 10:18 log.0000000006
-rw-rw-r-- 1 svn svn 1048086 2004-07-09 10:18 log.0000000007
-rw-rw-r-- 1 svn svn 1047808 2004-07-09 10:18 log.0000000008
-rw-rw-r-- 1 svn svn 1044717 2004-07-09 10:18 log.0000000009
-rw-rw-r-- 1 svn svn 1047154 2004-07-09 10:18 log.0000000010
-rw-rw-r-- 1 svn svn 1045957 2004-07-09 10:18 log.0000000011
-rw-rw-r-- 1 svn svn 1046390 2004-07-09 10:18 log.0000000012
-rw-rw-r-- 1 svn svn 1047432 2004-07-09 10:18 log.0000000013
-rw-rw-r-- 1 svn svn 1048556 2004-07-09 10:18 log.0000000014
-rw-rw-r-- 1 svn svn 1048505 2004-07-09 10:18 log.0000000015
-rw-rw-r-- 1 svn svn 1047103 2004-07-09 10:18 log.0000000016
-rw-rw-r-- 1 svn svn 1048549 2004-07-09 10:18 log.0000000017
-rw-rw-r-- 1 svn svn 1046922 2004-07-09 10:18 log.0000000018
-rw-rw-r-- 1 svn svn 1048401 2004-07-09 10:18 log.0000000019
-rw-rw-r-- 1 svn svn 1046146 2004-07-09 10:18 log.0000000020
-rw-rw-r-- 1 svn svn 1048515 2004-07-09 10:18 log.0000000021
-rw-rw-r-- 1 svn svn 1048537 2004-07-09 10:18 log.0000000022
-rw-rw-r-- 1 svn svn 1048498 2004-07-09 10:18 log.0000000023
-rw-rw-r-- 1 svn svn 1046049 2004-07-09 10:19 log.0000000024
-rw-rw-r-- 1 svn svn 1048427 2004-07-09 10:19 log.0000000025
-rw-rw-r-- 1 svn svn 1048458 2004-07-09 10:19 log.0000000026
-rw-rw-r-- 1 svn svn 1046487 2004-07-09 10:19 log.0000000027
-rw-rw-r-- 1 svn svn 1047568 2004-07-09 10:19 log.0000000028
-rw-rw-r-- 1 svn svn 1045526 2004-07-09 10:19 log.0000000029
-rw-rw-r-- 1 svn svn 1047862 2004-07-09 10:19 log.0000000030
-rw-rw-r-- 1 svn svn 1046312 2004-07-09 10:19 log.0000000031
-rw-rw-r-- 1 svn svn 1048482 2004-07-09 10:19 log.0000000032
-rw-rw-r-- 1 svn svn 1048315 2004-07-09 10:19 log.0000000033
-rw-rw-r-- 1 svn svn 1045947 2004-07-09 10:19 log.0000000034
-rw-rw-r-- 1 svn svn 1048066 2004-07-09 10:19 log.0000000035
-rw-rw-r-- 1 svn svn 1048562 2004-07-09 10:19 log.0000000036
-rw-rw-r-- 1 svn svn 1047406 2004-07-09 10:19 log.0000000037
-rw-rw-r-- 1 svn svn 1048233 2004-07-09 10:19 log.0000000038
-rw-rw-r-- 1 svn svn 1046134 2004-07-09 10:19 log.0000000039
-rw-rw-r-- 1 svn svn 1048567 2004-07-09 10:19 log.0000000040
-rw-rw-r-- 1 svn svn 1048461 2004-07-09 10:20 log.0000000041
-rw-rw-r-- 1 svn svn 1048556 2004-07-09 10:20 log.0000000042
-rw-rw-r-- 1 svn svn 1045646 2004-07-09 10:20 log.0000000043
-rw-rw-r-- 1 svn svn 1048518 2004-07-09 10:20 log.0000000044
-rw-rw-r-- 1 svn svn 1048352 2004-07-09 10:20 log.0000000045
-rw-rw-r-- 1 svn svn 1048481 2004-07-09 10:20 log.0000000046
-rw-rw-r-- 1 svn svn 1045035 2004-07-09 10:20 log.0000000047
-rw-rw-r-- 1 svn svn 1046934 2004-07-09 10:20 log.0000000048
-rw-rw-r-- 1 svn svn 1048515 2004-07-09 10:20 log.0000000049
-rw-rw-r-- 1 svn svn 1045373 2004-07-09 10:20 log.0000000050
-rw-rw-r-- 1 svn svn 1046072 2004-07-09 10:20 log.0000000051
-rw-rw-r-- 1 svn svn 1046788 2004-07-09 10:20 log.0000000052
-rw-rw-r-- 1 svn svn 1047164 2004-07-09 10:20 log.0000000053
-rw-rw-r-- 1 svn svn 1048491 2004-07-09 10:20 log.0000000054
-rw-rw-r-- 1 svn svn 1048540 2004-07-09 10:20 log.0000000055
-rw-rw-r-- 1 svn svn 1048513 2004-07-09 10:20 log.0000000056
-rw-rw-r-- 1 svn svn 1045680 2004-07-09 10:20 log.0000000057
-rw-rw-r-- 1 svn svn 1046869 2004-07-09 10:20 log.0000000058
-rw-rw-r-- 1 svn svn 1048575 2004-07-09 10:20 log.0000000059
-rw-rw-r-- 1 svn svn 1048530 2004-07-09 10:20 log.0000000060
-rw-rw-r-- 1 svn svn 1048473 2004-07-09 10:20 log.0000000061
-rw-rw-r-- 1 svn svn 1046612 2004-07-09 10:20 log.0000000062
-rw-rw-r-- 1 svn svn 1046548 2004-07-09 10:20 log.0000000063
-rw-rw-r-- 1 svn svn 1048547 2004-07-09 10:21 log.0000000064
-rw-rw-r-- 1 svn svn 1047187 2004-07-09 10:21 log.0000000065
-rw-rw-r-- 1 svn svn 1047234 2004-07-09 10:21 log.0000000066
-rw-rw-r-- 1 svn svn 1047770 2004-07-09 10:21 log.0000000067
-rw-rw-r-- 1 svn svn 1046428 2004-07-09 10:21 log.0000000068
-rw-rw-r-- 1 svn svn 1048517 2004-07-09 10:21 log.0000000069
-rw-rw-r-- 1 svn svn 1044498 2004-07-09 10:21 log.0000000070
-rw-rw-r-- 1 svn svn 1048475 2004-07-09 10:21 log.0000000071
-rw-rw-r-- 1 svn svn 1045190 2004-07-09 10:21 log.0000000072
-rw-rw-r-- 1 svn svn 1044884 2004-07-09 10:21 log.0000000073
-rw-rw-r-- 1 svn svn 1047505 2004-07-09 10:21 log.0000000074
-rw-rw-r-- 1 svn svn 1045785 2004-07-09 10:21 log.0000000075
-rw-rw-r-- 1 svn svn 1047954 2004-07-09 10:21 log.0000000076
-rw-rw-r-- 1 svn svn 1045950 2004-07-09 10:21 log.0000000077
-rw-rw-r-- 1 svn svn 1047360 2004-07-09 10:21 log.0000000078
-rw-rw-r-- 1 svn svn 1047769 2004-07-09 10:21 log.0000000079
-rw-rw-r-- 1 svn svn 1045878 2004-07-09 10:21 log.0000000080
-rw-rw-r-- 1 svn svn 1044915 2004-07-09 10:21 log.0000000081
-rw-rw-r-- 1 svn svn 1048558 2004-07-24 23:07 log.0000000082
-rw-rw-r-- 1 wwwrun svn 503488 2004-08-06 17:43 log.0000000083
-rw-rw-r-- 1 svn svn 798720 2004-08-06 17:43 nodes
-rw-rw-r-- 1 svn svn 815104 2004-08-06 17:43 representations
-rw-rw-r-- 1 svn svn 20480 2004-08-06 17:43 revisions
-rw-rw-r-- 1 svn svn 11468800 2004-08-06 17:43 strings
-rw-rw-r-- 1 svn svn 311296 2004-08-06 17:43 transactions
-rw-rw-r-- 1 svn svn 8192 2004-08-06 17:43 uuids

./hooks:
total 20
drwxrwxr-x 2 svn svn 136 2004-07-09 10:15 .
drwxrwxr-x 7 svn svn 90 2004-07-09 10:15 ..
-rw-rw-r-- 1 svn svn 1411 2004-07-09 10:15 post-commit.tmpl
-rw-rw-r-- 1 svn svn 1475 2004-07-09 10:15 post-revprop-change.tmpl
-rw-rw-r-- 1 svn svn 2197 2004-07-09 10:15 pre-commit.tmpl
-rw-rw-r-- 1 svn svn 1952 2004-07-09 10:15 pre-revprop-change.tmpl
-rw-rw-r-- 1 svn svn 1500 2004-07-09 10:15 start-commit.tmpl

./locks:
total 8
drwxrwxr-x 2 svn svn 39 2004-07-09 10:15 .
drwxrwxr-x 7 svn svn 90 2004-07-09 10:15 ..
-rw-rw-r-- 1 svn svn 460 2004-07-09 10:15 db.lock
-rw-rw-r-- 1 svn svn 295 2004-07-09 10:15 db-logs.lock

root@dna:/srv/svn/repos# db_recover -vech stdsim/db/
db_recover: Finding last valid log LSN: file: 83 offset 502460
db_recover: Recovery starting from [1][28]
db_recover: Recovery complete at Fri Aug 6 17:41:20 2004
db_recover: Maximum transaction ID 8004ea56 Recovery checkpoint [83][502460]
db_recover: Recovery complete at Fri Aug 6 17:41:20 2004
db_recover: Maximum transaction id 80000000 Recovery checkpoint [83][502460]

root@dna:/srv/svn/repos# svnadmin recover stdsim
Please wait; recovering the repository may take some time...

Recovery completed.
svn: Berkeley DB error while opening 'changes' table for filesystem stdsim/db:
Invalid argument
root@dna:/srv/svn/repos# db_recover -vech stdsim/db/
db_recover: Finding last valid log LSN: file: 83 offset 503404
db_recover: Recovery starting from [1][28]
db_recover: Recovery complete at Fri Aug 6 17:43:15 2004
db_recover: Maximum transaction ID 8004ea56 Recovery checkpoint [83][503404]
db_recover: Recovery complete at Fri Aug 6 17:43:15 2004
db_recover: Maximum transaction id 80000000 Recovery checkpoint [83][503404]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 6 17:54:44 2004

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