
Originally Posted by
Oldiesmann
Thanks for the suggestion. I've filed a support ticket. ID is 569602.
Thank you for the report and information. The ticket notes indicated that entries for the sub-domain were found in the cPanel users file and cPanel userdata for the account that was transferred (that owned the same sub-domain on the previous server). After ensuring that only one account contained entries for the sub-domain in the cPanel users file and cPanel userdata the issue was then alleviated. Please note that the Apache configuration of virtual hosts is built largely in part using information from cPanel userdata, thus it was necessary to ensure it was checked and corrected.
For reference, here are the two directory paths involved:
Code:
/var/cpanel/users/
/var/cpanel/userdata/
For the cPanel users file, here is an example path:
Code:
/var/cpanel/users/username
For cPanel userdata, here are a few example paths:
Code:
/var/cpanel/userdata/username/
/var/cpanel/userdata/username/main
/var/cpanel/userdata/username/domain.tld
/var/cpanel/userdata/username/domain.tld_SSL
Warning: Extreme caution must be exercised when auditing the aforementioned files and configuration data, ensuring to always save fresh backups before attempting any corrective measures.
Here are two different examples of how to save a fresh backup of the entire cPanel users directory and the entire cPanel userdata directory:
Save via an archival copy of the directory:
Code:
# cp -av /var/cpanel/users /var/cpanel/users_backup
# cp -av /var/cpanel/userdata /var/cpanel/userdata_backup
Save via a bzip2-compressed tar archive:
Code:
# cd /var/cpanel
# tar -cjvf users_backup.tar.bz2 users/
# tar -cjvf userdata_backup.tar.bz2 userdata/