Linux & WebHosting Discussion and Support Forum

Full Version: cpanel additional ip's not working after main ip's device name change
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Edward

After changing an eth device name of main ip cpanel additional ip's are not working . Any idea how to fix this ?
Hi

Was there any error getting while restarting the ipaliases ?

Edward

Hi

I found the fix for this. It was simple one. Since cpanel ip aliases do not have any entry for the same in the /etc/sysconfig/network_scripts folder, I checked the etc folder and can see that old eth device name was having a reference to /etc/wwwacct.conf

eno16774534 is the old one and ens1670 new one.

I replaced the same and /scripts/restartsrv_ipaliases and all is fine after that.

Hope this will help some one in future.


-bash-4.2# diff /etc/wwwacct.conf /etc/wwwacct.conf.old
6c6
< ETHDEV ens1670
---
> ETHDEV eno16774534
-bash-4.2#