The ip of this machine () does not match the ip in the license file

If you get the message:

The ip of this machine () does not match the ip in the license file

when trying to start DirectAdmin (or (1.2.3.4) instead of ()) then the ethernet_dev setting in your directadmin.conf files isn't setup correctly.

Type:

/sbin/ifconfig

to see which device name your IP is on.  Common devices names/formats are: eth0, eth0:1, eth1, venet0:0, etc..  Note that you can specify the sub-device name to get different IPs.

Once you know the device name, edit /usr/local/directadmin/conf/directadmin.conf
Change (or add) the setting:

ethernet_dev=eth0

where you'd replace eth0 with the name of the ethernet device you should be using.


Was this article helpful?

mood_bad Dislike 2
mood Like 0
visibility Views: 10501