While accessing cpanel list account shows the wrong ip address, The following files may be caused of the issue.
the old shared IP might be listed in following files.
#grep “oldipaddress” * /etc/userdatadomains
#cd /var/cpanel/users/
#grep “oldipaddress” *
#cd /var/cpanel/users/
#grep “oldipaddress” *
To resolve the issue perform the following command.
#cd /var/cpanel/users/
#replace oldip newip — *
#replace oldip newip — /etc/userdatadomains
#replace oldip newip — *
#replace oldip newip — /etc/userdatadomains
#/scripts/updatedomainips
#/scripts/updateuserdatacache
#/scripts/updateuserdomains
#/scripts/update_db_cache
#/scripts/updateuserdatacache
#/scripts/updateuserdomains
#/scripts/update_db_cache
That’s it!
