You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "j.meier@jmeiersoftware.de" <j....@jmeiersoftware.de> on 2009/08/03 12:40:34 UTC
Error with subversion service and NAT
Hi,
I cannot start the Svnserve.exe as a windows service when the repository lies on a NAT with a mapped drive letter. Documentation states to use
sc create svnserve binpath= "C:\myFolder\svnserve.exe --service -r J:\subversion" ...
The "J:\Subversion" is my NAT
When starting the service I get an errormessage stating that the service didn't respond in time.
When I start svnserve as a daemon (svnserve -d --root j:\Subversion) everything runs fine.
Server runs Windows Vista Business SP1
SvnServe is 1.6.3 (r38063)
Hope this is of any help for you
Bob
J�rg Meier Software - Entwicklung � Steinfelder Stra�e 11 � 27404 Br�mmerhof
Tel. 0171 701 14 47 �
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2379515
RE: Error with subversion service and NAT
Posted by Bert Huijben <rh...@sharpsvn.net>.
> -----Original Message-----
> From: j.meier@jmeiersoftware.de [mailto:j.meier@jmeiersoftware.de]
> Sent: maandag 3 augustus 2009 14:41
> To: dev@subversion.tigris.org
> Subject: Error with subversion service and NAT
>
> Hi,
> I cannot start the Svnserve.exe as a windows service when the
> repository lies on a NAT with a mapped drive letter. Documentation
> states to use
> sc create svnserve binpath= "C:\myFolder\svnserve.exe --service -r
> J:\subversion" ...
> The "J:\Subversion" is my NAT
> When starting the service I get an errormessage stating that the
> service didn't respond in time.
> When I start svnserve as a daemon (svnserve -d --root j:\Subversion)
> everything runs fine.
> Server runs Windows Vista Business SP1
> SvnServe is 1.6.3 (r38063)
Subversion usage questions should be sent to users {AT} subversion.tigris.org, this list is on developing subversion itself.
I assume you are talking about NAS (Network attached storage) here? (Not NAT = Network Address Translation).
In that case "J:\" is a network drive mapping, and drive mappings are per user and unavailable for services. You should use the UNC path instead.
Bert
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2379530
RE: Error with subversion service and NAT
Posted by Jason Malinowski <ja...@jason-m.com>.
Which account do you have the service running under? If you have it running
under a normal user account there's a _possible_ chance it might work, but I
still doubt it. Bert is quite correct in insisting that mapped drives do not
apply to services, as they are per-session. In fact, try elevating a process
under Vista UAC and observe that the network drives that are mapped before
elevation don't even appear to the elevated process! So not only are they
per-user but in Vista and beyond is even more specific!
Jason Malinowski
> -----Original Message-----
> From: j.meier@jmeiersoftware.de [mailto:j.meier@jmeiersoftware.de]
> Sent: Monday, August 03, 2009 8:20 AM
> To: dev@subversion.tigris.org
> Subject: RE: Error with subversion service and NAT
>
> Hi Bert,
> well, hmmmm, must have misunderstood something.
> I wanted to report a bug and I red in the instructions to contact this
> address first.
>
> I still think it's a bug, your advice to use the UNC with the --root
option
> doesn't work ether.
> Fact is: as long as I ommit -r or use the local drive it works
>
> The drive mapping IS available afak for a Service, specially when the user
> (administrator) is logged on
> and the service is started manually (which is here the case).
>
> And
> of course I'm talking about NAS! Sorry, mistranslated - misused - mistyped
-
> mist!
>
> Regards
> Bob
>
> *********** Am 03.08.2009 15:34:05 schrieb ihnen Bert Huijben
> <be...@qqmail.nl> ***************
> >
> >
> > > -----Original Message-----
> > > From: j.meier@jmeiersoftware.de [mailto:j.meier@jmeiersoftware.de]
> > > Sent: maandag 3 augustus 2009 14:41
> > > To: dev@subversion.tigris.org
> > > Subject: Error with subversion service and NAT
> > >
> > > Hi,
> > > I cannot start the Svnserve.exe as a windows service when the
> > > repository lies on a NAT with a mapped drive letter. Documentation
> > > states to use
> > > sc create svnserve binpath= "C:\myFolder\svnserve.exe --service -r
> > > J:\subversion" ...
> > > The "J:\Subversion" is my NAT
> > > When starting the service I get an errormessage stating that the
> > > service didn't respond in time.
> > > When I start svnserve as a daemon (svnserve -d --root
j:\Subversion)
> > > everything runs fine.
> > > Server runs Windows Vista Business SP1
> > > SvnServe is 1.6.3 (r38063)
> >
> > Subversion usage questions should be sent to users {AT}
> subversion.tigris.org, this list is on developing subversion itself.
> >
> >
> > I assume you are talking about NAS (Network attached storage) here?
> (Not NAT = Network Address Translation).
> >
> > In that case "J:\" is a network drive mapping, and drive mappings
are
> per user and unavailable for services. You should use the UNC path
instead.
> >
> > Bert
> >
>
> ------------------------------------------------------
>
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=237
9
> 565
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2379844
RE: Error with subversion service and NAT
Posted by "j.meier@jmeiersoftware.de" <j....@jmeiersoftware.de>.
Hi Bert,
well, hmmmm, must have misunderstood something.
I wanted to report a bug and I red in the instructions to contact this address first.
I still think it's a bug, your advice to use the UNC with the --root option doesn't work ether.
Fact is: as long as I ommit -r or use the local drive it works
The drive mapping IS available afak for a Service, specially when the user (administrator) is logged on
and the service is started manually (which is here the case).
And
of course I'm talking about NAS! Sorry, mistranslated - misused - mistyped - mist!
Regards
Bob
*********** Am 03.08.2009 15:34:05 schrieb ihnen Bert Huijben <be...@qqmail.nl> ***************
>
>
> > -----Original Message-----
> > From: j.meier@jmeiersoftware.de [mailto:j.meier@jmeiersoftware.de]
> > Sent: maandag 3 augustus 2009 14:41
> > To: dev@subversion.tigris.org
> > Subject: Error with subversion service and NAT
> >
> > Hi,
> > I cannot start the Svnserve.exe as a windows service when the
> > repository lies on a NAT with a mapped drive letter. Documentation
> > states to use
> > sc create svnserve binpath= "C:\myFolder\svnserve.exe --service -r
> > J:\subversion" ...
> > The "J:\Subversion" is my NAT
> > When starting the service I get an errormessage stating that the
> > service didn't respond in time.
> > When I start svnserve as a daemon (svnserve -d --root j:\Subversion)
> > everything runs fine.
> > Server runs Windows Vista Business SP1
> > SvnServe is 1.6.3 (r38063)
>
> Subversion usage questions should be sent to users {AT} subversion.tigris.org, this list is on developing subversion itself.
>
>
> I assume you are talking about NAS (Network attached storage) here? (Not NAT = Network Address Translation).
>
> In that case "J:\" is a network drive mapping, and drive mappings are per user and unavailable for services. You should use the UNC path instead.
>
> Bert
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2379565