[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: Bob Proulx <bob_at_proulx.com>
Date: 2006-07-01 04:03:38 CEST

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
Received on Sat Jul 1 04:04:45 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.