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

[TSVN] svn+ssh says "Berkley DB error while opening environment..." unless I SSH as root

From: aaron barrus <as_barrus_at_yahoo.com>
Date: 2004-09-21 01:10:43 CEST

Hi Svn folks,

I have plain-text unencrypted wireless LAN users who are committing code to my SVN repository, so
we figured it prudent to use SVN+SSH for greater security.

Telling SVN to authenticate to my SVN server as root, I am able to

svn list svn+ssh://path_to_repository...
root@domain's password; **********
branches/
trunk/

Perfect!

But if I login as any other user, I get the following:
svn list svn+ssh://path_to_repository...
user@domain's password *********
svn: Berkeley DB error while opening environment for filesystem /path_to_repository/db:
Permission denied

This made me think that I need to grant filesystem access to the repository to the user who wants
to access it through SSH. So I added the user to the svn group, and did a chmod g+w to the /db/*
files to allow svn group access to them (instead of just the SVN user).

Oh, that must have been a fatal error - now even when I try as root using plaintext (back to
normal), I see:

[root_at_server db]# svn list svn://path_to_repository
svn: Berkeley DB error while opening environment for filesystem path_to_repository/db:
DB_RUNRECOVERY: Fatal error, run database recovery

What have I done?! I'm afraid to continue playing with this on my own - and I plea for your
guidance. How should I recover my database, and ultimately if possible, how shall I allow access
over SSH?

Any help is appreciated!

Aaron

                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Sep 21 12:32:27 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.