Cpanel is trying to verify the license using our customer's dedicated IP address

armin654

Well-Known Member
Feb 12, 2014
45
0
6
cPanel Access Level
Root Administrator
Dear friends
Recently we have assigned a dedicated IP to one of our customers and after that our WHM is trying to validate the license using the customer's dedicated IP address and not the main IP address of the server

We have checked all of the following paths:
/var/cpanel/mainip ( main IP of the server is written here)
/etc/ips (main IP address of server is not listed here)
/etc/hosts (server hostname and relevant IP address which is the main IP address of server is listed there)
/etc/sysconfig/network (server hostname is listed here)

On this path:
server configuration > Basic Cpanel & WHM setup > Basic Config

We have properly configured the right network interface and also the main shared IP address of the server
The network interface is correctly configured and shows the main IP address of the server

But when we issue this command on the SSH we see that the license is being validated using one of our customer's dedicated IP address instead of the main IP address of the server
lynx -dump http://www.cpanel.net/showip.cgi


What is your suggestion on our case?
Best Regards
 

armin654

Well-Known Member
Feb 12, 2014
45
0
6
cPanel Access Level
Root Administrator
Dear Dalem
Thank you for your care on my case. The IP is added using WHM's "add new ip" feature and is in a totally different subnet from the main IP address of the server
The main ip address of the server has configuration in ifcfg-eth19
and this newly added dedicated ip address of our customer has configuration in ifcfg-eth19:0
 

armin654

Well-Known Member
Feb 12, 2014
45
0
6
cPanel Access Level
Root Administrator
We just found the reason
The IP address was added by one of our administrators by manually creating ifcfg file for that IP
And for this reason it cause conflict
We just deleted the related ifcfg network configuration file and remove the IP address from all of the related files and restart ipaliass service
/etc/rc.d/init.d/ipaliases restart

and then added the IP address from WHM and assigned it to our customer once again and the issue was resolved
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
We just found the reason
The IP address was added by one of our administrators by manually creating ifcfg file for that IP
And for this reason it cause conflict
We just deleted the related ifcfg network configuration file and remove the IP address from all of the related files and restart ipaliass service
/etc/rc.d/init.d/ipaliases restart

and then added the IP address from WHM and assigned it to our customer once again and the issue was resolved
Hello :)

I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.