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

RE: Subversion 1.6 on Fedora: Cannot resolve hostname

From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Fri, 22 May 2009 11:16:22 +0200

> I've just installed Subversion 1.6.4 on one machine, and now that
> machine is complaining that it cannot resolve the hose name.
>
> Here's my output:
>
> #Here's the software version
>
> $ svn --version
> svn, version 1.6.1 (r37116)
> compiled Apr 13 2009, 16:35:55
>
> Copyright (C) 2000-2009 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet
> (http://www.Collab.Net/).
>
> The following repository access (RA) modules are available:
>
> * ra_neon : Module for accessing a repository via WebDAV protocol using
> Neon.
> - handles 'http' scheme
> - handles 'https' scheme
> * ra_svn : Module for accessing a repository using the svn network
> protocol.
> - with Cyrus SASL authentication
> - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
> - handles 'file' scheme
> * ra_serf : Module for accessing a repository via WebDAV protocol using
> serf.
> - handles 'http' scheme
> - handles 'https' scheme
>
>
> # Can I contact the server?
>
> $ ping subversion
> PING subversion.solbright.com (10.14.78.251) 56(84) bytes of data.
> 64 bytes from 10.14.78.251: icmp_seq=1 ttl=64 time=1.11 ms
> 64 bytes from 10.14.78.251: icmp_seq=2 ttl=64 time=0.266 ms
> ^C
> --- subversion.solbright.com ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 1329ms
> rtt min/avg/max/mdev = 0.266/0.690/1.115/0.425 ms
>
> # Okay, server is found. Let's do a "svn ls"
>
> $ svn ls http://subversion/dev
> svn: OPTIONS of 'http://subversion/dev': Could not resolve hostname
> `subversion': Host not found (http://subversion)
>
> # No good: Go to another machine
>
> $ ssh build_at_aladdin
> Last login: Thu May 14 15:14:24 2009 from 10.14.78.95
>
> $svn --version
> svn, version 1.3.0 (r17949)
> compiled Feb 18 2008, 06:21:17
>
> Copyright (C) 2000-2005 CollabNet.
> Subversion is open source software, see http://subversion.tigris.org/
> This product includes software developed by CollabNet
> (http://www.Collab.Net/).
>
> The following repository access (RA) modules are available:
>
> * ra_dav : Module for accessing a repository via WebDAV (DeltaV)
> protocol.
> - handles 'http' scheme
> * ra_svn : Module for accessing a repository using the svn network
> protocol.
> - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
> - handles 'file' scheme
>
>
> # Same command works!
> $ svn ls http://subversion/dev
> modules/
> templates/
> tools/
>
> By the way, I can from the first machine, pull up a web browser and
> get to http://subversion/dev. When I try from the command line, I get
> that the server couldn't resolve the name..
>

Maybe the problem is solved already, since it's been a while (I'm catching up with some mailinglist backlog). But if not: I'd check out proxy settings, proxy server, ...

As opposed to the "ping subversion", the "svn ls http://subversion" might go via a proxy server (which then has to do the hostname resolving itself). As for pulling up a web browser: that might have different proxy settings (excludes, ...), so maybe it is not affected.

To eliminate possible causes, you could also try a wget or curl of http://subversion/dev from the command line, to see if it can resolve the hostname ...

Regards,
Johan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2352821

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-22 11:17:38 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.