GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   wget timeout errors on linux, help (https://gfy.com/showthread.php?t=574639)

spacemonk 02-10-2006 06:08 PM

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?

Juicy D. Links 02-10-2006 06:09 PM

No clue but here is a bump and pic to cheer you up


http://gl4l.com/images/juicyface.jpg

Spider Ninja 02-10-2006 06:10 PM

Quote:

Originally Posted by Juicy D. Links
No clue but here is a bump and pic to cheer you up


http://gl4l.com/images/juicyface.jpg

funny pic :glugglug :glugglug :glugglug

spacemonk 02-10-2006 06:10 PM

Quote:

Originally Posted by Juicy D. Links
No clue but here is a bump and pic to cheer you up


http://gl4l.com/images/juicyface.jpg

lol juicy

woj 02-10-2006 06:14 PM

Quote:

Originally Posted by Juicy D. Links
No clue but here is a bump and pic to cheer you up


http://gl4l.com/images/juicyface.jpg

:1orglaugh

spacemonk 02-10-2006 06:20 PM

Quote:

Originally Posted by spacemonk
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?

Forgot to mention, wget works for other sites, just this one is timing out

blazin 02-10-2006 06:22 PM

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.

spacemonk 02-10-2006 06:25 PM

Quote:

Originally Posted by blazin
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.

thanks for the reply... rsync isnt an option unfortunately as I have no control over the script code which is zend encoded :\

koreanbbque 02-10-2006 06:26 PM

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.

blazin 02-10-2006 06:29 PM

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?!?

spacemonk 02-10-2006 06:33 PM

Quote:

Originally Posted by koreanbbque
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.

Thanks,

hosts is ok, im running fedora core 3 (iptables command not found), telnet hangs just like wget does after it resolves the ip..

Uh..

spacemonk 02-10-2006 06:34 PM

Quote:

Originally Posted by blazin
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?!?

Its not running at the moment, thanks though

spacemonk 02-10-2006 06:45 PM

8char bump

Fuckin Bill 02-10-2006 06:56 PM

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.

sandman! 02-10-2006 07:02 PM

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

spacemonk 02-10-2006 07:03 PM

Quote:

Originally Posted by Fuckin Bill
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.

Yup everything works fine from a browser. Load is also normal...
Also.. If i try it the other way around (wget box1 from box2) same timeout happens...

Maybe some messed up firewall setup?

teksonline 02-10-2006 07:07 PM

tek
 
I can look at it but I am not going to sit and play consultant for 3 hours
icq 48721721
aim freebsdteks

toddler 02-10-2006 07:22 PM

Quote:

Originally Posted by teksonline
I can look at it but I am not going to sit and play consultant for 3 hours
icq 48721721
aim freebsdteks


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