New install of CentOS 4.1; our first try at the 4.x. On previous 3.x installs we've used proftpd. On this one we're using (trying to use is a better statement of what we're going through) the default daemon, /usr/sbin/vsftpd. But we don't get anywhere. <snip> ftp> passiv Passive mode off. ftp> put ~/xorg.conf.work local: /home/jlasman/xorg.conf.work remote: /home/jlasman/xorg.conf.work 200 PORT command successful. Consider using PASV. 553 Could not create file. </snip> and <snip> ftp> pass Passive mode on. ftp> put ~/xorg.conf.work local: /home/jlasman/xorg.conf.work remote: /home/jlasman/xorg.conf.work 227 Entering Passive Mode (65,58,240,217,174,30) ftp: connect: Connection timed out </snip> When we turn off our firewall (which allows passive under CentOS 3 on a 2.4 kernel) we don't get the connection timeout on passive transfers, but we still get the 533. Any ideas where we should go from here? Perhaps install proftpd? I'm willing to, but I shouldn't have to. Thanks. Jeff -- Jeff Lasman, Nobaloney Internet Services 1254 So Waterman Ave., Suite 50, San Bernardino, CA 92408 Our blists address used on lists is for list email only Phone +1 909 266-9209, or see: "http://www.nobaloney.net/contactus.html"
Quoting Jeff Lasman <blists at nobaloney.net>:> New install of CentOS 4.1; our first try at the 4.x. > > On previous 3.x installs we've used proftpd. > > On this one we're using (trying to use is a better statement of what > we're going through) the default daemon, /usr/sbin/vsftpd. > > But we don't get anywhere.Is there any NAT involved on the client or server end? If so, are you using ip_nat_ftp and ip_conntrack_ftp?> <snip> > ftp> passiv > Passive mode off. > ftp> put ~/xorg.conf.work > local: /home/jlasman/xorg.conf.work remote: /home/jlasman/xorg.conf.work > 200 PORT command successful. Consider using PASV. > 553 Could not create file. > </snip> > > and > > <snip> > ftp> pass > Passive mode on. > ftp> put ~/xorg.conf.work > local: /home/jlasman/xorg.conf.work remote: /home/jlasman/xorg.conf.work > 227 Entering Passive Mode (65,58,240,217,174,30) > ftp: connect: Connection timed out > </snip> > > When we turn off our firewall (which allows passive under CentOS 3 on a > 2.4 kernel) we don't get the connection timeout on passive transfers, > but we still get the 533. > > Any ideas where we should go from here?Long shot. Does your FTP server chroot your users? If so, the remote end may not be able to handle /home/jlasman/<filename> because it would already see /home/jlasman as / and therefore would require a home and home/jlasman to be able to place the file where you have indicated. Is there any difference trying to ftp to localhost or a network interface? Best of luck! Barry
On Thursday 07 July 2005 12:36 pm, someone wrote offlist:> how is the user logging in -- what username? and what are the > ownerships and permissions on /home/jlasman/ ?The user on my local desktop is jlasman. /home/jlasman is myself as a local user on my desktop system. Which is Mandriva 2005 LE. But I don't think that should matter. The remote server (running CentOS 4.1) user is test, set up as a standard user with adduser and passwd. But I did change the the default shell to "nologin". However nologin IS listed in /etc/shells, so my understanding is it should work. The file I tried to transfer is: -rw-rw-r-- 1 jlasman jlasman 2505 Jun 27 15:34 xorg.conf.work The permissions for /home/jlasman are: drwxr-xr-x 33 jlasman jlasman 4096 Jul 6 22:07 /home/jlasman/ Any help appreciated. (Though I know you wrote me offlist, the questions are good and helpful and I can only hope you won't mind my responding onlist in an attempt to get as much help as possible.) Thanks in advance. Jeff -- Jeff Lasman, Nobaloney Internet Services 1254 So Waterman Ave., Suite 50, San Bernardino, CA 92408 Our blists address used on lists is for list email only Phone +1 909 266-9209, or see: "http://www.nobaloney.net/contactus.html"