Anyone had issues when logging into a server that is running vsftpd such as when you go to connect and it never lists the directory or anything but just says connected and just hangs?
On 26/01/06, Andrew Rice andrew@nams.net wrote:
Anyone had issues when logging into a server that is running vsftpd such as when you go to connect and it never lists the directory or anything but just says connected and just hangs?
Is the host running vsftpd iptables firewalled? If so is the ip_conntrack_ftp module loaded and the appropriate ports opened?
Does ftp-ing to the localhost directly on the box work?
Will.
It doesnt work when I try to ftp locally on a 127.0.0.1 ip so im assuming its not a firewall issue...correct?
| On 26/01/06, Andrew Rice andrew@nams.net wrote: | > Anyone had issues when logging into a server that is running vsftpd such as when you go to connect and it never | > lists the directory or anything but just says connected and just hangs? | | Is the host running vsftpd iptables firewalled? If so is the | ip_conntrack_ftp module loaded and the appropriate ports opened? | | Does ftp-ing to the localhost directly on the box work? | | Will. | _______________________________________________ | CentOS mailing list | CentOS@centos.org | http://lists.centos.org/mailman/listinfo/centos
On 26/01/06, Andrew Rice andrew@nams.net wrote:
It doesnt work when I try to ftp locally on a 127.0.0.1 ip so im assuming its not a firewall issue...correct?
A reasonable (though by no means 100% sure) assumption. Might be worth checking your ruleset anyway.
# iptables -L
Also, check /var/log/messages and /var/log/secure. Check the user your logging in as has access or that anonymous access is allowed. Check the FTP home directory exists and then check through your vsftpd configs for anything obviously out of place.
[wmcdonald@willspc ~]$ rpm -qc vsftpd /etc/logrotate.d/vsftpd.log /etc/pam.d/vsftpd /etc/vsftpd.ftpusers /etc/vsftpd.user_list /etc/vsftpd/vsftpd.conf [wmcdonald@willspc ~]$
The vsftpd.ftpusers and vsftpd.user_list (and vsftpd.chroot_list which isn't listed above) can be counterintuitive depending on what's configured in the main vsftpd.conf file. Sometimes it's a list of users to allow or chroot and othertime's its the opposite.
Will.
I dont think the passive disabled is it...either...it just says connected and then hangs there and then I finally get disconnected...hmm
| Andrew Rice wrote: | | >Anyone had issues when logging into a server that is running vsftpd such | >as when you go to connect and it never | >lists the directory or anything but just says connected and just hangs? | > | > | > | > | Look to see that passive mode is disabled in your FTP client. | | John Hinton | _______________________________________________ | CentOS mailing list | CentOS@centos.org | http://lists.centos.org/mailman/listinfo/centos
Andrew Rice wrote:
I dont think the passive disabled is it...either...it just says connected and then hangs there and then I finally get disconnected...hmm
That's that same thing that happens to me. If I wait until it times out.. the 5 minutes or whatever you have your time out set to, it will disconnect. But, it almost never returns the directory listing... but is just connected. Some FTP clients will try non-passive after a period of time, others you have to set.
John Hinton
ok this might help but when I perform a status on the vsftpd server under /etc/init.d it says vsftpd dead but subsys locked
is that of any help?
| Andrew Rice wrote: | | >I dont think the passive disabled is it...either...it just says connected | >and then hangs there and then I finally | >get disconnected...hmm | > | > | That's that same thing that happens to me. If I wait until it times | out.. the 5 minutes or whatever you have your time out set to, it will | disconnect. But, it almost never returns the directory listing... but is | just connected. Some FTP clients will try non-passive after a period of | time, others you have to set. | | John Hinton | _______________________________________________ | CentOS mailing list | CentOS@centos.org | http://lists.centos.org/mailman/listinfo/centos
Have you tried restarting the daemon?
# service vsftpd restart
(That's assuming it's running standalone.) And then looking in the logs?
On 26/01/06, Andrew Rice andrew@nams.net wrote:
ok this might help but when I perform a status on the vsftpd server under /etc/init.d it says vsftpd dead but subsys locked
is that of any help?
| Andrew Rice wrote: | | >I dont think the passive disabled is it...either...it just says connected | >and then hangs there and then I finally | >get disconnected...hmm | > | > | That's that same thing that happens to me. If I wait until it times | out.. the 5 minutes or whatever you have your time out set to, it will | disconnect. But, it almost never returns the directory listing... but is | just connected. Some FTP clients will try non-passive after a period of | time, others you have to set. | | John Hinton | _______________________________________________ | CentOS mailing list | CentOS@centos.org | http://lists.centos.org/mailman/listinfo/centos
-- Andrew Rice Jr Systems Analyst Carrier Management Systems, Inc. 500 Chestnut Street, Suite 500 Abilene, TX 79602 USA support: (325) 672-0975 office: (325) 677-5900 fax: (325) 676-0529 http://www.nams.net NAMS III, NAMS 2000 Centralized, NAMS BMX _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
oh yeah def tried that one...
| Have you tried restarting the daemon? | | # service vsftpd restart | | (That's assuming it's running standalone.) And then looking in the logs? | | On 26/01/06, Andrew Rice andrew@nams.net wrote: | > ok this might help but when I perform a status on the vsftpd server under /etc/init.d | > it says vsftpd dead but subsys locked | > | > is that of any help? | > | > | > | > | Andrew Rice wrote: | > | | > | >I dont think the passive disabled is it...either...it just says connected | > | >and then hangs there and then I finally | > | >get disconnected...hmm | > | > | > | > | > | That's that same thing that happens to me. If I wait until it times | > | out.. the 5 minutes or whatever you have your time out set to, it will | > | disconnect. But, it almost never returns the directory listing... but is | > | just connected. Some FTP clients will try non-passive after a period of | > | time, others you have to set. | > | | > | John Hinton | > | _______________________________________________ | > | CentOS mailing list | > | CentOS@centos.org | > | http://lists.centos.org/mailman/listinfo/centos | > | > -- | > Andrew Rice Jr | > Systems Analyst | > Carrier Management Systems, Inc. | > 500 Chestnut Street, Suite 500 | > Abilene, TX 79602 USA | > support: (325) 672-0975 | > office: (325) 677-5900 | > fax: (325) 676-0529 | > http://www.nams.net | > NAMS III, NAMS 2000 Centralized, NAMS BMX | > _______________________________________________ | > CentOS mailing list | > CentOS@centos.org | > http://lists.centos.org/mailman/listinfo/centos | > | _______________________________________________ | CentOS mailing list | CentOS@centos.org | http://lists.centos.org/mailman/listinfo/centos
On 1/26/06, Andrew Rice andrew@nams.net wrote:
I dont think the passive disabled is it...either...it just says connected and then hangs there and then I finally get disconnected...hmm
Are you trying to use secure authentication for it? I've heard rumors of such things when people are trying to protect ftp with secure logins etc.
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center