The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? - Line: 613 - File: inc/plugins/myadvertisements.php PHP 7.3.33 (Linux)
|
cpanel additional ip's not working after main ip's device name change - Printable Version +- Linux & WebHosting Discussion and Support Forum (https://serveradminsupport.com/forum) +-- Forum: Hosting Forums (https://serveradminsupport.com/forum/forumdisplay.php?fid=3) +--- Forum: General Discussion on Linux Servers (https://serveradminsupport.com/forum/forumdisplay.php?fid=23) +--- Thread: cpanel additional ip's not working after main ip's device name change (/showthread.php?tid=20) |
cpanel additional ip's not working after main ip's device name change - Edward - 11-25-2016 After changing an eth device name of main ip cpanel additional ip's are not working . Any idea how to fix this ? RE: cpanel additional ip's not working after main ip's device name change - sumesh - 11-30-2016 Hi Was there any error getting while restarting the ipaliases ? RE: cpanel additional ip's not working after main ip's device name change - Edward - 12-05-2016 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# |