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

Re: BerkeleyDB 4.2 in binaries build?

From: Jan Normann Nielsen <lists_at_dubbekarl.dk>
Date: 2004-03-25 16:36:54 CET

kfogel@collab.net wrote:

>Jan Normann Nielsen <lists@dubbekarl.dk> writes:
>
>
>>I've tried to enable the automatic removal of unused database log
>>files in Subversion 1.0.1 - the RedHat 9 build from:
>>
>>http://summersoft.fay.ar.us/pub/subversion/latest/redhat-9.0/bin
>>
>>It doesn't work, in fact I cannot access my repository afterwards. I
>>guess that is because the binary is built against BerkeleyDB 4.0 where
>>this option is not available. Can anyone verify this, maybe even
>>explain the reason behind not using the 4.2 version?
>>
>>
>
>It helps to give precise transcripts of what you actually did. Then
>people can more easily figure out what went wrong.
>
>For example, don't just say "I've tried to enable the automatic
>removal of unused database log files". Say "I edited
>/blah/repos/db/DB_CONFIG, adding the following line to the end..."
>then give the exact change you made.
>
>Then later, don't just say "I cannot access my repository afterwards".
>Say "I ran 'svn checkout file://blah/blah/repos/ myproj' as user
>jrandom and got the following error:" then give the exact error text.
>
>Etc, etc.
>
>As for your specific problem, yes, your hypothesis is one possible
>reason this might be happening, but without more information, we can't
>be sure. You might try running 'ldd /usr/local/bin/svnadmin' and
>'ldd /usr/local/bin/svn' (assuming that's where they're installed) and
>posting the output here.
>
>
I'm aware that my mail wasn't very good to begin with. I'm sorry for
that. I didn't know about the ldd command but I have figured this out by
now:

        ldd /usr/bin/svnadmin

to find out that it is linked against

        libdb-4.0.so => /usr/lib/libdb-4.0.so (0x400c6000)

rpm -qi db4 shows me that it is actually version 4.0 (and not 4.2) that
is installed in RedHat release 9. This explains why I can't uncomment the

        # set_flags DB_LOG_AUTOREMOVE

line in DB_CONFIG in my repository which I suspected was the problem in
the first place. Actually, the error subversion gave me upon browsing

        http://localhost/svn/repos/

was:

        <D:error>
        <C:error/>
        <m:human-readable errcode="160029">
        Could not open the requested SVN filesystem
        </m:human-readable>
        </D:error>

Thanks for all the help.

Best regards,
Jan Nielsen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 25 16:37:42 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.