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

RE: newbie: run snvserve and client on the same box

From: <Ullrich.Jans_at_elektrobit.com>
Date: Mon, 21 Sep 2009 10:32:16 +0200

ask wrote:
> PC. Linux Fedora
> I have tried run the server and client on my Fedora box. I have
> problem in xinetd mode
>
> 1) First I run the server in daemon mode
> svnserve -d -r /something
> The client talked to server well without problem.
> svn info svn://localhost
> 2)Now I tried in xinetd mode
> svbserve -i -r /something
> Then run
> svn info svn://localhost
> It failed, can not connect to localhost, connection refused

In inetd mode, you don't start svnserve. Inetd does it for you.

However, you have to configure inetd to know about svn, otherwise you get the behaviour you're experiencing.

Depending on if you have inetd or xinetd, you have to configure them:

inetd:

Add to /etc/inetd.conf:

svn stream tcp nowait <userid_your_repo_belongs_to> /usr/local/bin/svnserve -i -r /something

Then reload inetd to start the service.

For xinetd, you need something similar, but I can't write that config file off the top of my head. ;-)

> I looked in /etc/services
> svn was listed there.

It should be, for my inetd.conf to work... ;-)

I hope this helps.

Best regards

Ullrich Jans

-- 
Ullrich Jans, Application Support, IM
Phone: +49 9131 7701-6627, mailto:ullrich.jans_at_elektrobit.com 
Fax: +49 9131 7701-6333, www.elektrobit.com
Elektrobit Automotive GmbH, Am Wolfsmantel 46, 91058 Erlangen, Germany
Managing Directors: Otto Fößel, Jarkko Sairanen
Register Court Fürth HRB 4886 
----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2397250
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-21 11:36:21 CEST

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.