You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Pablo F. Díaz Anzalone" <pa...@iso.bbe.es> on 2006/08/07 09:05:52 UTC

Berkeley DB,error while checkpointing after Berkeley DB transaction for filesystem

I was using svn for a month and my surprise is that since yesterday
when I try a commit I got this error:

Error   Commit failed (details follow):
Error   OPTIONS request failed on '/repos/isopruebas/trunk'
Error   Could not open the requested SVN filesystem

And in the log of Apache I found this lines of the first try:

[Tue Aug 01 11:21:16 2006] [error] [client 192.168.0.30] Could not
fetch resource information.  [500, #0]
[Tue Aug 01 11:21:16 2006] [error] [client 192.168.0.30] Could not
determine the proper revision to access  [500, #160029]
[Tue Aug 01 11:21:16 2006] [error] [client 192.168.0.30] Berkeley DB
error while checkpointing after Berkeley DB transaction for filesystem
/var/repositorio/db:\nDB_RUNRECOVERY: Fatal error, run database
recovery  [500, #160029]
[Tue Aug 01 11:21:16 2006] [error] [client 192.168.0.30] (20014)Error
string not specified yet: Berkeley DB error while closing 'nodes'
database for filesystem /var/repositorio/db:\nDB_RUNRECOVERY: Fatal
error, run database recovery

The following two times the log was like this:

[Tue Aug 01 11:22:01 2006] [error] [client 192.168.0.30] (20014)Error
string not specified yet: Berkeley DB error while opening environment
for filesystem /var/repositorio/db:\nDB_RUNRECOVERY: Fatal error, run
database recovery
[Tue Aug 01 11:22:01 2006] [error] [client 192.168.0.30] Could not
fetch resource information.  [500, #0]
[Tue Aug 01 11:22:01 2006] [error] [client 192.168.0.30] Could not open
the requested SVN filesystem  [500, #160029]
[Tue Aug 01 11:22:01 2006] [error] [client 192.168.0.30] Could not open
the requested SVN filesystem  [500, #160029]

And since then every time that I try to commit this is the log:

[Tue Aug 01 11:27:06 2006] [error] [client 192.168.0.30] (20014)Error
string not specified yet: Berkeley DB error while opening environment
for filesystem /var/repositorio/db:\nPermission denied
[Tue Aug 01 11:27:06 2006] [error] [client 192.168.0.30] Could not
fetch resource information.  [500, #0]
[Tue Aug 01 11:27:06 2006] [error] [client 192.168.0.30] Could not
open the requested SVN filesystem  [500, #160029]
[Tue Aug 01 11:27:06 2006] [error] [client 192.168.0.30] Could not
open the requested SVN filesystem  [500, #160029]

I have try to recover DB with svnadmin and with db_recovery, but the
problem persists. I have spent a lot of hours on it but I don't know what
else can I do. Does anyone have any clue, advice or anything to get
the work around?

Thank you very much.

Pablo Díaz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Berkeley DB,error while checkpointing after Berkeley DB transaction for filesystem

Posted by Andreas Schweigstill <an...@schweigstill.de>.
Dear Pablo!

Pablo F. Díaz Anzalone schrieb:
> I have try to recover DB with svnadmin and with db_recovery, but the
> problem persists. I have spent a lot of hours on it but I don't know what
> else can I do. Does anyone have any clue, advice or anything to get
> the work around?

It seems that file access properties are not set-up properly on the
repository files and directories. They need to be accessible for the
user running Apache daemon.

Are you able to perform a repository backup with "svnadmin dump"
as user root?

Are you repository directories directly mounted or mounted via NFS?
The latter can also happen for local filesystems which are remounted
with an automounter and NIS/YP. IIRC it is not allowed to have BDB
databases on network shares. Probably you could convert your repository
to FSFS.


With best regards
Andreas

-- 
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Word Docs

Posted by Tim Hill <dr...@comcast.net>.
Agreed. However, are Word documents compressed? xdelta does pretty  
well with normal edited binary files. It doesn't do at all well with  
compressed formats, for the reasons you note, and so OpenOffice stuff  
takes a hit. Last time I looked, though, Word document were all  
bloated, so I'd be surprised if they were compressed.

--Tim

On Nov 19, 2006, at 2:47 PM, Talden wrote:

> But it is very important to understand that it is diffing
> file-content, not document content.  Being a binary file, changing
> only a few characters could change the entire file.  Consider that
> changing a single bit can have flow-on effects in a compressed-stream
> or encrypted-stream.
>
> Though you'll get cheaper binaries in many cases with subversion it's
> going to do a lot better with types that represent localised
> differences in document-content with localised differences in
> file-content.
>
> a syntax-directed diffing mechanism would allow potentially
> significant gains but introduce an extreme cost in complexity that the
> majority of the Subversion user base wouldn't gain much benefit from.
>
> --
> Talden
>
> On 19/11/06, Tim Hill <dr...@comcast.net> wrote:
>> Delta. Subversion deltas all files: binary and text.
>>
>> --Tim
>>
>> On Nov 18, 2006, at 5:59 PM, Bryan D. Andrews wrote:
>>
>> > When you commit word docs does it save only the delta or does
>> > subversion
>> > commit a whole doc each time?
>> >
>> > 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
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Word Docs

Posted by Talden <ta...@gmail.com>.
But it is very important to understand that it is diffing
file-content, not document content.  Being a binary file, changing
only a few characters could change the entire file.  Consider that
changing a single bit can have flow-on effects in a compressed-stream
or encrypted-stream.

Though you'll get cheaper binaries in many cases with subversion it's
going to do a lot better with types that represent localised
differences in document-content with localised differences in
file-content.

a syntax-directed diffing mechanism would allow potentially
significant gains but introduce an extreme cost in complexity that the
majority of the Subversion user base wouldn't gain much benefit from.

--
Talden

On 19/11/06, Tim Hill <dr...@comcast.net> wrote:
> Delta. Subversion deltas all files: binary and text.
>
> --Tim
>
> On Nov 18, 2006, at 5:59 PM, Bryan D. Andrews wrote:
>
> > When you commit word docs does it save only the delta or does
> > subversion
> > commit a whole doc each time?
> >
> > 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
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Word Docs

Posted by Tim Hill <dr...@comcast.net>.
Delta. Subversion deltas all files: binary and text.

--Tim

On Nov 18, 2006, at 5:59 PM, Bryan D. Andrews wrote:

> When you commit word docs does it save only the delta or does  
> subversion
> commit a whole doc each time?
>
> 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

Word Docs

Posted by "Bryan D. Andrews" <ba...@trendcore.com>.
When you commit word docs does it save only the delta or does subversion
commit a whole doc each time?

Thanks. 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org