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

Re: need help setting up svn+ssh://

From: Justin Johnson <justinjohnson_at_fastmail.fm>
Date: 2003-08-20 21:28:17 CEST

It appears to be a permission problem, with an extremely uninformative
error message.

[jjohn53_at_marmot jjohn53]$ svn co svn+ssh://marmot/usr/local/svn/repo1
jjohn53@marmot's password:
svn: Couldn't find a repository
svn: No repository found in 'svn+ssh://marmot/usr/local/svn/repo1'
[jjohn53@marmot jjohn53]$ svn co file:/usr/local/svn/repo1
[jjohn53@marmot jjohn53]$ svn co file:/usr/local/svn/repo1 .
svn: Bogus URL
svn: `file:/usr/local/svn/repo1' does not appear to be a URL
[jjohn53_at_marmot jjohn53]$ svn co file:///usr/local/svn/repo1 .
svn: Couldn't open a repository.
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///usr/local/svn/repo1'
svn: Berkeley DB error
svn: Berkeley DB error while opening environment for filesystem
/usr/local/svn/repo1/db:
Permission denied

After running chmod -R 770 /usr/local/svn/repo1, everything worked fine.

[jjohn53_at_marmot jjohn53]$ svn co file:///usr/local/svn/repo1 .
Checked out revision 0.
[jjohn53@marmot jjohn53]$

On Tue, 19 Aug 2003 13:22:45 -0700, "Guido van Rossum" <guido@python.org>
said:
> I'm a newbie svn administrator. I have no desire to become an Apache
> administrator, so I'd like to use svnserve. I've got the 0.26 svn
> RPMs installed under Red Hat 9.
>
> I've successfully set up a svn repository. I configured svnserve to be
> run by (x)inetd when a connection is made to port 3690. I created a
> separate user 'subversion' and the svnserve process runs as this user.
> I give the arguments "-r /home/subversion" to svnserve so I can use a
> nice short url like svn://<host>/<repos> to check out from the
> repository at /home/subversion/<repos>/.
>
> This works fine, and we've been checking into and out of it for a
> couple of weeks. But this way, all checkins are anonymous.
>
> Reading the docs, I should be able to do (at least from a Unix client)
>
> svn co svn+ssh://<host>/home/subversion/<repos>
>
> To test this, I have added myself to the subversion group in
> /etc/group; all the directories and files in the repository are group
> writable and have user and group set to subversion. I am ssh'ing in
> from the same host that is the server, because I've only got one Unix
> host to test this with.
>
> But no matter what I try, I get the following error messages:
>
> svn: Couldn't find a repository
> svn: No repository found in 'svn+ssh://<host>/home/subversion/<repos>'
>
> Where can I buy a clue?
>
> PS I'm not sure if I'm actually on this list; I sent a subscription
> mail but didn't get a rseponse yet, so I'd appreciate being cc'ed on
> responses. Thanks!
>
> --Guido van Rossum (home page: http://www.python.org/~guido/)
>
> ---------------------------------------------------------------------
> 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 Wed Aug 20 21:29:19 2003

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