Solved

FTP 426 errors and 1236 win32_status

Posted on 2009-05-05
15
1,760 Views
Last Modified: 2013-12-02
I have ftp server working  on windows 2003 standard edition SP2. During uploading files from ftp client program to ftp server (IIS6.0 ftp site), errors occurs sporadically. There is no pattern about error happening. It occurs by random.Files are not big. In the ftp log file, I find 426 1236 error message. What causing this error, and how to avoid this error?
When I run this ftp client program on the test ftp server it works fine, but when I try it on the production, FTP 426 errors and 1236 win32_status occur in the IIS6.0 ftp log
0
Comment
Question by:NevenKV
  • 7
  • 6
  • 2
15 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
Hi,
1236 means that the network connection was aborted locally, and FTP error 426 is indicates a connection being closed.
Thus I suspect a timeout problem. Is your production server or the network between server and client overloaded from time to time?
Try to increase the timeout value, either on the server or the client side. Which FTP client do you use?
wmp
 
0
 

Author Comment

by:NevenKV
Comment Utility
Hi,
Thank You for Your comment.
To be more precise with the situation that I'am dealing with I will explain my problem with ftp again:
ftp client that was developed by my company works fine with test ftp server (win2003 sp2 iis6.0), and also with one of our two production servers. Now ,those two production servers are on a different geographical areas (two separate LAN's). Access to them is over vpn tunnel. Those two servers are NOT the same considering their hardware. Could it be some kind of security problem when ftp client accessing production server and ftp log say: FTP 426 errors and 1236 win32_status
The ftp client connects to the ftp site ok, passes it's authentication and starts to download files from the server, but at some point (randomly) uploading files failed with the above error code, and if there is more files to process, wheter it is for download or upoload it continuous with or without having the same error?!!!! The ftp client uses passive mode.  
0
 
LVL 68

Expert Comment

by:woolmilkporc
Comment Utility
Remains the possibility of a timeout, caused by network or server congestion.
As for security - if this was the cause transfers shouldn't even begin!
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
Any reason why you are developing and using your own ftp client, instead of using one of the many that are already out there?

Can you test with another client and see if you get the same 426 error?
0
 

Author Comment

by:NevenKV
Comment Utility
Hi,
sorry for not answering earlier. I wasn't in the office for a couple of days so I coudn't test ftp client for that time.
Now, I 'm performing some test with another freeware ftp client and I still get the same error: 426 errors and 1236 win32_status. This happens only on servers that are on the certain LAN, and it happens during uploading files on those ftp servers. The file is uploaded and just after, the ftp iis 6.0 log report this error. I am not sure is the cause of the problem some firewall issue, but if I have 10 files that are to be uploaded on the ftp server, they will be uploaded except randomly one or two of them are uploaded with the above error.
I just can't find the cause of this problem.

thanx
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
I would suggest getting something like wireshark (http://www.wireshark.org) and doing a packet capture to see which side is doing what.

It is possible that there is a device  (IPS, IDS, Firewall, something else) that is causing enough packets to drop that the ftp client is dieing.

What freeware ftp client are you using?  I never seen (noticed) an ftp client giving a win32_status before.
0
 

Author Comment

by:NevenKV
Comment Utility
I'am using for the testing purposes Core FTP LE - free Windows software that includes the client FTP features, and as I said I get the same error in ftp iis log 426 1236 (this happens only during the upload...the file uploads "completely" (all bytes are uploaded to the ftp server) and when the ftp server should say: OK transfer completed 226 code....it generates 426 1236?????

Thanx for the sugestion regarding wireshark.

0
Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

 
LVL 57

Expert Comment

by:giltjr
Comment Utility
O.K., what that could be is a timeout on the command/control connection.  Most ftp servers have a timeout, IIS's ftp server defaults to 900 seconds (15 minutes).

Typically what will happen is if you have a single transfer that takes longer than the timeout value the command/control connection will be terminated but the data transfer connection will continue until the transfer is completed.

If you have access to the ftp server, you may want to check the timeout value.

Less often, but still happens, is if you are using a ftp proxy server or a device doing NAT.  Either one of these may also have a timeout per connection and if you have a large file transfer then the command/control connection would sit idle for awhile.  I'm not sure if Core FTP LE has "keepalive" option or not, some ftp clients do.  You may want to poke around the Core FTP LE's settings and see if it has a keepalive option.  If it does, enable it and see if your problems still exist.
0
 

Author Comment

by:NevenKV
Comment Utility
giltjr, timeouts on one ftp server is 900 seconds, and on the other is 120, so I don't think that the reason for error, since both of those two servers generates 426 1236.

Also the files that I'm dealing with are not so big. Up to 900KB, but most of them are 20KB. 426 1236 happens randomly during upload, and as I said..I try to upload , let's say, 10 files automatically, some files during this proces uploads OK, but with some the situation is like this:.the file uploads "completely" (all bytes are uploaded to the ftp server) and when the ftp server should say: OK transfer completed 226 code....it generates 426 1236?????
"I'm not sure if Core FTP LE has "keepalive" option or not, some ftp clients do.  You may want to poke around the Core FTP LE's settings and see if it has a keepalive option.  If it does, enable it and see if your problems still exist." - Core FTP LE has keepalive option, and it is by default configured with 15 seconds.

Here is the post from some site where someone has the "same" problem, or at least I think that, because of the post:
" We have ftp server on windows 2003 standard edition SP2. During uploading files from ftp script client to ftp server, errors occurs sporadically. There is no rules about error happening. It occurs by random.Files are not big, about 1-2 KB. In the ftp log file, we find 426 1236 error message. How to avoid this error?"

reply to this post is:
"If x64 operating system is, do the following
Open a DOS window and you type
 
>netsh int ip set chimney DISABLE
reboot
 
 
 This disables TOE (TCP Offloading Engine). "

I don't now what this solution is, and is it applicable at my site. I have x32 bit operating system (windows 2003 standard edition SP2)





0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
I would still get wireshark and do a trace to see what is happening.

Are there any devices between your computer and the ftp servers that could be acting like a firewall?
0
 

Author Comment

by:NevenKV
Comment Utility
Yes there is, cisco pix501.
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
O.K., then if you have access to the PIX you may want to set it up to capture traffic since it is in the middle and that is the best place to capture it.  You can use wireshark to look at a PIX packet capture.

If you do not have access to the PIX or for company policy reasons can't set it up to capture traffic, then you will need to try and capture traffic on both sides of it.

This way you can see what is happening on both the server and client side.
0
 

Author Comment

by:NevenKV
Comment Utility
Ok. thanx.I will try to capture traffic on my PC and on the ftp server.
0
 

Accepted Solution

by:
NevenKV earned 0 total points
Comment Utility
giltjr and woolmilkporc thanx for Your's kind support. It seems that I solved the problem in a way that I disabled TOE (TCP Offloading Engine) on one of my ftp servers that was generating ftp error 426 1236


cmd prompt:
 
>netsh int ip set chimney DISABLE
reboot
 This disables TOE (TCP Offloading Engine).


After that, for the past 24 hours my ftp client works just fine, not a single 426 1236 error, and I hope that it will coninue to work fine.
One again thanx for Your's prompted support


0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
Glad you found it.  It seems that Windows has problems with TOE.
0

Featured Post

Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

Join & Write a Comment

Samba is the de-facto standard program (or, more correctly: suite of programs) that UNIX and Linux systems use to share files with Microsoft Windows (and more recently, Mac OS-X) systems. Currently, there are 2 common versions of Samba available,…
Have you ever stumbled upon a software that is so great that you just love? It happened to me. Love at first sight. Filezilla Server.   Ok its not the most advanced ftp server I've came across. But its a fairly simple piece of software to get the …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now