change primary domain valiases problem..

4u123

Well-Known Member
PartnerNOC
Jan 2, 2006
939
22
168
Is anyone else experiencing this ?

If we change the primary domain on an account, the customer gets errors in their cpanel interface as follows..

Fatal! Write Failure: /etc/valiases/webmail.mydomain.com. Ignore any messages of success this can only result in failure!

What seems to happen is that the actual valias file for the subdomain on the new domain is not created (or the old one isnt renamed) so the above error comes up because it doesnt exist. I've had to rename the old file manually to reflect the new domain.

This has happened a handful of times now and I was wondering if anyone else is experiencing the same problem?
 

4u123

Well-Known Member
PartnerNOC
Jan 2, 2006
939
22
168
Thanks for your reply. Unfortunately both those links were to unrelated info. This problem specifically relates to the vailiases for subdomains not getting renamed when the primary is changed in WHM.