LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2014, 08:31 AM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Rep: Reputation: 33
vsftpd : 426 Failure writing network stream


Hello,

I'm seeing the following in the vsftpd logs :

Code:
Mon Jan 20 15:21:59 2014 [pid 8297] [polycom] FTP response: Client "::ffff:192.168.1.115", "200 Switching to Binary mode."
Mon Jan 20 15:21:59 2014 [pid 8297] [polycom] FTP command: Client "::ffff:192.168.1.115", "SIZE 2345-12500-001.bootrom.ld"
Mon Jan 20 15:21:59 2014 [pid 8297] [polycom] FTP response: Client "::ffff:192.168.1.115", "213 4638280"
Mon Jan 20 15:21:59 2014 [pid 8297] [polycom] FTP command: Client "::ffff:192.168.1.115", "RETR 2345-12500-001.bootrom.ld"
Mon Jan 20 15:21:59 2014 [pid 8297] [polycom] FTP response: Client "::ffff:192.168.1.115", "150 Opening BINARY mode data connection for 2345-12500-001.bootrom.ld (4638280 bytes)."
Mon Jan 20 15:21:59 2014 [pid 8297] [polycom] FTP response: Client "::ffff:192.168.1.115", "426 Failure writing network stream."
I've already found on the internet that the solution lies within :

Code:
use_sendfile=NO
I've added that to the file /etc/vsftpd/vsftpd.conf, but still the same error in the FTP logs.

Thanks for your help.
 
Old 01-20-2014, 04:35 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
No answers, only questions:
What's the Vsftpd version?
What's the file system (wrt "use_sendfile") the files are on?
Is there a firewall in place?
Does this happen only with this client or to others as well?
With only this file or also with smaller files?
Does the problem occur when using another FTP client?
Does enabling debug mode / stracing on the server and client side show any clues?
*If this doesn't get resolved then do check if there's a vstfpd users mailing list or else email Chris Evans (scarybeasts@gmail.com).
 
Old 01-21-2014, 07:13 AM   #3
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by unSpawn View Post
What's the Vsftpd version?
What's the file system (wrt "use_sendfile") the files are on?
Is there a firewall in place?
Does this happen only with this client or to others as well?
With only this file or also with smaller files?
Does the problem occur when using another FTP client?
Does enabling debug mode / stracing on the server and client side show any clues?
- version : vsFTPd 3.0.2
- file system : ext4 (Fedora 19 standard)
- firewall : disabled
- I can download the file with Firefox browser on another client on the network, no problem here
- Only with this file (is Polycom firmware file)
- I can download the file with Firefox browser, no problem here
- the only debugging I have is from /var/log/vsftpd.log (log output in my first post)
 
Old 01-21-2014, 01:24 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Quote:
Originally Posted by jonaskellens View Post
the only debugging I have is from /var/log/vsftpd.log (log output in my first post)
Can you strace Vsftpd on the server and the FTP client on the client side?
 
Old 01-22-2014, 02:21 AM   #5
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 632

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by unSpawn View Post
Can you strace Vsftpd on the server and the FTP client on the client side?
What do you mean by "strace" ?

The FTP client here is a Polycom IP-phone and the FTP-server is vsftpd on Fedora 19.
 
Old 01-23-2014, 01:05 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Quote:
Originally Posted by jonaskellens View Post
What do you mean by "strace" ?
There's a Cornucopia of nfo at your fingertips:
Code:
for i in apropos which whereis whatis "man -k" locate "yum info"; do $i strace; done

Quote:
Originally Posted by jonaskellens View Post
The FTP client here is a Polycom IP-phone and the FTP-server is vsftpd on Fedora 19.
Then client side won't work. Unsure if this is you or applies to you: http://community.polycom.com/t5/VoIP...eam/td-p/48919
 
  


Reply


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
Files Upload fails due to "Failure reading network stream" error. vikaskadam Red Hat 2 07-09-2011 12:31 AM
vsFTPd 426 message driving me crazy djg09 Linux - Newbie 1 05-03-2009 05:28 AM
vsftpd reverts to original MTU mid-stream spacerailroad Red Hat 2 11-13-2007 08:22 PM
VSFTPD: 451 Failure writing to Local File while uploading files warofwords Linux - Server 5 06-13-2007 07:10 AM
FTP: vsftpd 451 Failure writing to local file xrender Linux - Networking 4 07-14-2006 04:33 AM


All times are GMT -5. The time now is 02:44 AM.

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