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

Problem connecting to svnserve - not sure about protocols?

From: ClassJuggler Information <info_at_classjuggler.com>
Date: 2006-12-16 20:24:17 CET

Hi all,

I have a svnserve daemon running on a LAN server (dual G4 Powermac)
at address 192.168.1.101.

I am trying to connect to the server and checkout a project using an
Intel MacBook client connected to the same network.

Running svn --version gives the following on both machines (server
and laptop client):

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV)
protocol.
   - handles 'http' scheme
* ra_svn : Module for accessing a repository using the svn network
protocol.
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme

I am not running Apache 2.x so I believe I cannot use the http://
method to connect to a subversion server. Let me know if I am
mistaken on this. So this leaves me with file:///, svn://, and svn
+ssh:// for connection methods.

I would like to be able to use any of the above methods (depending on
where I am located at the time - remote or local). I am only able to
get the file:/// method to work however. I appreciate the help
debugging my connection issues. Here are my attempts to connect
using the three methods from above:

The project repository on the server is located at /Library/WebServer/
Documents/pjb2

1) Try using svn checkout svn://192.168.1.101/Library/WebServer/
Documents/pjb2 /projects
This runs for two minutes or more before reporting back with svn:
Can't connect to host '192.168.1.101': Operation timed out

2) Try using svn checkout svn+ssh://192.168.1.101/Library/WebServer/
Documents/pjb2 /projects
It immediately prompts me for my password: Password:********
I then get the error message
bash: line 1: svnserve: command not found
svn: Connection closed unexpectedly
I can, however, SSH into the machine just fine using ssh -l jkoerber
192.168.1.101, although I am not sure how I am supposed to pass my
userid (admin user on server) in the svn+ssh command? I even tried:
svn --username jkoerber checkout svn+ssh://192.168.1.101/Library/
WebServer/Documents/pjb2 /projects
but got the same errors.

3) Try using svn checkout svn checkout file:///Volumes/DEV/Library/
WebServer/Documents/pjb2 /projects
This works fine and starts, slowly, to checkout all of the files in
the project to my local working copy. I am not sure if this is a
good way to work with Subversion, however, since I basically have to
connect to the server first in the Finder (filesystem) and then do a
full path to the server repository in the file:/// pathname.

I am keen to debug the svn:// and svn+ssh:// methods as I think these
will be the most appropriate to use.

Thanks for the help.
Received on Mon Dec 18 15:29:36 2006

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