Portal Home > Knowledgebase > Articles Database > failed: No route to host error
failed: No route to host error
Posted by sharmaine1111, 04-11-2010, 11:24 PM |
I am trying to wget files
I get failed: No route to host error
I am particular that the path is correct. When I do that from the browser, i can get the files
What's odd is when i tried to ping the server where i am getting the files from, the ping checks for other servers not mine. I dont even know who's ip is that
for example
server 1.1.1.1 is wgeting file from 2.2.2.2
I ping 2.2.2.2 from 1.1.1.1
PING 2.2.2.2 (2.2.2.2 ) 56(84) bytes of data.
64 bytes from 2.2.2.30: icmp_seq=1 ttl=56 time=12.1 ms
64 bytes from 2.2.2.30: icmp_seq=2 ttl=56 time=12.0 ms
64 bytes from 2.2.2.30: icmp_seq=3 ttl=56 time=12.4 ms
64 bytes from 2.2.2.30: icmp_seq=4 ttl=56 time=11.8 ms
I dont even know who's the owner of server 2.2.2.30 but that is what happening
I have another server 3.3.3.3
I ping 2.2.2.2 from 3.3.3.3 and no problems
PING 2.2.2.2 (2.2.2.2 ) 56(84) bytes of data.
64 bytes from 2.2.2.2: icmp_seq=1 ttl=56 time=12.1 ms
64 bytes from 2.2.2.2: icmp_seq=2 ttl=56 time=12.0 ms
64 bytes from 2.2.2.2: icmp_seq=3 ttl=56 time=12.4 ms
64 bytes from 2.2.2.2: icmp_seq=4 ttl=56 time=11.8 ms
why is that when i ping 2.2.2.2 from server 1.1.1.1 i get a different ip?
This may be the reason why i can wget file from 2.2.2.2 to 1.1.1.1
|
Posted by TBradley, 04-12-2010, 01:10 AM |
It is the reason, check with your hosting provider/datacenter. They should be able to resolve the issue, as it is most likely an issue on their end.
|
Posted by david510, 04-12-2010, 02:36 AM |
See if this is working.
|
Posted by TBradley, 04-12-2010, 02:39 AM |
That is what I am getting as well. Who is your datacenter/hosting provider, this seems like an issue on their end.
|
Posted by linux-image, 04-12-2010, 02:44 AM |
Why don't you do a traceroute from 1.1.1.1 to 2.2.2.2 and see if the trace is going through ? You can also try stopping the firewall at 1.1.1.1 for some time and then try a wget ?
|
Posted by madaboutlinux, 04-12-2010, 03:34 AM |
Is the 3.3.3.3 server in the same Data Center as 1.1.1.1 is? If yes, check the resolvers of both the servers and see if they are different, if they are, make sure they are same and then ping 2.2.2.2 from 1.1.1.1
|
Posted by assistanz247, 04-12-2010, 05:31 AM |
Hello,
It should be a networking issue with your DC or a misconfiguration with your server's network configuration, try using the following command,
route -n
this command should display the correct routes. If you still receive errors you may need to contact your DC.
|
Posted by inspiron, 04-12-2010, 08:29 AM |
Check the output of the following given below commands,
# ifconfig -a
# route -n
|
Posted by shawn_linux, 04-13-2010, 10:11 AM |
wget doamin.com/path
here it looks like the dns of the ht you are trying to wget is not working.
The no route to host is displayed in such circumstances.
|
Add to Favourites Print this Article
Also Read
SMART errors (Views: 808)