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

Re: Can ssh ...but Can't svn+ssh

From: Graham Anderson <grahama_at_siren.cc>
Date: 2006-07-01 04:19:33 CEST

I get:
robert$ echo 'type svnserve' | ssh -T svn@www.mysite.com
svn@www.mysite.com's password:
svnserve is /usr/local/bin/svnserve

On my remote server, if I get the same path using 'which svnserve'

Also:
I CAN check out from the repository with:
svn checkout svn://www.mysite.com/home/svn/repository/myproject/trunk .

But, I CAN NOT use svn+ssh
svn checkout svn+ssh://svn@www.mysite.com/home/svn/repository/
myproject/trunk .

With the above, I get:
bash: svnserve: command not found
subversion/libsvn_ra_svn/marshal.c:255: (apr_err=210002)
svn: Connection closed unexpectedly

many thanks as any help is appreciated
g

On Jun 30, 2006, at 7:03 PM, Bob Proulx wrote:

> Graham Anderson wrote:
>> I can ssh into my remote server with:
>> ssh svn@www.mysite.com
>
> What is PATH when you log into the remote system?
>
> Assuming standard command shell syntax here this should be useful.
>
> echo 'echo $PATH' | ssh -T www.mysite.com
>
>> or
>> ssh root@www.mysite.com
>
> Best to avoid working as root. Usually working with svn does not
> require root access. Working as root creates a trip hazard.
>
>> but, I can not do the below:
>>
>> root#: svn list svn+ssh://www.mysite.com/home/svn/repository/
>> myproject/
>> root@www.mysite.com's password:
>
> You should use the ssh-agent to avoid needing to enter passwords here.
>
>> root#: svn list svn+ssh://www.mysite.com/home/svn/repository/
>> myproject/
>> root@www.mysite.com's password:
>> bash: svnserve: command not found
>> subversion/libsvn_ra_svn/marshal.c:255: (apr_err=210002)
>> svn: Connection closed unexpectedly
>>
>> what could be the problem ?
>
> After looking at the error message I think I can say with authority
> that the problem is that the "svnserve" command is not found.
>
> Did check that it is installed on the remote system? Did you check
> that it is installed someplace found on PATH on the remote system?
>
> On my system I can verify that svnserve is found with the following:
>
> echo 'type svnserve' | ssh -T svn.myexample.com
> svnserve is /usr/bin/svnserve
>
>> Does my svnserve.conf file need to be modified in some way ?
>
> The error indicates that svnserve is not being run at all yet.
> Changing the configuration file for a command that is not running
> won't have any noticeable effect.
>
> Bob
>
> ---------------------------------------------------------------------
> 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 Sat Jul 1 04:20:50 2006

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

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