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

Problem with svn as Windows service

From: Mikael Lindsten <mikli485_at_student.liu.se>
Date: Thu, 15 May 2008 07:36:20 +0200

Hi,

I don't know if this is the right place to ask, but I'm facing a problem
when following the guide provide by svn.collab.net for setting up svnserve
as a Windows service (
http://svn.collab.net/repos/svn/trunk/notes/windows-service.txt). I've been
looking around but can't seem to find anyone else having this problem.

I've successfully registered a service with the following command:

sc create svn binpath= "\"C:\Program Files\Subversion\bin\svnserve.exe\"
--service --root U:\svn_repository" displayname= "Subversion Server" depend=
Tcpip

When I try to (maually) start the service however, I get the two timeout
errors in the event logs:
"The service did not respond to the start or control request in a timely
fashion."
"Timeout (30000 milliseconds) waiting for the Subversion Server service to
connect."

I've found that these errors can occur when autostarting a sevice if it
depends on some other service that might not have been started yet. However,
I get these errors trying to start the service manually!

What's more is that the error message pops up only 1 or 2 seconds (!) after
i select "Start" on the service. I thought these messages meant that it took
more than 30 seconds to start the service. What can be the reason for this?

Executing
"C:\Program Files\Subversion\bin\svnserve.exe\" --daemon --root
U:\svn_repository
from the command prompt works just fine!

I hope someone can shine some light on my problem or point me somewhere
where I can get help. Thanks in advance!

/ Mikael
Received on 2008-05-15 10:29:30 CEST

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.