Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-10-2006, 06:08 PM   #1
spacemonk
Confirmed User
 
Join Date: Jul 2004
Location: in da VIP
Posts: 969
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?
__________________
I sale fu-fme, hit me up for a killer deal!
spacemonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:09 PM   #2
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
No clue but here is a bump and pic to cheer you up


Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:10 PM   #3
Spider Ninja
Registered User
 
Join Date: Nov 2005
Location: NYC ICQ: 320970274
Posts: 2,051
Quote:
Originally Posted by Juicy D. Links
No clue but here is a bump and pic to cheer you up


funny pic
Spider Ninja is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:10 PM   #4
spacemonk
Confirmed User
 
Join Date: Jul 2004
Location: in da VIP
Posts: 969
Quote:
Originally Posted by Juicy D. Links
No clue but here is a bump and pic to cheer you up


lol juicy
__________________
I sale fu-fme, hit me up for a killer deal!
spacemonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:14 PM   #5
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
Quote:
Originally Posted by Juicy D. Links
No clue but here is a bump and pic to cheer you up


__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:20 PM   #6
spacemonk
Confirmed User
 
Join Date: Jul 2004
Location: in da VIP
Posts: 969
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
__________________
I sale fu-fme, hit me up for a killer deal!
spacemonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:22 PM   #7
blazin
Confirmed User
 
Join Date: Aug 2002
Posts: 2,781
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.
__________________
I don't endorse a god damn thing......
blazin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:25 PM   #8
spacemonk
Confirmed User
 
Join Date: Jul 2004
Location: in da VIP
Posts: 969
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 :\
__________________
I sale fu-fme, hit me up for a killer deal!
spacemonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:26 PM   #9
koreanbbque
Confirmed User
 
Join Date: Dec 2003
Location: Riverside and San Diego
Posts: 688
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.
__________________
KBBQ
2 3 1 6 1 8 8 1 6
koreanbbque is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:29 PM   #10
blazin
Confirmed User
 
Join Date: Aug 2002
Posts: 2,781
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?!?
__________________
I don't endorse a god damn thing......
blazin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:33 PM   #11
spacemonk
Confirmed User
 
Join Date: Jul 2004
Location: in da VIP
Posts: 969
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..
__________________
I sale fu-fme, hit me up for a killer deal!
spacemonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:34 PM   #12
spacemonk
Confirmed User
 
Join Date: Jul 2004
Location: in da VIP
Posts: 969
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
__________________
I sale fu-fme, hit me up for a killer deal!
spacemonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:45 PM   #13
spacemonk
Confirmed User
 
Join Date: Jul 2004
Location: in da VIP
Posts: 969
8char bump
__________________
I sale fu-fme, hit me up for a killer deal!
spacemonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 06:56 PM   #14
Fuckin Bill
Confirmed User
 
Join Date: Feb 2003
Posts: 1,020
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.
Fuckin Bill is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 07:02 PM   #15
sandman!
Icq: 14420613
 
sandman!'s Avatar
 
Industry Role:
Join Date: Mar 2001
Location: chicago
Posts: 15,431
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
__________________
Need WebHosting ? Email me for some great deals [email protected]
sandman! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 07:03 PM   #16
spacemonk
Confirmed User
 
Join Date: Jul 2004
Location: in da VIP
Posts: 969
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?
__________________
I sale fu-fme, hit me up for a killer deal!
spacemonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 07:07 PM   #17
teksonline
So Fucking Banned
 
Join Date: Jan 2005
Location: At My Desk
Posts: 2,904
tek

I can look at it but I am not going to sit and play consultant for 3 hours
icq 48721721
aim freebsdteks
teksonline is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-10-2006, 07:22 PM   #18
toddler
Confirmed User
 
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
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...
'
toddler is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.