You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Holger Naundorf <ho...@web.de> on 2010/03/19 10:47:17 UTC

Problems running svnserve as Windows service

Hi,

I am trying to run svnserve as a windows service.
At different places (like http://subversion.apache.org/faq.html#svnserve-win-service) I found a very good description of what I have to do.
Unfortunately, when I follow the description, I have no problems registering the Windows service (both on Vista and XP) but on both systems, I cannot start the service.
The command I use for registering is:
sc create svn binpath= "D:\cygwin\bin\svnserve.exe --service -r D:\SubVersionReps\Default" displayname= "Subversion Server" depend= Tcpip start= auto

It seems to me that I have followed everything in the description.
When I try to start the service I get the following error (both on Vista and XP):
C:\>net start svn
The service is not responding to the control function.

More help is available by typing NET HELPMSG 2186.

I have the same problem when I try to start the service through the GUI.
It appears that nobody else has this problem, but I have no idea why this is not working and how I could find out, why it is not working.
Thanks in advance,
Holger Naundorf
___________________________________________________________
WEB.DE DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://produkte.web.de/go/02/

Re: Problems running svnserve as Windows service

Posted by Andy Levy <an...@gmail.com>.
On Fri, Mar 19, 2010 at 06:47, Holger Naundorf <ho...@web.de> wrote:
> Hi,
>
> I am trying to run svnserve as a windows service.
> At different places (like http://subversion.apache.org/faq.html#svnserve-win-service) I found a very good description of what I have to do.
> Unfortunately, when I follow the description, I have no problems registering the Windows service (both on Vista and XP) but on both systems, I cannot start the service.
> The command I use for registering is:
> sc create svn binpath= "D:\cygwin\bin\svnserve.exe --service -r D:\SubVersionReps\Default" displayname= "Subversion Server" depend= Tcpip start= auto
>
> It seems to me that I have followed everything in the description.
> When I try to start the service I get the following error (both on Vista and XP):
> C:\>net start svn
> The service is not responding to the control function.
>
> More help is available by typing NET HELPMSG 2186.
>
> I have the same problem when I try to start the service through the GUI.
> It appears that nobody else has this problem, but I have no idea why this is not working and how I could find out, why it is not working.

What message if any do you have in Event Viewer?

Are you running a Cygwin version of svnserve? Why not the standard
Win32 client? There's no need to use Cygwin except maybe in some very
specific situations, and in fact some weirdness happens when you do
use it instead of native Win32.

Re: Problems running svnserve as Windows service

Posted by Holger Naundorf <ho...@web.de>.
Hi,

this was indeed the problem!
The rest of cygwin runs so great under Windows that it never occurred to me 
that this could be the problem.

Thank you very much,
    Holger Naundorf

----- Original Message ----- 
From: "Bob Archer" <Bo...@amsi.com>
To: "Holger Naundorf" <ho...@web.de>; <us...@subversion.apache.org>
Sent: Friday, March 19, 2010 3:10 PM
Subject: RE: Problems running svnserve as Windows service


>> I am trying to run svnserve as a windows service.
>> At different places (like http://subversion.apache.org/faq.html#svnserve-
>> win-service) I found a very good description of what I have to do.
>> Unfortunately, when I follow the description, I have no problems
>> registering the Windows service (both on Vista and XP) but on both
>> systems, I cannot start the service.
>> The command I use for registering is:
>> sc create svn binpath= "D:\cygwin\bin\svnserve.exe --service -r
>> D:\SubVersionReps\Default" displayname= "Subversion Server" depend= Tcpip
>> start= auto
>>
>
> Why are you trying to run the Cygwin version of svnserve? I'm pretty sure 
> you can only run that if you are in the Cygwin runtime environment. You 
> need to use the native windows binaries.
>
> BOb
> 


RE: Problems running svnserve as Windows service

Posted by Bob Archer <Bo...@amsi.com>.
> I am trying to run svnserve as a windows service.
> At different places (like http://subversion.apache.org/faq.html#svnserve-
> win-service) I found a very good description of what I have to do.
> Unfortunately, when I follow the description, I have no problems
> registering the Windows service (both on Vista and XP) but on both
> systems, I cannot start the service.
> The command I use for registering is:
> sc create svn binpath= "D:\cygwin\bin\svnserve.exe --service -r
> D:\SubVersionReps\Default" displayname= "Subversion Server" depend= Tcpip
> start= auto
> 

Why are you trying to run the Cygwin version of svnserve? I'm pretty sure you can only run that if you are in the Cygwin runtime environment. You need to use the native windows binaries.

BOb