LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FTP log analysis (https://www.linuxquestions.org/questions/linux-newbie-8/ftp-log-analysis-873431/)

linux_beginer 04-06-2011 03:47 PM

FTP log analysis
 
!!!!Hello Everyone!!!


Wed Apr 6 15:29:50 2011 [pid 23733] [FTP_SBH] FTP response: Client "10.0.20.54", "230 Login successful."
Wed Apr 6 15:29:50 2011 [pid 23733] [FTP_SBH] FTP command: Client "10.0.20.54", "CWD LIC_EFT_Inbox"
Wed Apr 6 15:29:50 2011 [pid 23733] [FTP_SBH] FTP response: Client "10.0.20.54", "250 Directory successfully changed."
Wed Apr 6 15:29:50 2011 [pid 23733] [FTP_SBH] FTP command: Client "10.0.20.54", "PORT 10,0,20,54,193,1"
Wed Apr 6 15:29:50 2011 [pid 23733] [FTP_SBH] FTP response: Client "10.0.20.54", "200 PORT command successful. Consider using PASV."
Wed Apr 6 15:29:50 2011 [pid 23733] [FTP_SBH] FTP command: Client "10.0.20.54", "STOR LIC_SIEFTPMTFAIL_05042011.txt"
Wed Apr 6 15:29:50 2011 [pid 23733] [FTP_SBH] FTP response: Client "10.0.20.54", "150 Ok to send data."
Wed Apr 6 15:29:50 2011 [pid 23733] [FTP_SBH] FTP response: Client "10.0.20.54", "426 Failure reading network stream."
Wed Apr 6 15:29:50 2011 [pid 23733] [FTP_SBH] FAIL UPLOAD: Client "10.0.20.54", "/LIC_EFT_Inbox/LIC_SIEFTPMTFAIL_05042011.txt", 0.00Kbyte/sec


This is my logs for vsftpd.
I am not able to troubleshoot why the error "426 Failure reading network stream." is comming.
What are the possible reasons for this error?

!!!THANX!!!

savona 04-06-2011 04:06 PM

What client are you using?

Are you able to ping without any lose or really high times?

Have you tried using PASV mode as suggested in the logs?

linux_beginer 04-06-2011 04:54 PM

Quote:

Originally Posted by savona (Post 4316324)
What client are you using?

Are you able to ping without any lose or really high times?

Have you tried using PASV mode as suggested in the logs?

I dont know the ftp client. Because users are uploading the files from remote site. How it can be a problem of ftp client?

We are using the passive mode only.

Pinging is also ok.

gilead 04-06-2011 08:20 PM

I'm not sure if it's related since your error says reading, rather than writing, but the VSFTPD FAQ has this:
Code:

Q) Help! I'm getting the error "426 Failure writing network stream." on downloads.
A) You shouldn't see this with v1.2.1 or newer versions of vsftpd. Older
versions of vsftpd can give this error if the user tries to download
something from an unusual filesystem (e.g. FAT), which don't support
performance features used by vsftpd. With vsftpd-1.1.3 and newer there is a
config workaround, use_sendfile=NO.


linux_beginer 04-06-2011 08:45 PM

Quote:

Originally Posted by gilead (Post 4316501)
I'm not sure if it's related since your error says reading, rather than writing, but the VSFTPD FAQ has this:
Code:

Q) Help! I'm getting the error "426 Failure writing network stream." on downloads.
A) You shouldn't see this with v1.2.1 or newer versions of vsftpd. Older
versions of vsftpd can give this error if the user tries to download
something from an unusual filesystem (e.g. FAT), which don't support
performance features used by vsftpd. With vsftpd-1.1.3 and newer there is a
config workaround, use_sendfile=NO.


But my vsftpd version is 2.0.1-5.EL4.5

lieutdan13 01-26-2012 12:12 PM

I know this is an old post, but did you ever figure out what was going on? I'm having the same issue.


All times are GMT -5. The time now is 03:10 AM.