Hello, My bare metal server has a main IP of xxx.xxx.xxx.219. After I added a second IP xxx.xxx.xxx.216 in WHM and restarted the server, WHM license verification fails. License verification says that IP xxx.xxx.xxx.216 doesn't have a valid license, but this is not my main IP.
Command curl -L http://cpanel.net/showip.cgi reports IP xxx.xxx.xxx.216 (This is not my main IP)
When I edit /etc/sysconfig/network-scripts/ifcfg-eno1 and /var/cpanel/mainip, I see inside the correct main IP xxx.xxx.xxx.219
If I remove the additional ip xxx.216 from /etc/ips and run the following:
# systemctl restart NetworkManager
validation service works again.
I created a reseller account and added this second IP to him.
Why after adding a second IP, WHM uses this IP for license validation?
How can I instruct from the terminal (command line) WHM to uses its main IP xxx.219 for license validations instead of the additional IP? Every time I add the second IP, I loose access to WHM due to this validation error.
Please sign in to leave a comment.