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

RE: Error with subversion service and NAT

From: Jason Malinowski <jason_at_jason-m.com>
Date: Mon, 3 Aug 2009 20:59:15 -0700

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_at_jmeiersoftware.de [mailto:j.meier_at_jmeiersoftware.de]
> Sent: Monday, August 03, 2009 8:20 AM
> To: dev_at_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
> <bert_at_qqmail.nl> ***************
> >
> >
> > > -----Original Message-----
> > > From: j.meier_at_jmeiersoftware.de [mailto:j.meier_at_jmeiersoftware.de]
> > > Sent: maandag 3 augustus 2009 14:41
> > > To: dev_at_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
Received on 2009-08-04 07:17:15 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.