1829753 Members
2779 Online
109992 Solutions
New Discussion

ftp failure

 
LAXMAN MANDAYAM
New Member

ftp failure

i am trying to ftp a file from an hp-ux m/c to an NCR unix m/c in the same lan. on the sending end, everything goes smooth and indicates a successful transmission. however at the receiving end, the last few lines in the file are occasionally missing. and very rarely, the whole file seems to be missing. any ideas?
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: ftp failure

Hi:

The very first thing to check in this case is speed/duplex mismatches between the hosts and the switches. You will find that allowing the LAN connections to auto-negotiate is not very reliable. You should hard-set the speed/duplex on BOTH ends of each connection. Believe it or not, duplex mismatches will appear to work normally using telnet or rlogin where the transmission rates are low. Beyond that, check to make sure you have recent network/ftp patches on your boxes.

If it ain't broke, I can fix that.
Darrell Allen
Honored Contributor

Re: ftp failure

Hi,

Are you able to ftp successfully between the HP and other systems? What about between the NCR and other systems? Does it matter which system is the client and which is the server? I wouldn't think so.

Duplex mismatches don't seem to cause problems until the volume gets heavy but at the least they cause the throughput of ftp to be terrible. Use lanscan and lanadmin to check the current speed / duplex setting of the HP (see man pages for more info):
lanscan (note the PPA / instance number for the NIC in question)
lanadmin -x PPA#

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Ron Kinner
Honored Contributor

Re: ftp failure

Sounds like the problem we had with our setup except that the HP was the server. In our case the problem was a bad nic card. We were using
Interphase EISA 100Mbit INP0500 NICs which are subject to RF interference. We changed them out and the problem went away. Thanks to Raj for the tip.

Ron
(type the first line below to see what NICs you have.)

ioscan -nkfClan
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 0 8/16/6 lan2 CLAIMED INTERFACE Built-in LAN
/dev/diag/lan0 /dev/ether0 /dev/lan0
lan 1 8/20/5/1 btlan0 CLAIMED INTERFACE EISA card INP0500
lan 2 8/20/5/2 btlan0 CLAIMED INTERFACE EISA card INP0500
Paula J Frazer-Campbell
Honored Contributor

Re: ftp failure

Hi
What happens if you do a get from the NCR server?

Paula
If you can spell SysAdmin then you is one - anon