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

Re: svnserve as Win2K Service?

From: A. Alfred Ayache <alfred_at_lastbyte.ca>
Date: 2006-11-07 06:18:28 CET

Thanks, Kevin. I've located sc.exe and downloaded it (not from MS). I've
successfully added and removed svnserve as a service.

Unfortunately, I couldn't actually get the service to work for me. Here's what
I did.

Starting it as a standalone daemon:

svnserve -d -r g:\svnrepo

Works fine.

Then starting it as a service:

sc create svnserve binpath= "D:\Program Files\Subversion\bin\svnserve.exe
--service --root g:\svnrepo" displayname= "Subversion" depend= tcpip start= auto
[SC] CreateService SUCCESS

When I try to do an Update via Tsvn, I get:

Error: Can't connect to host 'localhost': No connection could be made because
the target machine actively refused it.

Should I make some changes to the svnserve.conf file?

Thanks!

A. Alfred Ayache
http://lphs76.ca - Reunion community
http://www.rentersPlus.com - Apartment Search
http://www.lastbyte.ca - Web Design, eCommerce, PHP/MySQL, Java, Oracle

Kevin Greiner wrote:
>
> On 11/6/06, *A. Alfred Ayache* <alfred@lastbyte.ca
> <mailto:alfred@lastbyte.ca>> wrote:
>
> The documentation says to use sc create svnserve ... But there is
> no such
> program. Googling <windows 2000 service create> yields references to:
>
> <path>\reskit\INSTSRV.EXE "Service Name" <path>\reskit\SRVANY.EXE
>
> But you need to download INSTSRV and SRVANY from MS.
>
> Am I missing something here?
>
>
> As http://svn.collab.net/repos/svn/tags/1.4.0/notes/windows-service.txt
> <http://svn.collab.net/repos/svn/tags/1.4.0/notes/windows-service.txt>
> states, svn 1.4 includes all the codes necessary to run as a service
> itself. There's no need for srvany. The sc.exe references in the readme
> is included with Windows XP and 2003 Server but on Windows 2000, you'll
> need to download the resource kit. See
> http://support.microsoft.com/kb/251192 for the details.
>
> --------------------------------
>
>
> Spam/Virus scanning by CanIt Pro
>
> For more information see http://www.kgbinternet.com/SpamFilter.htm
>
> To control your spam filter, log in at http://filter.kgbinternet.com
>
> ------------------------------------------------------------------------
>
> Spam
> <http://filter.kgbinternet.com/canit/b.php?c=s&i=5145681&m=ad98575ed5bd>
> Not spam
> <http://filter.kgbinternet.com/canit/b.php?c=n&i=5145681&m=ad98575ed5bd>
> Forget previous vote
> <http://filter.kgbinternet.com/canit/b.php?c=f&i=5145681&m=ad98575ed5bd>
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.409 / Virus Database: 268.13.28/518 - Release Date: 11/4/2006

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Nov 7 06:15:44 2006

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

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