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

Re: repository unusable

From: Wilfried Schmitten <wshbg_at_muemmel.net>
Date: 2005-04-17 21:05:15 CEST

Moin,
1. I didn't know about migrations across BDB versions and so I run into this
desaster.
2. Thank you to some people, who tried to help.
3. the statement, svnadmin destroyed the database was wrong. There was a
message "panic" and after that I saw that the files __db.* were deleted. So I
thought, if something can go wrong it will ;-)
4. The almost solution (there is still an error) till now:
a) I copied the files to my laptop running the old libraries and made "db_dump
file -f file" on all files that are listed by "db_archive -s".
b) On the server I deleted __db.* and log.* and copied the files from the
laptop to the server.
c) with "db_load -f file file" I produced a new database (is that correct?)

Now:
I get a correct message, if I use ra_local as user root, all revisions are
listed when I use "svn log file:///work3/svn/repos/BEURON/"

As a normal user I get "Keine Berechtigung" = access denied. Maybe that this
is correct?? I suppose yes, because this is a normal access to a filesystem
and that is not allowed for that user.

Trying this via http, something goes wrong (sorry, some messages are in
german):

wshbg_at_muemmel2:~/BEURON> svn log http://muemmel2/repos/BEURON
------------------------------------------------------------------------
r53 | wshbg | 2005-03-26 20:42:30 +0100 (Sa, 26 Mär 2005) | 1 line

Korrekturen Stundenbuch im SCHOTT Kalender
svn: REPORT Anfrage fehlgeschlagen auf '/repos/BEURON/!svn/bc/53'
svn: Die REPORT Anfrage gab in der Antwort ungültiges XML zurück: XML parse
error at line 8: Extra content at the end of the document
. (/repos/BEURON/!svn/bc/53)

and in apache err_log I find:
[Sun Apr 17 20:51:14 2005] [error] [client 192.168.211.164] Provider
encountered an error while streaming a REPORT response. [400, #0]
[Sun Apr 17 20:51:14 2005] [error] [client 192.168.211.164] Invalid change
ordering: non-add change on deleted path [400, #160004]
[Sun Apr 17 20:51:14 2005] [error] [client 192.168.211.164] Invalid change
ordering: non-add change on deleted path [400, #160004]

and in apache access_log:
192.168.211.164 - - [17/Apr/2005:20:51:13 +0200] "PROPFIND /repos/BEURON
HTTP/1.1" 401 1254 "-" "SVN/1.1.3 (r12730) neon/0.24.7"
192.168.211.164 - wshbg [17/Apr/2005:20:51:13 +0200] "PROPFIND /repos/BEURON
HTTP/1.1" 207 655 "-" "SVN/1.1.3 (r12730) neon/0.24.7"
192.168.211.164 - wshbg [17/Apr/2005:20:51:14 +0200]
"PROPFIND /repos/BEURON/!svn/vcc/default HTTP/1.1" 207 407 "-" "SVN/1.1.3
(r12730) neon/0.24.7"
192.168.211.164 - wshbg [17/Apr/2005:20:51:14 +0200]
"PROPFIND /repos/BEURON/!svn/bln/53 HTTP/1.1" 207 460 "-" "SVN/1.1.3 (r12730)
neon/0.24.7"
192.168.211.164 - wshbg [17/Apr/2005:20:51:14 +0200] "PROPFIND /repos/BEURON
HTTP/1.1" 207 655 "-" "SVN/1.1.3 (r12730) neon/0.24.7"
192.168.211.164 - wshbg [17/Apr/2005:20:51:14 +0200]
"PROPFIND /repos/BEURON/!svn/vcc/default HTTP/1.1" 207 460 "-" "SVN/1.1.3
(r12730) neon/0.24.7"
192.168.211.164 - wshbg [17/Apr/2005:20:51:14 +0200]
"REPORT /repos/BEURON/!svn/bc/53 HTTP/1.1" 200 311 "-" "SVN/1.1.3 (r12730)
neon/0.24.7"

Many thanks if anyone can help, Wilfried

Am Samstag, 16. April 2005 00:33 schrieb Max Bowsher:
> Wilfried Schmitten wrote:
> > Moin,
> > I just updated from SuSE 9.1 to 9.3
> > the berkeley database changed from 4.2 to 4.3, all the new programs are
> > linked to that libraries.
> > From now, there is no access to the repository:
> >
> > apache complains:
> > [Fri Apr 15 19:41:03 2005] [error] [client 192.168.211.165] (20014)Error
> > string not specified yet: Berkeley DB error while opening environment for
> > filesystem /work3/svn/repos/BEURON/db:\nDB_VERSION_MISMATCH: Database
> > environment version mismatch
> >
> > svnadmin complains:
> > muemmel2:/work3/svn/repos/MUEMMEL # svnadmin verify .
> > svn: Berkeley DB error while opening environment for filesystem db:
> > DB_VERSION_MISMATCH: Database environment version mismatch
> > svn: bdb: Program version 4.3 doesn't match environment version
>
> As expected. It is stated in numerous places that dump/load is the simple
> reliable way to migrate across BDB versions.
>
> > and at last: svnadmin recover _destroyed_ the database
>
> I find this hard to believe.
>
> $ rm repos/db/__db.*
> $ svnlook youngest repos
>
> Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 17 21:09:55 2005

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.