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

RE: svnadmin dump || hotcopy : Program version matching error

From: Jeremy Mordkoff <jlm_at_ZeeVee.Com>
Date: Thu, 15 Oct 2009 11:59:12 -0400

> -----Original Message-----
> From: Nicolas.Castagne_at_imag.fr [mailto:Nicolas.Castagne_at_imag.fr]
> Sent: Thursday, October 15, 2009 11:06 AM
>
> Hi there,
>
> I am starting to administrate a series of svn repositories, and face
> problem when trying to dump or hotcopy them.
>
> ---
> Problem report
> ---
>
> Running:
>
> % sudo svn dump /path/to/my/repository
> or
> % sudo svn hotcopy /path/to/my/repository
>
> I get the (usual?) error:
>
> svn: Berkeley DB error while opening environment for filesystem
> cordisoff/db:
> Argument invalide
> svn: bdb: Program version 4.2 doesn't match environment version
>
>

I assume that these commands work properly if you are logged in as svn
and you only get these errors when you sudo. If so, try adding the -H
flag to sudo so that svn's environment is properly set.

If that fails, try comparing the results of

sudo -h svn printenv

to logging in as svn and running printenv

JLM

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2407938

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-15 18:00:12 CEST

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