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

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

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-06-23 15:46:30 CEST

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
Received on Fri Jun 23 15:48:06 2006

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.