Short Tag – Web Development Blog

Entries for the ‘Linux & Server configuration’ Category

Can connect but cannot retrieve directory listings – xinetd

After installing the ftp server you can connect to it but cannot retrieve directory listings?
This happens because iptables won’t let you work in passive mode. So you need to load the “ip_conntrack_ftp” module.
You know you have this issue if you disable iptables and the FTP is working correctly.
Edit the following file:
/etc/sysconfig/iptables-config
And put this line anywhere [...]

FTP not working on Kloxo LxAdmin

I just installed LxAdmin on Centos 5.9 Final and the ftp was not working by default.
I got it working eventually and I share my experience for those who have the same problem.
1.) Firewall
Make sure the firewall has port 21 open.
Open the iptables file: /etc/sysconfig/iptables
You need to have this line in this file, if not include [...]