1820884 Members
3713 Online
109628 Solutions
New Discussion юеВ

ftp problem on 11.11

 
SOLVED
Go to solution
Marty Hoff
Advisor

ftp problem on 11.11

I have two 11.11 machines. They have the same patches, from what I can tell. However, on one machine I cannot use FTP. I can establish the command connection, but once I login I can't transfer files or even do an ls. I get the following error:

ftp> ls
ftp: setsockopt (SO_RCVBUF): Invalid argument

I'm mystified as to what the differences are between the systems. We are running with the June 2003 quality pack of patches.

thanks for any help.

Marty
4 REPLIES 4
Mark Grant
Honored Contributor

Re: ftp problem on 11.11

This seems to be an attempt to set the maximum datagram size for the socket ftp is using. This should succeed unless there is a kernel parameter that I can't remember that is set too small.

I dont think it is a problem with the ftp server as such, more with the tcpip stack in the kernel. I could be way off base here though and short of looking through the kernel set up, can't think of anything else you can try.
Never preceed any demonstration with anything more predictive than "watch this"
Steven E. Protter
Exalted Contributor

Re: ftp problem on 11.11

Check the permissions on the file ftpd

Do you have the latest hp binaries for ftpd that solved the problem that the last version of wu-ftpd did not respond correctly to entries to block root ftp in the /etc/ftpusers file.

That may now be available by patch, but you should check it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Zigor Buruaga
Esteemed Contributor
Solution

Re: ftp problem on 11.11

Hi,

"tcp_recv_hiwater_def:

The maximum size for the receive window. [4096,-]
Default: 32768 bytes

This can also be thought-of as the default receive socket buffer (aka
SO_RCVBUF) size. It is used for any connection using an interface that
is NOT marked as either a "long, fat pipe" (LFP) or a "long, narrow
pipe." (LNP) Virtually all interfaces save perhaps PPP interfaces are
NOT marked as LNPs or LFPs so this is the tunable you would most
likely want to change."

Extracted from ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_ndd.txt

Check with ndd that value on ( the same document mentions other values ) both machines, maybe you could find something useful.

Hope this helps.
Kind regards,
Zigor
Marty Hoff
Advisor

Re: ftp problem on 11.11

it was the tcp_recv_hiwater_max. I changed it to match the system that was working and it started working just fine. Thanks for the help.

Marty