(1) User not able to LS via ftp :- /sbin/insmod ip_conntrack_ftp
rmmod
locate ip_conntrack |grep ko
uname -r
example
insmod /lib/modules/2.6.9-42.0.2.ELsmp/kernel/net/ipv4/netfilter/ip_conntrack_ftp.ko
or
modprobe -r ip_conntrack_ftp
modprobe ip_conntrack_ftp
cd /home/user/.cpanel-datastore/
vi ftp_LIST_0 consist of ftp accounts
From a networking perspective, the two main types of FTP are active and passive. In active FTP, the FTP server initiates a data transfer connection back to
the client. For passive FTP, the connection is initiated from the FTP client
ftp ls not working.
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
for anonymous enable must have dedicated ip
cd /etc/pure-ftpd
ln -s ip /home/user/public_ftp
iptables -I INPUT -p tcp -s 0/0 --dport 1024:65535 -j ACCEPT
service iptables save
As per the notifications in cpanel, use \" anonymous@domainname.com \" as the username and not simply \"anonymous\". So the url should be
ftp://anonymous@domainname.com@domainname.com/
If anonymous ftp is enabled for a domain, users will be able to upload to the directory \"/home/username/public_ftp/incoming \".
ftp
If you enter a single / in the directory box, the new FTP user will have access to the entire public_html directory and all directories under it. If you just want the new user to be able to access a sub-domain, just set the directory box to the same value as the sub-domain's root name, which is listed in parenthesis on the sub-domain section of this control panel.
Please be aware that the new user will have read/write access to the directory you choose and every directory below it. For example, if you choose to add the user john, and give the user access to/home/blueeart/public_html/john directory, the user will be able to add, edit, rename and remove any file or directory in/home/blueeart/public_html/john.
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
421 Too many connections
http://forums.cpanel.net/showthread.php?t=38542&highlight=421+Too+many+connections
FTP server reports 421 Too many connections (8) from this IP
Anyone know how to fix such an error as this?
Well, it's how you have your FTP daemon configured - need t know which one you ar running to suggest whan you need to change, but you basically need to check /etc/proftpd.conf or /etc/pureftpd.conf
solution
Thanks, did finally figure that out and got the issue fixed with the maxclients and maxclientperhost settings. I'm using proFTPD by the way.
MaxClients
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
login issue with ftp
331 User mempo117 OK. Password required
Password:
421 Service not available, remote server has closed connection
Login failed.
No control connection for command: No such file or directory
===========
check entries in the following files as /home or /old/home
/etc/proftpd/passwd.vhosts
/etc/passwd
check the permission and ownership of public_html folder.
run the script to fix the permission
/scripts/chownpublichtmls
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
questions regarding http://www.indnet.net/faqs10.html
How do I FTP files to an add-on domain?
There are two ways you can use FTP to upload your files to the add-on domain:
1) FTP to your primary account and then navigate to the public_html directory and then to the directory/username you created for the add-on domain. Upload your files.
2) FTP to your primary domain with the user: username@primarydomain.com where username is username/directory for the add-on domain and then the password is the password you created for the add-on domain. This FTP account permits access to the add-on domain directory only.