You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Anton Burkun <an...@gmail.com> on 2008/08/27 17:33:12 UTC
DNS and svn executable
Hi All!
How svn executable use system to resolve host IP?
I running next line with EXEC from script
svn checkout --username=*** --password=***
http://opensvn.csie.org/lecom_web_site /home/lecom/public_html
I get error:
svn: PROPFIND request failed on '/lecom_web_site'
svn: PROPFIND of '/lecom_web_site': Could not resolve hostname
`opensvn.csie.org': Host not found (http://opensvn.csie.org)
But when:
svn checkout --username=*** --password=***
http://140.112.172.10/lecom_web_site /home/lecom/public_html
All ok.
WHY?
Anton.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: DNS and svn executable
Posted by Matthew Pounsett <ma...@conundrum.com>.
On 27-Aug-2008, at 15:24 , Anton Burkun wrote:
> But my hosting admin says what no problems with DNS resolution.
> Pinging my host goes.
> And I try to move repository to another server - problem is still
> present.
Ping is not DNS. Your server can respond to a ping without needing to
do a successful DNS lookup.
What happens if, on the server where svn is failing, you type in "dig
+short opensvn.csie.org"? If DNS on that server is working, then
you'll get the IP address back. If you don't get the address, or see
some sort of error, then you've got a DNS problem.
I suppose it's theoretically possible that when you compiled svn it
failed to link in the correct libraries to be able to successfully
call gethostbyname()... but that seems pretty unlikely.
By any chance did you compile this on one system and then move it to
another one? If so, check to make sure that all the relevant
libraries are present, and at the same version.
Re: DNS and svn executable
Posted by Anton Burkun <an...@gmail.com>.
But my hosting admin says what no problems with DNS resolution. Pinging
my host goes.
And I try to move repository to another server - problem is still present.
Matthew Pounsett пишет:
> On 27-Aug-2008, at 13:33 , Anton Burkun wrote:
>
>> Hi All!
>>
>> How svn executable use system to resolve host IP?
>
> svn just uses the system resolver. So, if it's failing to look up that
> host name, it's either because the host doesn't exist in DNS, or
> because of a problem with the DNS resolution path between the host and
> the authoritative name server.
>
> That could be a problem with the stub resolver on the host itself, or
> a problem with its upstream caching resolver, or something upstream
> from there.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: DNS and svn executable
Posted by Matthew Pounsett <ma...@conundrum.com>.
On 27-Aug-2008, at 13:33 , Anton Burkun wrote:
> Hi All!
>
> How svn executable use system to resolve host IP?
svn just uses the system resolver. So, if it's failing to look up
that host name, it's either because the host doesn't exist in DNS, or
because of a problem with the DNS resolution path between the host and
the authoritative name server.
That could be a problem with the stub resolver on the host itself, or
a problem with its upstream caching resolver, or something upstream
from there.