From owner-freebsd-questions@FreeBSD.ORG Fri Feb 25 14:15:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E312106566B for ; Fri, 25 Feb 2011 14:15:42 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id D70338FC21 for ; Fri, 25 Feb 2011 14:15:41 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1PsySB-000J5q-7G; Fri, 25 Feb 2011 09:15:40 -0500 Received: from v105.entropy.prv (v105.entropy.prv [192.168.1.105]) by cube.entropy.prv (Postfix) with ESMTP id 3E1DE4B1E9D9; Fri, 25 Feb 2011 09:15:30 -0500 (EST) Message-ID: <4D67B982.6030601@FreeBSD.org> Date: Fri, 25 Feb 2011 09:15:30 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, mexas@bristol.ac.uk References: <20110225092303.GA2086@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20110225092303.GA2086@mech-cluster241.men.bris.ac.uk> X-Enigmail-Version: 1.1.1 OpenPGP: id=1C940290 X-SA-Exim-Connect-IP: 68.189.245.235 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: ** X-Spam-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, TVD_RCVD_IP autolearn=no version=3.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: Subject: Re: setting up svn server - Connection refused X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2011 14:15:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2/25/11 4:23 AM, Anton Shterenlikht wrote: > I'm learning how to set up svn server. > I've read through several sections of > http://svnbook.red-bean.com/nightly/en/ > > Here's what I do: > > ZEEV> svnadmin create /home/mexas/zzz > ZEEV> svnlook info zzz > > 2011-02-25 09:15:28 +0000 (Fri, 25 Feb 2011) > 0 > ZEEV> svnserve -d > ZEEV> ps ax | grep svnserve > 66952 ?? Ss 0:00.01 /usr/local/bin/svnserve.bin -d > ZEEV> mkdir /home/mexas/zzz.work > ZEEV> cd /home/mexas/zzz.work/ > > When I try to connect to the svn server, I get this: > > > ZEEV> svn co svn://localhost/home/mexas/zzz . > svn: Can't connect to host 'localhost': Network is unreachable > ZEEV> svn co svn://10.10.10.14/home/mexas/zzz . > svn: Can't connect to host '10.10.10.14': Connection refused > > ZEEV> ifconfig em1 > em1: flags=8843 metric 0 mtu 1500 > options=209b > ether 00:13:21:5b:05:1d > inet 10.10.10.14 netmask 0xffffff00 broadcast 10.10.10.255 > inet6 fe80::213:21ff:fe5b:51d%em1 prefixlen 64 scopeid 0x5 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active > ZEEV> > > I get exactly the same "Connection refused" if I > connect from another host. > > I turned the firewall off completely. > > What could be the problems? > > Many thanks > Anton > Hi Anton, The first place that I'd start is checking if the TCP port for svnserve is listening for connections: netstat -an | grep 3690 If it isn't, then something is not working correctly when svnserve starts in daemon mode. If it is listening, then something is still blocking the connection from your svn client to the TCP port. The fact that you're getting a "localhost: Network is unreachable" error is strange. What is the output of "/sbin/ifconfig -a" and "netstat -rn"? Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1nuYIACgkQ0sRouByUApAhIACeOBk9/CGcoj3rsg49P97u8ql3 LnYAoMTjq71cLafJi/NACTU4gIsB2VOE =XTJF -----END PGP SIGNATURE-----