Date: Fri, 25 Feb 2011 14:36:31 +0000 From: Frank Shute <frank@shute.org.uk> To: freebsd-questions@freebsd.org Subject: Re: setting up svn server - Connection refused Message-ID: <20110225143631.GA16253@orange.esperance-linux.co.uk> In-Reply-To: <20110225092303.GA2086@mech-cluster241.men.bris.ac.uk> References: <20110225092303.GA2086@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 25, 2011 at 09:23:03AM +0000, 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/ >=20 > Here's what I do: >=20 > ZEEV> svnadmin create /home/mexas/zzz > ZEEV> svnlook info zzz >=20 > 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/ >=20 > When I try to connect to the svn server, I get this: >=20 >=20 > ZEEV> svn co svn://localhost/home/mexas/zzz . > svn: Can't connect to host 'localhost': Network is unreachable This sounds like it's a problem with your routing table. Does: $ netstat -r show a destination of localhost? $ ping localhost is useful. > ZEEV> svn co svn://10.10.10.14/home/mexas/zzz . > svn: Can't connect to host '10.10.10.14': Connection refused That's more hopeful. Don't know what's wrong though! >=20 > ZEEV> ifconfig em1 > em1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15= 00 > options=3D209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,= WOL_MAGIC> > 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=20 > nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > ZEEV>=20 >=20 > I get exactly the same "Connection refused" if I > connect from another host. >=20 > I turned the firewall off completely. >=20 > What could be the problems? >=20 It was a few years ago that I setup my svn repository and I referenced the book you're using too.=20 I launch it out of inetd.conf. I've got the line: svn stream tcp nowait frank /usr/local/bin/svnserve svnserve -i in there. Fixed hosts.allow to only allow machines on the lan to connect and it works well. Sorry I can't be more helpful but a different approach to running a daemon permanently is probably a good idea. Regards, --=20 Frank Contact info: http://www.shute.org.uk/misc/contact.html --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1nvm4ACgkQHduKvUAgeK5ZeQCgj/Hj9GAZBM7GUcASse0kuiVT nJAAmgLmGFRuAGgrCfdmnNjHZ4Pcn8pH =2EaC -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110225143631.GA16253>
