Yes, I have a valid shell on both machines (different users on each machine though)
I can ftp to/from the sun box from my PC with WARftpd and Win2K ftp just fine.
And ftp has worked on the Sun all along without any issues.
(The PC and Sun are on different sub-nets as well)

There is nothing on the sun for logging.... I'm not the admin so I'm not sure what
logging is enabled.

If I ftp from the Sun to the Linux box, I get 2 lines for the ftp:

##### /var/log/messages ####

ftpd [1736]: wu-ftpd - TLS settings: control allow, client_cert allow, data allow
ftp(pam_unix)[1736]: session opened for user jh by (uid=0)

############################

I can even put and get the 108 byte file, but when I try to put a 2MB file,
I get :
200 PORT command successful
150 Opening ASCII mode data connection for tcpdump-3.7.1.tar
<----- hangs here, eventually times out ------>

Where, for the small file I actually get a "226 Transfer complete"

With verbose/debug enabled on the ftp xfer, it has no additional information.. it still
stops at the same place.

Jeff




-----Original Message-----
From: Will Mc Donald [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 2:58 PM
To: [EMAIL PROTECTED]
Subject: Re: FTP problem transferring files! (RH7.3)


Does the user your FTPing to the Sun box as have a valid shell? If so the path to the 
default shell for that user needs to be in /etc/shells. If you don't have a valid 
shell on the Sun box then something like /bin/false will need to be in /etc/shells. 
That could be the problem.

Otherwise, (again assuming you have a shell on the Sun machine), can you read the logs 
on it? Is there anything in /var/adm/messages, /var/log/syslog or wherever the xferlog 
is? Can the Sun machine FTP to itself?

Will.

Further reading on the Solaris FTP daemon.

http://www.netsys.com/cgi-bin/man2html?in.ftpd(1M)

http://www.netsys.com/cgi-bin/man2html?getusershell(3C)


----- Original Message ----- 
From: "Hemstreet, Jeffrey L (Jeffrey)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 6:57 PM
Subject: FTP problem transferring files! (RH7.3)


I have a system that I recently installed Redhat 7.3 on.  I have this on a local
network (192.168.0.x) and have no firewall/ipchains.  This was a clean install,
and the machine seems to be running well except for this problem.
I have the telnetd running, as well as the wuftpd.

I can telnet fine in & out, and ftp can connect in & out.  (client & server)  Ping 
works 
across the network, as well as 

When I connect to a sun server, and try to download files, or an 'ls' then the
connection hangs.  If I download a file, it creates the file locally, but the size of
the file stays 0, and I have to kill the ftp session.
I CAN upload/download a file of size 108 that I created to test out.  For some 
reason the small file works.  I have tried turning passive mode on and off and 
playing with permissions, but once I got the small file to xfer, I thought it might
be something else.

I have tried to ftp from a Sun and from a PC with WARftp server.  Neither works, so I
don't think it's the Sun.  I have also tried both the ftp client and the ncftp client 
to
see if it was an issue with the client.  Both behave the same way.

Anyone have any ideas?????  I am at a loss.  I was trying to ftp tcpdump so I can
look at other tcp traffic, and it would help to debug this issue, but since I cannot
download it, I can't run it!!!! 

Thanks,
jeff





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to