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

Re: Berkeley DB error

From: Karikalan Kumaresan <karikalan78_at_gmail.com>
Date: 2007-06-07 22:00:53 CEST

All,

I have sorted out the problem myself by using the following command,

svnadmin create --fs-type=fsfs <repo-path>

The above command will help you in creating the repository with the
filesystem not the berkely db. I managed to setup the SVN server... it is
all working fine on the server...

Now the trouble is...

Connecting to the SVN server from the client. I tried running the svnserve
on the server and used the following urls to connect to the server...

svn://IP/

svn://IP/<repository path>

But, no luck. It always came up saying the following, it works fine in
local. Do I need RSH / SSH enabled in the server where SVN server is running
to make it work?

A connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond.
svn: Can't connect to host 'IP': A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond.

Any help would be greatly appreciated...

Thanks,
Kari...

On 6/7/07, Karikalan Kumaresan <karikalan78@gmail.com> wrote:
>
> Hi, I have tried installing subversion-1.4.3-1.i386.rpm, but it is
> asking for too many dependencies which I could not find online. Please
> suggest where I can get the dependencies.
>
> Alternatively, I tried installing subversion using "yum install
> subversion" and it always installs SVN 1.1 not 1.4. I am a bit stuck
> there.
>
> Any help or suggestion would be greatly appreciated.
>
> Thanks,
>
> On 6/4/07, Ryan Schmidt < subversion-2007b@ryandesign.com> wrote:
> >
> > On Jun 2, 2007, at 13:59, Karikalan Kumaresan wrote:
> >
> > > I want to setup the SVN server in Linux FC 3. I have installed
> > > subversion using "yum install subversion". I am getting the
> > > following error when I try to do "svnadmin create <repository path>",
> > >
> > > svn: Berkeley DB error while creating environment for filesystem
> > > test1/db:
> > > Invalid argument
> > > svn: bdb: Berkeley DB library configured to support only DB_PRIVATE
> > > environments
> > >
> > > I tried to browse for this issue, nothing was helpful so. Can you
> > > please help me out in resolving this issue.
> >
> > I'm not familiar with that particular error message, but I can tell
> > you this: Subversion has not used Berkeley DB as the default format
> > for new repositories since Subversion 1.2.0. If you're getting that
> > message, then that means you must have an older version of
> > Subversion, and I strongly recommend you upgrade to the latest, which
> > is 1.4.3 currently. When you create a repository, it will use the
> > FSFS storage mechanism by default, which does not need or use
> > Berkeley DB, thus you can't run into any Berkeley DB errors.
> >
> > If you really want to use a Berkeley DB-based repository for some
> > reason, then perhaps someone else can help you with that particular
> > message.
> >
> >
> >
>
Received on Thu Jun 7 22:01:29 2007

This is an archived mail posted to the Subversion Users mailing list.