It's possible that when sshd on the remote OS X machine tries to run
svnserve on your behalf, it can't find the executable. Perhaps it's in
a nonstandard location? (see this email to the svn list:
http://svn.haxx.se/users/archive-2004-10/1027.shtml )
That said, sshd should be executing svnserve within a shell that should
have access to your PATH variables -- right? So if you can use svnserve
when logged in via ssh, sshd should be able to run it too.
Try logging into the remote machine with ssh and seeing if you can
execute svnserve. If you can't, that's the problem that you'll have to
fix (probably a path issue). If you can, then perhaps there's some
ssh/sshd configuration problem (maybe in one of your config files
somewhere, ssh or sshd is set to NOT run commands in a subshell?) In
this canse, try making a link from svnserve (where ever it is) to
something like /usr/bin or some obvious place that sshd would look for
it.
Zach Pincus
Department of Biochemistry and Program in Biomedical Informatics
Stanford University School of Medicine
On Feb 24, 2005, at 10:05 AM, Jeff Self wrote:
> I am unable to connect to two different computers running OS X. If I'm
> logged on either one, I can type 'svn list file:///Users/me/svn' to get
> a list of my projects. But I can't get to it from another computer. I
> even tried connecting to my iBook from my iBook using svn+ssh and got
> the same error. The error is:
>
> bash: line 1: svnserve: command not found
> svn: Connection closed unexpectedly.
>
> The first line of the error message doesn't make sense. If I'm logged
> in to that computer, I can type svnserve and get the message about
> specifying which flag to use.
>
> Like I said, I can't get it to work with my iBook or my Mac at home. I
> am able to connect to my Linux box running Subversion from my iBook.
>
> --
> Jeff Self
> Information Technology
> City of Newport News
> 757.926.3741
>
>
> ---------------------------------------------------------------------
> 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 Thu Feb 24 21:58:57 2005