You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Steven Woody <na...@gmail.com> on 2007/08/26 18:14:48 UTC

Problem of running svnserver.exe as service

the svnserver is 1.44, i run below at command prompt:

sc create svn.local binpath= "\"c:\Program
Files\Subversion\bin\svnserve.exe\" --service --root d:\svn.repos"
displaynam= "Subversion Repository" depend= Tcpip

the service was created successfully, but when i tried to start it, i
always got an error: The dependency service does not exist or has been
marked for deletion.

i changed the 'depend' name, but whatever i did, the result was the
same.  i think i am not so well understand how to specify the
'depend=' option.

-- 
woody

then sun rose thinly from the sea and the old man could see the other
boats, low on the water and well in toward the shore, spread out
across the current.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problem of running svnserver.exe as service

Posted by si <ss...@gmail.com>.
Hi Erik,

> > Incidently, this should help mitigate any security vulnerabilities
> > (e.g. svn v1.4.5 ;-)
>
> I do see the smiley, but would like to stress that 1.4.5 is a
> *client-side only* security risk. And a mild one at that. *No* servers
> are at risk.

Fair enough, my apologies if I caused any confusion.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problem of running svnserver.exe as service

Posted by Erik Huelsmann <eh...@gmail.com>.
On 8/28/07, si <ss...@gmail.com> wrote:
> Hi Steven,
>
> On 8/27/07, Steven Woody <na...@gmail.com> wrote:
> > the svnserver is 1.44, i run below at command prompt:
> >
> > sc create svn.local binpath= "\"c:\Program
> > Files\Subversion\bin\svnserve.exe\" --service --root d:\svn.repos"
> > displaynam= "Subversion Repository" depend= Tcpip
> >
> > the service was created successfully, but when i tried to start it, i
> > always got an error: The dependency service does not exist or has been
> > marked for deletion.
>
> Do the docs here help?
>
> http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-svnserve.html#tsvn-serversetup-svnserve-3
> (watch for wrap)
>
> Inparticular:
>
> sc create svnserve binpath= "c:\svnserve\svnserve.exe --service -root
> c:\repos" displayname= "Subversion" depend= tcpip start= auto
>
> Note that I also recommend suffixing obj= "NT AUTHORITY\LocalService"
> to that command and configuring your file systems permissions to suit.
> Incidently, this should help mitigate any security vulnerabilities
> (e.g. svn v1.4.5 ;-)

I do see the smiley, but would like to stress that 1.4.5 is a
*client-side only* security risk. And a mild one at that. *No* servers
are at risk.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problem of running svnserver.exe as service

Posted by si <ss...@gmail.com>.
Hi Steven,

On 8/27/07, Steven Woody <na...@gmail.com> wrote:
> the svnserver is 1.44, i run below at command prompt:
>
> sc create svn.local binpath= "\"c:\Program
> Files\Subversion\bin\svnserve.exe\" --service --root d:\svn.repos"
> displaynam= "Subversion Repository" depend= Tcpip
>
> the service was created successfully, but when i tried to start it, i
> always got an error: The dependency service does not exist or has been
> marked for deletion.

Do the docs here help?

http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-svnserve.html#tsvn-serversetup-svnserve-3
(watch for wrap)

Inparticular:

sc create svnserve binpath= "c:\svnserve\svnserve.exe --service -root
c:\repos" displayname= "Subversion" depend= tcpip start= auto

Note that I also recommend suffixing obj= "NT AUTHORITY\LocalService"
to that command and configuring your file systems permissions to suit.
Incidently, this should help mitigate any security vulnerabilities
(e.g. svn v1.4.5 ;-)

hope that helps
si

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problem of running svnserver.exe as service

Posted by Mark Phippard <ma...@gmail.com>.
On 8/26/07, Steven Woody <na...@gmail.com> wrote:
> the svnserver is 1.44, i run below at command prompt:
>
> sc create svn.local binpath= "\"c:\Program
> Files\Subversion\bin\svnserve.exe\" --service --root d:\svn.repos"
> displaynam= "Subversion Repository" depend= Tcpip
>
> the service was created successfully, but when i tried to start it, i
> always got an error: The dependency service does not exist or has been
> marked for deletion.
>
> i changed the 'depend' name, but whatever i did, the result was the
> same.  i think i am not so well understand how to specify the
> 'depend=' option.

It is a hard command to get the syntax 100% right.  If you use the
CollabNet Subversion installer it has an option to just set it up for
you:

http://downloads.open.collab.net/collabnet-subversion.html

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org