1

Temat: vsftpd and "426 Failure writing network stream"

Hello,

i am always getting this vsftpd error: "426 Failure writing network stream". I am using block-extroot with ext2 flash drive and when I try to get data ( typically from 350 MB - 1 GB)  from this drive via ftp after while I get the error. I tried suggested setting: use_sendfile=NO and slower the speed of transfer as well. But it has not help. Do you have any ideas how to solve this problem?

Thanks

2

Odp: vsftpd and "426 Failure writing network stream"

Ten sam problem u mnie, tyle że z wysyłaniem dużych plików do rutera. Przykładowy log:

Fri Oct 12 11:28:44 2012 [pid 26837] CONNECT: Client "78.30.123.250"
Fri Oct 12 11:28:44 2012 [pid 26837] FTP response: Client "78.30.123.250", "220 ftp server ready"
Fri Oct 12 11:28:44 2012 [pid 26837] FTP command: Client "78.30.123.250", "USER nik"
Fri Oct 12 11:28:44 2012 [pid 26837] [nik] FTP response: Client "78.30.123.250", "331 Please specify the password."
Fri Oct 12 11:28:44 2012 [pid 26837] [nik] FTP command: Client "78.30.123.250", "PASS <password>"
Fri Oct 12 11:28:44 2012 [pid 26836] [nik] OK LOGIN: Client "78.30.123.250"
Fri Oct 12 11:28:44 2012 [pid 26838] [nik] FTP response: Client "78.30.123.250", "230 Login successful."
Fri Oct 12 11:28:44 2012 [pid 26838] [nik] FTP command: Client "78.30.123.250", "OPTS UTF8 ON"
Fri Oct 12 11:28:44 2012 [pid 26838] [nik] FTP response: Client "78.30.123.250", "200 Always in UTF8 mode."
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP command: Client "78.30.123.250", "CWD /usb_mount/2f70d1fb-d9d9-45be-8d21-359a0c9156a/incoming/Fantastic.Planet.1973.DVDRip.XviD-PsyCoSys"
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP response: Client "78.30.123.250", "250 Directory successfully changed."
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP command: Client "78.30.123.250", "TYPE I"
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP response: Client "78.30.123.250", "200 Switching to Binary mode."
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP command: Client "78.30.123.250", "PASV"
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP response: Client "78.30.123.250", "227 Entering Passive Mode (nr,i,p,routera,238,73)."
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP command: Client "78.30.123.250", "LIST"
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP response: Client "78.30.123.250", "150 Here comes the directory listing."
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP response: Client "78.30.123.250", "226 Directory send OK."
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP command: Client "78.30.123.250", "PASV"
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP response: Client "78.30.123.250", "227 Entering Passive Mode (nr,i,p,routera,142,220)."
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP command: Client "78.30.123.250", "REST 245911740"
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP response: Client "78.30.123.250", "350 Restart position accepted (245911740)."
Fri Oct 12 11:28:45 2012 [pid 26838] [nik] FTP command: Client "78.30.123.250", "STOR Fantastic.Planet.1973.DVDRip.XviD-PsyCoSys.avi"
Fri Oct 12 11:30:33 2012 [pid 26799] [nik] FTP response: Client "78.30.123.250", "426 Failure reading network stream."
Fri Oct 12 11:30:33 2012 [pid 26818] [nik] FTP response: Client "78.30.123.250", "150 Ok to send data."
Fri Oct 12 11:30:33 2012 [pid 26824] [nik] FTP response: Client "78.30.123.250", "150 Ok to send data."
Fri Oct 12 11:30:33 2012 [pid 26827] [nik] FTP response: Client "78.30.123.250", "150 Ok to send data."
Fri Oct 12 11:32:33 2012 [pid 26827] [nik] FTP response: Client "78.30.123.250", "426 Failure reading network stream."
Fri Oct 12 11:32:33 2012 [pid 26838] [nik] FTP response: Client "78.30.123.250", "150 Ok to send data."
Fri Oct 12 11:57:31 2012 [pid 26974] CONNECT: Client "37.209.143.239"

Błąd występuje przy wysyłaniu przez WAN. Gdy korzystałem z LANu dawało radę wysyłanie bardzo dużych plików (szybciej niż przez sambę). Dodam, że pomimo błędu udaje się coś tam wysłać, ale jest to paręnaście/parędziesiąt MB przez całą nockę. Pobieranie idzie bez problemów. Openwrt Gargoyle wersja z 2012-03-3.
Gdzie może leżeć problem?

3

Odp: vsftpd and "426 Failure writing network stream"

"426 Failure reading network stream" błąd kiedy doszło do zerwania strumienia danych z sieci. więc samo połączenie coś Ci szwankuje.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

4

Odp: vsftpd and "426 Failure writing network stream"

Łącze po mojej stronie jest faktycznie dość biedne - aero2. Tyle, że pobieranie idzie zazwyczaj po max lub prawie max prędkości neta - 512kbps i to bez żadnych błędów, czy zerwań. Dosyć to dziwne, że pobieranie działa ok, a wysyłanie nie.

5

Odp: vsftpd and "426 Failure writing network stream"

Zmieniłem klienta ftp z Filezilli na mc i biednie, bo biednie, ale jakoś poszło bez zerwań. Nie mam pojęcia dlaczego.