You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Andrew Bruno <an...@gmail.com> on 2006/06/23 12:01:46 UTC

HELP: Berkeley DB library configured to support only DB_PRIVATE?

Hi,

I followed the instructions for installing subversion on fedora 3 using

http://www.bernzilla.com/item.php?id=445

Basically:

1. Installed Subversion: yum install subversion
2. Installed mod_dav_svn: yum install mod_dav_svn
3. Created a new repository according to the Subversion Book
4. Created a new project according to the Subversion Book
etc..

I received the following error :(

[root@lala ~]# svnadmin create /data/svnrepos
svn: Berkeley DB error while creating environment for filesystem /data/svnrepos/
db:
Invalid argument
svn: bdb: Berkeley DB library configured to support only DB_PRIVATE environments

Also, it looks like I am running

[root@lala ~]#  ldd `which svn` | grep libdb
libdb-4.2.so => /lib/libdb-4.2.so (0xf7d64000)

[root@lala ~]#  uname -a

Linux lala 2.6.16.16-RH202rc20 #3 SMP Mon May 15 11:11:58 CDT 2006
i386 i386 i386 GNU/Linux

I have googled as much as I can.  Does anyone have any ideas?

Thanks, Andrew

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

Re: HELP: Berkeley DB library configured to support only DB_PRIVATE?

Posted by Andrew Bruno <an...@gmail.com>.
Hi Ryan,

yes your right, I do have subversion 1.1.4-1.1 which is what yum
installed by default.

I dont know how to update via yum, so I tried to upgrade via rpm

rpm -Uvh subversion-1.3.2-2.1.i386.rpm

but got:

error: Failed dependencies:
        libapr-1.so.0 is needed by subversion-1.3.2-2.1.i386
        libaprutil-1.so.0 is needed by subversion-1.3.2-2.1.i386
        libc.so.6(GLIBC_2.4) is needed by subversion-1.3.2-2.1.i386
        libdb-4.3.so is needed by subversion-1.3.2-2.1.i386
        liblber-2.3.so.0 is needed by subversion-1.3.2-2.1.i386
        libldap-2.3.so.0 is needed by subversion-1.3.2-2.1.i386
        libneon.so.25 is needed by subversion-1.3.2-2.1.i386
        python(abi) = 2.4 is needed by subversion-1.3.2-2.1.i386
        subversion = 1.1.4-1.1 is needed by (installed)
mod_dav_svn-1.1.4-1.1.i386



P.S. I am using a VPS fedora 3 install from rosehosting


On 6/23/06, Ryan Schmidt <su...@ryandesign.com> wrote:
> On Jun 23, 2006, at 14:01, Andrew Bruno wrote:
>
> > I followed the instructions for installing subversion on fedora 3
> > using
> >
> > http://www.bernzilla.com/item.php?id=445
> >
> > Basically:
> >
> > 1. Installed Subversion: yum install subversion
> > 2. Installed mod_dav_svn: yum install mod_dav_svn
> > 3. Created a new repository according to the Subversion Book
> > 4. Created a new project according to the Subversion Book
> > etc..
> >
> > I received the following error :(
> >
> > [root@lala ~]# svnadmin create /data/svnrepos
> > svn: Berkeley DB error while creating environment for filesystem /
> > data/svnrepos/
> > db:
> > Invalid argument
> > svn: bdb: Berkeley DB library configured to support only DB_PRIVATE
> > environments
> >
> > Also, it looks like I am running
> >
> > [root@lala ~]#  ldd `which svn` | grep libdb
> > libdb-4.2.so => /lib/libdb-4.2.so (0xf7d64000)
>
> Which version of Subversion do you have? If svnadmin create tried to
> make a BDB repository, I think you must have version 1.1.x or
> earlier, because FSFS became the default repository type as of
> Subversion 1.2.0. And 1.1.x is a bit old; we're currently on 1.3.2,
> with a release candidate for 1.4 supposedly around the corner.
>
> If possible, I recommend installing Subversion 1.3.2. If that's not
> possible, and you're running Subversion 1.1.x, you could try
> "svnadmin create --fs-type FSFS /data/svnrepos". If you have
> Subversion 1.0.x or earlier, BDB is the only repository type and I
> don't know anything about that BDB error so I can't suggest a way to
> resolve it.
>
>
>

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

Re: HELP: Berkeley DB library configured to support only DB_PRIVATE?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 23, 2006, at 14:01, Andrew Bruno wrote:

> I followed the instructions for installing subversion on fedora 3  
> using
>
> http://www.bernzilla.com/item.php?id=445
>
> Basically:
>
> 1. Installed Subversion: yum install subversion
> 2. Installed mod_dav_svn: yum install mod_dav_svn
> 3. Created a new repository according to the Subversion Book
> 4. Created a new project according to the Subversion Book
> etc..
>
> I received the following error :(
>
> [root@lala ~]# svnadmin create /data/svnrepos
> svn: Berkeley DB error while creating environment for filesystem / 
> data/svnrepos/
> db:
> Invalid argument
> svn: bdb: Berkeley DB library configured to support only DB_PRIVATE  
> environments
>
> Also, it looks like I am running
>
> [root@lala ~]#  ldd `which svn` | grep libdb
> libdb-4.2.so => /lib/libdb-4.2.so (0xf7d64000)

Which version of Subversion do you have? If svnadmin create tried to  
make a BDB repository, I think you must have version 1.1.x or  
earlier, because FSFS became the default repository type as of  
Subversion 1.2.0. And 1.1.x is a bit old; we're currently on 1.3.2,  
with a release candidate for 1.4 supposedly around the corner.

If possible, I recommend installing Subversion 1.3.2. If that's not  
possible, and you're running Subversion 1.1.x, you could try  
"svnadmin create --fs-type FSFS /data/svnrepos". If you have  
Subversion 1.0.x or earlier, BDB is the only repository type and I  
don't know anything about that BDB error so I can't suggest a way to  
resolve it.


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