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

RE: Severe repository database corruption

From: Wadsworth, Eric (Contractor) <wadswore_at_fhu.disa.mil>
Date: 2004-07-02 00:48:56 CEST

As he said, it's most likely permissions. I tried to run 'svnadmin dump' as
the wrong user once, and it munged everything. Do a chmod -R 777 on the
repository, then see if it works. Then tighten up the permissions as needed.

****
**** --- Eric Wadsworth, 520-533-2749
****

> -----Original Message-----
> From: Ben Collins-Sussman [mailto:sussman@collab.net]
> Sent: Thursday, July 01, 2004 3:45 PM
> To: Frank Freund
> Cc: users@subversion.tigris.org
> Subject: Re: Severe repository database corruption
>
>
> On Thu, 2004-07-01 at 17:34, Frank Freund wrote:
>
> > > linux: # svnadmin recover /usr/local/apache2/svn
> > > Please wait; recovering the repository may take some time...
> > > Recovery completed.
> > > The latest repos revision is 394.
> > which looked fine, but didn't worked - same errors as above.
>
> What do you mean it didn't work? It *did* work, the repository was
> recovered.
>
> Did it get 'stuck' again when you tried to access it? If so, it's
> probably because you ran recovery as the root user, which
> messed up all
> the permissions.
>
> Have you read this FAQ?
>
> http://subversion.tigris.org/project_faq.html#permissions
>
> If 'svnadmin recover' doesn't work, then use the catastrophic flag to
> db_recover. ('db_recover -vec -h repos/db/'). Then make sure all the
> permissions are set correctly before restarting apache. That is, make
> sure apache has full read/write access to the whole repository (even
> better if apache owns the repository) before starting it
> again. If the
> repository has weird ownership or permissions, then the
> repository will
> get 'stuck' again when apache tries to open it.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 2 00:55:43 2004

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