Networking Forums

Networking Forums > Computer Networking > Linux Networking > New server FTP failures - empty files

Reply
Thread Tools Display Modes

New server FTP failures - empty files

 
 
Dienstag W
Guest
Posts: n/a

 
      12-20-2008, 06:47 AM
I am having problems with new server hardware in ftp file tranfers.
(OS - Debian Linux,
It transfers images from a security camera and there is a backup
server with
identical vsftp.conf which works and I am able to compare the
transfers with
vsftpd option log_ftp_protocol=YES .

This is a log comparison of identical file transfers of multiple .jpg
files

A is functional vsftp server (Debian Linux 2.6.12-1-386)
B is failing vsftp server with identical configuration (Debian Linux
2.6.18 #1 SMP)

The failing server receives a couple of files correctly and some with
0 file size.
Here, it fails on line 38 with 0 fail size.

The prevailing pattern is 1 file ok, 2 files 0 size, 1 file ok again.

The differences are:
B lists file name twice - lines 11,2 36,37
B lists "200 PORT command successful. Consider using PASV." and fails
with 0 file size.

Line 26 - A does STOU (store unique)
where B on line 29 a PORT command instead followed by the STOU
command

Why is B behaving differently there?
Somebody suggested a port conflict with exsting ports in use, but how
to debunk this is the question.

01 A [pid 9596] [iqeye01] FTP command: Client "192.168.0.104", "NOOP"
02 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "200
NOOP ok."
03 A [pid 9596] [iqeye01] FTP command: Client "192.168.0.104", "PASV"
04 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "227
Entering Passive Mode (192,168,2,80,236,49)"
05 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "227
Entering Passive Mode (192,168,0,90,203,136)"
06
07 A [pid 9596] [iqeye01] FTP command: Client "192.168.0.104", "STOU
21_27_14.trig+0.jpg"
08 B [pid 6302] [iqeye01] FTP command: Client "192.168.0.104", "STOU
21_19_43.trig+0.jpg"
09
10 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_27_14.trig+0.jpg.1"
11 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_19_43.trig+0.jpg.1"
12 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_19_43.trig+0.jpg.1"
13
14 A [pid 9596] [iqeye01] OK UPLOAD: Client "192.168.0.104", "/mnt/
c0d0p3/IQEYE01/08-12-16-Tue/21_27_14.trig+0.jpg", 262701 bytes,
375.21Kbyte/sec
15 B [pid 6302] [iqeye01] OK UPLOAD: Client "192.168.0.104", "/mnt/
c0d1p1/IQEYE01/08-12-16-Tue/21_19_43.trig+0.jpg", 262713 bytes,
517.57Kbyte/sec
16
17 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "226
File receive OK."
18 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "226
File receive OK."
19
20 A [pid 9596] [iqeye01] FTP command: Client "192.168.0.104", "PASV"
21 B [pid 6302] [iqeye01] FTP command: Client "192.168.0.104", "PASV"
22
23 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "227
Entering Passive Mode (192,168,2,80,189,243)"
24 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "227
Entering Passive Mode (192,168,0,90,225,224)"
25
26 A [pid 9596] [iqeye01] FTP command: Client "192.168.0.104", "STOU
21_27_14.trig+1.jpg"
27 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_27_14.trig+1.jpg.1"
28
29 B [pid 6302] [iqeye01] FTP command: Client "192.168.0.104", "PORT
192,168,0,104,47,227"
30 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "200
PORT command successful. Consider using PASV."
31
32 A [pid 9596] [iqeye01] OK UPLOAD: Client "192.168.0.104", "/mnt/
c0d0p3/IQEYE01/08-12-16-Tue/21_27_14.trig+1.jpg", 261280 bytes,
164.37Kbyte/sec
33 A [pid 9596] [iqeye01] FTP response: Client "192.168.0.104", "226
File receive OK."
34
35 B [pid 6302] [iqeye01] FTP command: Client "192.168.0.104", "STOU
21_19_43.trig+1.jpg"
36 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_19_43.trig+1.jpg.1"
37 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "150
FILE: 21_19_43.trig+1.jpg.1"
38 B [pid 6302] [iqeye01] OK UPLOAD: Client "192.168.0.104", "/mnt/
c0d1p1/IQEYE01/08-12-16-Tue/21_19_43.trig+1.jpg", 0.00Kbyte/sec
39 B [pid 6302] [iqeye01] FTP response: Client "192.168.0.104", "226
File receive OK."

 
Reply With Quote
 
 
 
 
user@domain.invalid
Guest
Posts: n/a

 
      01-10-2009, 06:58 PM
Dienstag W wrote:
> I am having problems with new server hardware in ftp file tranfers.
> (OS - Debian Linux,
> It transfers images from a security camera and there is a backup
> server with
> identical vsftp.conf which works and I am able to compare the
> transfers with
> vsftpd option log_ftp_protocol=YES .
>

[..]

Got around to deal with this.

Installed wu-ftpd and problem was gone.

No clue what caused the difference between servers.
Maybe the new one is a dual-core, dual processor, the old one was just a
dual processor and the backup server is a single processor.

Whatever gives...

Sam
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: server share folders empty Lawrence Garvin \(MVP\) Windows Networking 1 02-07-2009 07:05 PM
DNS resolution, Server Failures Ken Windows Networking 7 04-10-2006 10:02 PM
Networking config failures dual NIC configuration Dell Server/SBS2 =?Utf-8?B?SkRkb3Rjb20=?= Windows Networking 12 11-03-2004 01:19 PM
nfs strange failures (getfh, linux server, solaris client) Chris Phillips Linux Networking 2 07-01-2004 07:25 PM
empty server-name in dhclient-eth0.leases Dirk Petera Linux Networking 0 07-09-2003 12:33 PM



1 2 3 4 5 6 7 8 9 10 11