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

Running svnserve 1.4.0 as a service under Windows 2000 (a solution)

From: <dolphin__at_gmx.net>
Date: 2006-10-17 22:31:13 CEST

Hi there,

this is my first post to this list. I want to help those people out that
had the same problems I had to get svnserve V1.4.0 running as a service
under Windows 2000.

By following the instructions on
http://svn.collab.net/repos/svn/tags/1.4.0/notes/windows-service.txt I
couldn't get the service run correctly. I always got an error message
when trying to start the service. A quick check with Windows XP showed,
that the instructions work well with Windows XP, so I guess this Problem
is Windows 2000 specific.

To solve the start problems of the service, simply add "type= own" to
the sc command line. Using the example from the text file, the command
line must look like the following for Windows 2000 (I think it will work
with Windows XP too):

sc create <name> binpath= "c:\svn\bin\svnserve.exe --service <svn-args>"
displayname= "Subversion Repository" depend= Tcpip type= own

If you compare the help output of "sc create" under Windows 2000 and
Windows XP you notice that the default for "type" seems to have changed
from "share" (Win2k) to "own" (WinXP).

Perhaps one of the developers can add this information to the
"windows-service.txt" in the next release of Subversion. This thing
causes great headaches, especially since the services.msc tool doesn't
show the service type. The error message you get when trying to start
the service doesn't help either, since it doesn't mention that one
should check the service type. Instead it is misleading (at least it was
for me)

Hope this post helps some other peoples out there out of trouble ;)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 17 22:32:21 2006

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

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