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

Re: issue 1145 is resolved in subserve version 1.4.0?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-11-09 08:54:06 CET

On 11/8/06, Catto, James (Corp) <James.Catto@coates.com.au> wrote:
>
>
>
> Hi Erik and Ryan,
>
> Thanks for your replies.
>
> Apologies for not including xinetd configuration - I thought this may not be
> relevant because the tunneling worked, but bearing in mind what Ryan says,
> this may be a factor after all. I have managed to run SVN in this mode on a
> different server in the past using xinetd. Unfortunately I have lost the
> config files I used then and I cannot remember what version I used at that
> time. Anyway, here is my config for xinetd:
>
>
>
> $ cat /etc/xinetd.d/svn
>
> # SVNSERVE : bespoke server for Subversion (SVN) source control system.
>
> # description: SVN is served through this server.
>
> # It has basic encryption.
>
> #
>
> service svn
>
> {
>
> disable = no
>
> socket_type = stream
>
> protocol = tcp
>
> port = 3690
>
> wait = no
>
> user = svn
>
> server = /usr/bin/svnserve
>
> server_args = svnserve -i
>
> }
>
>
>
> $ grep 'svn' /etc/services
>
> svn 3690/tcp # Subversion
>
> svn 3690/udp # Subversion
>
>
>
> I know the server is running:
>
>
>
> $ ps -ef | grep xinetd
>
> root 1410 1 0 Nov07 ? 00:00:00 xinetd -stayalive -pidfile
> /var/run/xinetd.pid
>
> svn 20250 18846 0 09:21 pts/2 00:00:00 grep xinetd
>
>
>
> And I know this is the correct location of the svn server:
>
> $ ls -l /usr/bin/svnserve
>
> -rwxr-xr-x 1 root root 51160 Sep 12 16:44 /usr/bin/svnserve
>
>
>
> Can you see anything in my xinetd config which is amiss?
>
> When I try as you suggest Erik, it seems to be able to connect, but gets
> closed straight away:
>
>
>
> $ telnet localhost 3690
>
> Trying 127.0.0.1...
>
> Connected to localhost.localdomain (127.0.0.1).
>
> Escape character is '^]'.
>
> Type 'svnserve --help' for usage.
>
> Connection closed by foreign host.
>
>
>
> Do you know what this means?

It probably means xinetd is configured correctly to start svnserve,
but svnserve isn't finding the arguments it requires on the command
line. Try removing 'svnserve' from the server_args line as suggested
in http://www.unix-girl.com/blog/archives/001486.html

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 9 08:54:58 2006

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.