You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gerard Samuel <sv...@trini0.org> on 2004/11/25 17:10:08 UTC

Newbie SSH setup problem

I have this in inetd.conf (but Im not sure if it applies to subversion 
ssh connections) ->
svn             stream  tcp     nowait/4/4      www 
/usr/local/bin/svnserve svnserve -i -r /source/svn

My svnserve.conf file is totally commented out, so its running with its 
defaults.
Both the local and remote machines has my login/password combination.
I also get this error when I try it on the remote box with the 
repository on it.
The repository is owned by www:svn, and Im part of the svn group.
Any help with this would be appreciated.
Thanks

$ svn list svn://hivemind.trini0.org/trunk
Makefile
bar.c
foo.c
$ svn list svn+ssh://hivemind.trini0.org/trunk
Password:
svn: No repository found in 'svn+ssh://hivemind.trini0.org/trunk'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Newbie SSH setup problem

Posted by Duncan Palmer <du...@yahoo.com>.
--- Gerard Samuel <sv...@trini0.org> wrote:

> Ok.  I changed the group permissions of the files
> under /source/svn/db 
> to rw, and it seems
> to be working correctly now...
> 

Don't forget to wrap the svn commands to set your
umask correctly if you are accessing your repo using
svn+ssh. This is discussed in Chapter 6 of the
subversion book under the heading 'Supporting Multiple
Repository Access Methods'.

Dunk



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Newbie SSH setup problem

Posted by Gerard Samuel <sv...@trini0.org>.
Gerard Samuel wrote:

> Ben Collins-Sussman wrote:
>
>>
>> On Nov 25, 2004, at 11:10 AM, Gerard Samuel wrote:
>>
>>> I have this in inetd.conf (but Im not sure if it applies to 
>>> subversion ssh connections) ->
>>> svn             stream  tcp     nowait/4/4      www 
>>> /usr/local/bin/svnserve svnserve -i -r /source/svn
>>>
>>> My svnserve.conf file is totally commented out, so its running with 
>>> its defaults.
>>> Both the local and remote machines has my login/password combination.
>>> I also get this error when I try it on the remote box with the 
>>> repository on it.
>>> The repository is owned by www:svn, and Im part of the svn group.
>>> Any help with this would be appreciated.
>>> Thanks
>>>
>>> $ svn list svn://hivemind.trini0.org/trunk
>>> Makefile
>>> bar.c
>>> foo.c
>>
>>
>>
>> Great, this works as expected.
>>
>>
>>> $ svn list svn+ssh://hivemind.trini0.org/trunk
>>> Password:
>>> svn: No repository found in 'svn+ssh://hivemind.trini0.org/trunk'
>>>
>>
>> svn+ssh:// has nothing to do with inetd.conf.  The svn client 
>> launches a private svnserve process using ssh:  "ssh 
>> hivemind.trini0.org svnserve -t".  Which means there's no -r switch 
>> being passed to svnserve;  you need to use an absolute path to the 
>> repository:  svn+ssh://hivemind.trini0.org/sources/svn/trunk
>>
>> This is all discussed in chapter 6. 
>
>
>
> Makes sense.
> Unfortunately, Im getting a different error ->
> svn: Berkeley DB error while opening environment for filesystem 
> /source/svn/db:
> Permission denied
>
> Im investigating this.  If I get stuck, I'll post another message.
> Thanks 


Ok.  I changed the group permissions of the files under /source/svn/db 
to rw, and it seems
to be working correctly now...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Newbie SSH setup problem

Posted by Gerard Samuel <sv...@trini0.org>.
Ben Collins-Sussman wrote:

>
> On Nov 25, 2004, at 11:10 AM, Gerard Samuel wrote:
>
>> I have this in inetd.conf (but Im not sure if it applies to 
>> subversion ssh connections) ->
>> svn             stream  tcp     nowait/4/4      www 
>> /usr/local/bin/svnserve svnserve -i -r /source/svn
>>
>> My svnserve.conf file is totally commented out, so its running with 
>> its defaults.
>> Both the local and remote machines has my login/password combination.
>> I also get this error when I try it on the remote box with the 
>> repository on it.
>> The repository is owned by www:svn, and Im part of the svn group.
>> Any help with this would be appreciated.
>> Thanks
>>
>> $ svn list svn://hivemind.trini0.org/trunk
>> Makefile
>> bar.c
>> foo.c
>
>
> Great, this works as expected.
>
>
>> $ svn list svn+ssh://hivemind.trini0.org/trunk
>> Password:
>> svn: No repository found in 'svn+ssh://hivemind.trini0.org/trunk'
>>
>
> svn+ssh:// has nothing to do with inetd.conf.  The svn client launches 
> a private svnserve process using ssh:  "ssh hivemind.trini0.org 
> svnserve -t".  Which means there's no -r switch being passed to 
> svnserve;  you need to use an absolute path to the repository:  
> svn+ssh://hivemind.trini0.org/sources/svn/trunk
>
> This is all discussed in chapter 6. 


Makes sense.
Unfortunately, Im getting a different error ->
svn: Berkeley DB error while opening environment for filesystem 
/source/svn/db:
Permission denied

Im investigating this.  If I get stuck, I'll post another message.
Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Newbie SSH setup problem

Posted by Ben Collins-Sussman <su...@collab.net>.
On Nov 25, 2004, at 11:10 AM, Gerard Samuel wrote:

> I have this in inetd.conf (but Im not sure if it applies to subversion 
> ssh connections) ->
> svn             stream  tcp     nowait/4/4      www 
> /usr/local/bin/svnserve svnserve -i -r /source/svn
>
> My svnserve.conf file is totally commented out, so its running with 
> its defaults.
> Both the local and remote machines has my login/password combination.
> I also get this error when I try it on the remote box with the 
> repository on it.
> The repository is owned by www:svn, and Im part of the svn group.
> Any help with this would be appreciated.
> Thanks
>
> $ svn list svn://hivemind.trini0.org/trunk
> Makefile
> bar.c
> foo.c

Great, this works as expected.


> $ svn list svn+ssh://hivemind.trini0.org/trunk
> Password:
> svn: No repository found in 'svn+ssh://hivemind.trini0.org/trunk'
>

svn+ssh:// has nothing to do with inetd.conf.  The svn client launches 
a private svnserve process using ssh:  "ssh hivemind.trini0.org 
svnserve -t".  Which means there's no -r switch being passed to 
svnserve;  you need to use an absolute path to the repository:  
svn+ssh://hivemind.trini0.org/sources/svn/trunk

This is all discussed in chapter 6.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org