![]() |
wget timeout errors on linux, help
Im having problems connecting 2 of my servers.
One is a thumb server and another is for php / mysql. The script syncs thumbs by itself every x minutes. It was all working fine untill a few hours ago, now its saying it cant connect to the thumb server. They are both with the same company. Both servers are up and working normaly but server 1 cant connect to server 2 I tried to fetch a page from box2 via wget and it resolves the ip but then just hangs untill it times out.... Any ideas how to fix? |
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
My colleague had a similar problem recently with wget... something to do with spawning processes... not sure what the solution was though so can't help..
..but an alternative is to use rsync. |
Quote:
|
things i would check
/etc/hosts ( make sure server2 or server2 aren't pointing to some random IP ) check your iptables ( if you're running red hat ) % iptables -L make sure server2 IP isn't being blocked for some odd reason. then try telneting directly to port 80 % telnet server2 80 if you get a response saying Connected to server2 Escape Character is '^]'. if that works.. then wget is probably feked. |
Kill all the current processes and try increasing the time between syncs.
Just a wild guess but maybe its not completing the last one before the next one starts?!? |
Quote:
hosts is ok, im running fedora core 3 (iptables command not found), telnet hangs just like wget does after it resolves the ip.. Uh.. |
Quote:
|
8char bump
|
Do pages come up ok from machine 2 in a browser? Can you download just a thumb, and not a page, from machine 2?
Maybe load is too high and it just really is timing out. I would tend to think your problem is on the machine sending, not on the machine trying to pull. If wget works for other sites, you've either got a problem with the DNS where you are using wget, or a problem on the machine's response time you are trying to grab from. You could also check to make sure there's nothing in any htaccess files or the apache config that might be blocking wget. Do wget --help at a prompt and use the switch to tell it to report itself as IE or Netscape and see if that works. |
im assuming yout talking about st5 you can use rsync and set paths to thumbs in your template for hotlinking if you dont get your server fixed hit me up and i will show you want you need to do and what you need to tell your tech to do when it comes to setting up rsync
|
Quote:
Also.. If i try it the other way around (wget box1 from box2) same timeout happens... Maybe some messed up firewall setup? |
tek
I can look at it but I am not going to sit and play consultant for 3 hours
icq 48721721 aim freebsdteks |
Quote:
your aim name can be misconstrued :) can you connect from A -> B || B <- A via other means? From the 'telnet hangs' I'm guessing not. Can you ping the other host? traceroute it? Nmap it? the fact the iptables isn't found certainly does not mean its not installed and running. look in /sbin... ' |
| All times are GMT -7. The time now is 06:19 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123