You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Ahmed, Omair (GE Oil & Gas)" <om...@ge.com> on 2012/09/17 16:00:33 UTC

Unable to connect to SVN repository

Hello,

 

I am a brand new SVN user - day 3. 

 

Following the documentation, I installed and configured a repository and
imported some test data into it. I can access the repository on the SVN
host using the "file:/// <file:///\\> " convention but access the
repository using the TortoiseSVN client (1.7.9) from a client PC.

 

The error message is: URL 'svn://X.XX.XXX.XXX/Sandbox_SVN_Repo' doesn't
exist

 

>From the client PC, I can

 

-          Ping the SVN host where the repository is located

-          Telnet to port 3690 OK

-          On the SVN host, the repository was created using the
TortoiseSVN 1.7.9 (64 Bit client)

-          - On the client PC, I am using TortoiseSVN 1.7.9 (32 Bit
client) 

-          SVN: 1.7.6 / TortoiseSVN: 1.7.9

 

I am using the vanilla SVN connection - so there's no authentication
required.  I've also restarted the "svnserver service on SVN repo host"
as well as rebooted the server.

 

Can anyone please advise as to what might be going on?

 

Thank you.

Omair 

 

 

 


Re: Unable to connect to SVN repository

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Ahmed, Omair (GE Oil & Gas),
am Montag, 17. September 2012 um 16:44 schrieben Sie:

> Do I need to create a "svnserve" for each repo?

Not if all repos are in the folder which is provided by root, that's
how I do it. I don't even know if root can be used to serve only one
repo.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon.............030-2 1001-310
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


Re: Unable to connect to SVN repository

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Sep 17, 2012 at 10:44:39AM -0400, Ahmed, Omair (GE Oil & Gas) wrote:
> Do I need to create a "svnserve" for each repo?

No.

svnserve will try to access repositories relative to the path you
pass for --root, by appending to --root the path which follows the
hostname part given in the svn:// URL.

So you need to pass the parent directory of your repositories as
--root parameter, rather than the repository itself. Then you can
access each repository by using its name in the svn:// URL.

RE: Unable to connect to SVN repository

Posted by "Ahmed, Omair (GE Oil & Gas)" <om...@ge.com>.
This is the syntax I used to create the service. The "D:\MUXBOPCS" is the name of our production repo. It's empty right now. I created a test repo on the same server called "Sandbox_SVN_Repo" which has a couple of dirs & files in it. 

Do I need to create a "svnserve" for each repo?



C:\Users\>sc create svnserve binpath= "\"D:\Program Files\TortoiseSVN\bin\svnserve.exe\" --service --root D:\MUXBOPCS" displayname= "Subversion Server" depend= tcpip start= auto
[SC] CreateService SUCCESS

-----Original Message-----
From: Thorsten Schöning [mailto:tschoening@am-soft.de] 
Sent: Monday, September 17, 2012 9:29 AM
To: users@subversion.apache.org
Subject: Re: Unable to connect to SVN repository

Guten Tag Ahmed, Omair (GE Oil & Gas),
am Montag, 17. September 2012 um 16:00 schrieben Sie:

> The error message is: URL 'svn://X.XX.XXX.XXX/Sandbox_SVN_Repo' 
> doesn't exist

What's the exact path to your created repo and how is svnserve started? Normally you have to provide the root path for your repos, like in my example:

C:\Programme\CollabNet\Subversion Client\svnserve --service --listen-port 3690 --root "D:\Subversion\Quellen"

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon.............030-2 1001-310
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


Re: Unable to connect to SVN repository

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Ahmed, Omair (GE Oil & Gas),
am Montag, 17. September 2012 um 16:00 schrieben Sie:

> The error message is: URL 'svn://X.XX.XXX.XXX/Sandbox_SVN_Repo' doesn't
> exist

What's the exact path to your created repo and how is svnserve
started? Normally you have to provide the root path for your repos,
like in my example:

C:\Programme\CollabNet\Subversion Client\svnserve --service --listen-port 3690 --root "D:\Subversion\Quellen"

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon.............030-2 1001-310
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


Re: Unable to connect to SVN repository

Posted by Stefan Sperling <st...@elego.de>.
On Mon, Sep 17, 2012 at 10:00:33AM -0400, Ahmed, Omair (GE Oil & Gas) wrote:
> The error message is: URL 'svn://X.XX.XXX.XXX/Sandbox_SVN_Repo' doesn't
> exist

What parameters are you passing to svnserve?

There is probably a mismatch between where the -r option says the
repository is and the URL you're trying to use.