On 6/6/2010 10:47 PM, Keith Moore wrote:
Hello,

I have a physical (not virtual) Windows Server 2003 box set up with 
svnserve.exe running as an auto start windows service.  svnserve starts with 
the following command line.

"<path to>\svnserve.exe" --service -r "D:\Repositories" --listen-port "3690" --log-file 
"C:\Logs\svnserve.log"

The repositories are on a SAN (that is D: drive is on the SAN) that the box links to 
using iSCSI.  When the [Windows] server is restarted the svnserve service attempts to 
start but fails with an error "The Subversion Server service failed to start due to 
the following error: The service did not respond to the start or control request in a 
timely fashion."

However, if I wait for windows to boot fully and then manually start the 
service it works.

If I change the repository root to the C: drive, which is a physical disk on 
the server, the service starts normally on a reboot.  I'm guessing that I need 
to make the svnserve service dependent on some other service/device but I can't 
work out which one.

Does anyone have any experience with this type of setup and/or can anyone offer 
suggestions as to how I can ensure that the svnserve service starts normally 
when the server is rebooted?


You need to add dependency for tcpip

depend= Tcpip

You can do this interactively in the service manager or from the command line.

My service creation "command"  looked something like the following:

sc create svnserve binpath= "\"E:\Program Files\Subversion\bin\svnserve.exe\" --service -r E:\SVN" displayname= "Subversion Server" depend= Tcpip start= auto

Reply via email to