views:

88

answers:

1

I have installed SlikSVN and I'm trying to set up svnserve. SlikSvn is installed in C:\Program Files\SlikSvn and C:\Program Files\SlikSvn\bin is in the path.

the registry entry for the service is currently

svnserve.exe --service -r "C:\SVNReposities" DisplayName= "Subversion" depend= Tcpip start= auto

however when I try and start the service I get the following error

Could not start SVNService service on Local Computer Error 1053: The service did not respond to the start or control request in a timely fashion.

If I change the registry entry to

svnserve.exe --service -r "C:\SVNReposities"

The service starts correctly, I can't figure out what is wrong with the second half of the statement, does anyone know what is wrong or have any resources that could help me solve this problem?

A: 

I got it working

The solutions was to deleted the service I already created, and then followed the following instructions on tortise svn website.

http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-svnserve.html

I created the service with the following command
sc create svnserve binpath= "\"C:\Program Files\SlikSvn\bin\svnserve.exe\" --service --root C:\SVNReposities" displayname= "Subversion" depend= tcpip start= auto

and the resulting registry entry was
"C:\Program Files\SlikSvn\bin\svnserve.exe" --service --root C:\SVNReposities

I believe the problem was I didn't escape the double quotes correctly when creating the service. This caused the register entries to be created incorrectly and the DisplayName, depend and start were left on the end of the ImagePath Registry entry.

The end result was when SVN Serve started, it consumed the the entire line as the root directory which couldn't be found causing the service to not start.

TheLukeMcCarthy