Apache dies after transferring account from another server
When I transfer an account from another cPanel server, and then rename the domain of the copied account, there is an issue (which I believe is related to the SSL for the copied account) that results in Apache dying, and all sites on the server stop responding.
Reason we rename the accounts is that we are often copying sites from production servers to sandbox servers to conduct testing activities.
To resolve the issue, I have to go to WHM->Manage SSL Hosts and delete the domain certificate, and then I can restart Apache, and sites start loading, and then a while later, autoSSL will apply the certificate to the copied account.
This never happened on my old CentOS 7 servers -- but of course CentOS is end-of-life this June, so we just completed migrating all our clients from our old CentOS servers to AlmaLinux (8 and 9) ones.
Anyone else encounter this and have a suggested solution?
-
Hey there! I can't say I've run into anything like this before, as I wouldn't expect renaming an account to cause a problem. Even if there is no SSL certificate, Apache should not be going offline.
What do you see in the Apache logs (/etc/apache2/logs/error_log) when this issue happens? That would be the best place to look to get more details on the problem.
0
Please sign in to leave a comment.
Comments
1 comment