ifconfig ip != license ip :)

SmerT

New member
Joined
Dec 8, 2013
Messages
5
hi. i installed directadmin. http://82.194.6.50:2222/ not working. http://82.194.6.50/ work.

/var/log/directadmin/error.log

Code:
The ip of this machine (10.200.20.60) does not match the ip in the license file.<br>
Check the value of your ethernet_dev=ens32 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>

ifconfig:

Code:
[root@library scripts]# ifconfig
ens32: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.200.20.60  netmask 255.255.255.0  broadcast 10.200.20.255
        inet6 fe80::250:56ff:feac:8e0  prefixlen 64  scopeid 0x20<link>
        ether 00:50:56:ac:08:e0  txqueuelen 1000  (Ethernet)
        RX packets 13518  bytes 1458374 (1.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7576  bytes 2821731 (2.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 510  bytes 57029 (55.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 510  bytes 57029 (55.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

server external ip: 82.194.6.50

license ip: 82.194.6.50
82.194.6.50


Code:
# 
wget -qO - http://myip.directadmin.com
82.194.6.50

Code:
[root@lib]# ./getLicense.sh *** *** 82.194.6.50
--2015-02-26 20:25:18--  https://www.directadmin.com/cgi-bin/licenseupdate?lid=***&uid=***
Resolving www.directadmin.com (www.directadmin.com)... 216.144.255.179
Connecting to www.directadmin.com (www.directadmin.com)|216.144.255.179|:443... failed: Cannot assign requested address.
Retrying.
 
Directadmin doesn't support that setup. The IP of the server (not an external NAT IP) has to match the license. The getLicense.sh is failing because that script is telling wget to bind to your external address and it can't do that since that IP isn't configured on your server.
 
Back
Top