Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-09-2008, 03:35 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 26

Rep: Reputation: 15
Strangest FTP error on RHEL5. gFTP works. RHEL4 works too.

Heres the deal. Just did a hardware / OS upgrade on one of the servers we have here. We have a couple of scripts that ftp files to some sort of EDI processor. The FTP has been failing since we cut over to the new box.

CLI from RHEL5 does not work. The client just hangs.
GUI from RHEL5 works as it should.
CLI from RHEL4 works as it should.

We have tried command line FTP from a number of RHEL5 and CentOS5 boxes, and none of them successfully connect. They all just hang.

Ive tried stracing it, but I dont understand very much of the output, however it looks like it just hangs, where as the RHEL4 boxes make it past that point.

I know its not a problem with the IP address, or a firewall issue because the GUI (gFTP) works as it should.

Ive even gone so far as to install yafc, which will not connect, nor will it connect using a RHEL4 box as an ftp proxy.

Im at my wits end. I just can't come up with a viable workaround...
Old 04-10-2008, 08:29 AM   #2
LQ Newbie
Registered: Oct 2003
Posts: 26

Original Poster
Rep: Reputation: 15
After contacting redhat support and going through a few things, they suggested this solution:

Execute below command and then try to ftp to the server from RHEL5.
# echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

If this works you can make the settings permanent by adding line to
/etc/sysctl.conf as below.
net.ipv4.tcp_window_scaling = 0

It is kind of a "the internet is broken" issue. Starting with the 2.6.7
kernel, TCP Window Scaling was enabled. This is defined in RFC 1323, penned
back in 1992. Apparently, some parts of the internet are still broken.

Here's some further reading on this:

LWN article:

and the "discussion" from LKML:

Props to redhat for a quick solution!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Suggestion.. Intel MotherBoard that works well with RHEL4.4 romeo_tango Linux - Hardware 6 02-28-2007 02:06 AM
Mounting works, playing music works, reading tags doesn't Celettu Linux - Newbie 7 08-23-2006 12:27 PM
pppoeconf do not works on notebook while it works on desktop ...same configuration sarajevo Debian 2 06-12-2006 02:57 PM
DNS look up works, ping only works for some sites any ideas? Mantrout Linux - Wireless Networking 3 01-29-2006 11:59 AM
XAWTV works, videodog works, motion works but how to code my own? rylan76 Linux - Hardware 0 01-06-2006 06:30 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration