You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marijn Verkerk <ma...@scotty.dsv.nl> on 2004/08/06 10:56:58 UTC
Failed to revover
Dear all,
Somehow after experimenting with Apple Finder WebDAV connection (I'm
trying to get more info from the user) a (from CVS converted) repository
is broken. With SVN 1.0.5 the 'svnadmin recover' command hanged and
after updating to ~1.0.7 (the current newest build for Suse) the
svnadmin command replies the following:
$: 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
Please help!
Regards,
Marijn Verkerk
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Failed to revover
Posted by Katana <ka...@katana-inc.com>.
Hello Marijn,
> Somehow after experimenting with Apple Finder WebDAV connection (I'm
> trying to get more info from the user) a (from CVS converted) repository
> is broken. With SVN 1.0.5 the 'svnadmin recover' command hanged and
> after updating to ~1.0.7 (the current newest build for Suse) the
> svnadmin command replies the following:
> $: 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
I had a similar problem a while ago, and was told to remove the __db
files from the db folder of the repos. I didn't get the exact same
message (svn just hanged), but it was quite a while ago, and the
version was not the same.
I'm not sure it fits your problem though. You should probably wait for
a confirmation ;)
--
Best regards,
Katana mailto:katana@katana-inc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Failed to revover
Posted by Marijn Verkerk <ma...@scotty.dsv.nl>.
Max Bowsher wrote:
>Marijn Verkerk wrote:
>
>
>>>Ben Collins-Sussman wrote:
>>>
>>>
>
>
>
>>>>>$: 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.
>>>
>>>
>
>Any progress? If you can't make the repository available (and it doesn't have to
>be available to the world, just to one or two subversion full committers), then
>would you be able to compile svn from source, with a patch, against the same
>version of berkeley db your current packages are using?
>
>
>
Sure, that's no problem!
>I am in the process of finalizing a patch which shows more detail in the error
>than just "Invalid argument".
>
>
>
Let me know when I can compile SVN with this patch!
>Max.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Failed to revover
Posted by Max Bowsher <ma...@ukf.net>.
Marijn Verkerk wrote:
>> Ben Collins-Sussman wrote:
>>>> $: 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.
Any progress? If you can't make the repository available (and it doesn't have to
be available to the world, just to one or two subversion full committers), then
would you be able to compile svn from source, with a patch, against the same
version of berkeley db your current packages are using?
I am in the process of finalizing a patch which shows more detail in the error
than just "Invalid argument".
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Failed to revover
Posted by Marijn Verkerk <ma...@scotty.dsv.nl>.
Max Bowsher wrote:
>Kirill Lapshin wrote:
>
>
>>Marijn Verkerk wrote:
>>
>>I am not a svn guru, but this looks suspicious to me:
>>
>>
>>
>>>-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
>>>
>>>
>>I would've try 'chown -R svn:svn' and/or 'chmod -R g+w'.
>>
>>
>
>Good catch! Those permissions will certainly be upsetting BDB.
>
>Max.
>
>
>
This isn't the problem. This change of file permission is caused by the
db_recover -vech repos/db/
command.. which I've executed as root.
I will come back to the other suggestions (including recompiling with
the patch) later.
Anyway, thanks!
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Failed to revover
Posted by Max Bowsher <ma...@ukf.net>.
Kirill Lapshin wrote:
> Marijn Verkerk wrote:
>
> I am not a svn guru, but this looks suspicious to me:
>
>> -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
>
> I would've try 'chown -R svn:svn' and/or 'chmod -R g+w'.
Good catch! Those permissions will certainly be upsetting BDB.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Failed to revover
Posted by Kirill Lapshin <ki...@lapshin.net>.
Marijn Verkerk wrote:
I am not a svn guru, but this looks suspicious to me:
> -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
I would've try 'chown -R svn:svn' and/or 'chmod -R g+w'.
HTH
--Kirill
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Failed to revover
Posted by Marijn Verkerk <ma...@scotty.dsv.nl>.
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).
Re: Failed to revover
Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2004-08-06 at 05:56, Marijn Verkerk wrote:
> Dear all,
>
> Somehow after experimenting with Apple Finder WebDAV connection (I'm
> trying to get more info from the user) a (from CVS converted) repository
> is broken. With SVN 1.0.5 the 'svnadmin recover' command hanged and
> after updating to ~1.0.7 (the current newest build for Suse) the
> svnadmin command replies the following:
Huh? There's no such thing as svn 1.0.7.
>
> $: 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?
Did you upgrade BDB at some point?
Make a copy of the repository, and try 'db_recover -vech repos/db/'.
Also, show us an ls -l of the repository.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org