Show IP addresss usage in cPanel shows incorrect entries for FTP

August 15, 2009 on 11:13 am | In Cpanel | No Comments

Hi guys,

You might have come across the issue in WHM showing incorrect IP address usage for FTP. This is generated by the script /scripts/ipusage

The is is the issue with any of these files.

/usr/local/apache/conf/httpd.conf
/etc/proftpd.conf
/etc/pure-ftpd/ folder.

If there are incorrect entries in you apacha conf. Backup the file and rebuild the conf using /scripts/rebuildhttpdconf
If there are no entries for the usage line in Apache conf check whether you are using pure-ftpd.

check the directory /etc/pure-ftpd
It will have folder names of IPaddress. These are actually symblinks to ftp user folder /home//public_ftp.
just execute unlink ipaddress

cd /etc/pure-ftpd
unlink ipaddress

Hope that works.