Why is my license not being recognized?
I am lost and would appreciate help.
I am sure it has something to do with ifconfig being depreciated on CentOS 7+
When I tun the command below with any n including zero I get the same result
The IP address is correct when I look at https://www.directadmin.com/clients/index.php
Dumps:
I am lost and would appreciate help.
I am sure it has something to do with ifconfig being depreciated on CentOS 7+
When I tun the command below with any n including zero I get the same result
Code:
ifconfig eth0:0
eth0:0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 04:01:c5:2b:57:01 txqueuelen 1000 (Ethernet)
The IP address is correct when I look at https://www.directadmin.com/clients/index.php
Dumps:
Code:
cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
Code:
tail /var/log/directadmin/error.log
2016:12:12-14:24:07: The ip of this machine (10.17.0.5) does not match the ip in the license file.<br>
Check the value of your ethernet_dev=eth0 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
Code:
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 04:01:c5:2b:57:01 brd ff:ff:ff:ff:ff:ff
inet 10.17.0.5/16 brd 10.17.255.255 scope global eth0
valid_lft forever preferred_lft forever
inet {{ Actual Licenced IP Here }}/18 brd 104.236.255.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 2604:a880:800:10::75b:3001/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::601:c5ff:fe2b:5701/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 04:01:c5:2b:57:02 brd ff:ff:ff:ff:ff:ff
inet6 fe80::bb62:5b82:eacd:acc6/64 scope link
valid_lft forever preferred_lft forever
Code:
ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.17.0.5 netmask 255.255.0.0 broadcast 10.17.255.255
inet6 fe80::601:c5ff:fe2b:5701 prefixlen 64 scopeid 0x20<link>
inet6 2604:a880:800:10::75b:3001 prefixlen 64 scopeid 0x0<global>
ether 04:01:c5:2b:57:01 txqueuelen 1000 (Ethernet)
RX packets 4412 bytes 375172 (366.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3632 bytes 473014 (461.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::bb62:5b82:eacd:acc6 prefixlen 64 scopeid 0x20<link>
ether 04:01:c5:2b:57:02 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 143 bytes 25674 (25.0 KiB)
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 20 bytes 1924 (1.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 20 bytes 1924 (1.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code:
cat /usr/local/directadmin/conf/directadmin.conf | grep ethernet_dev
ethernet_dev=eth0
Code:
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE='eth0'
TYPE=Ethernet
BOOTPROTO=none
ONBOOT='yes'
HWADDR=04:01:c5:2b:57:01
IPADDR=104.236.251.59
NETMASK=255.255.192.0
GATEWAY=104.236.192.1
NM_CONTROLLED='yes'
IPADDR2=10.17.0.5
PREFIX2=16
IPV6INIT=yes
IPV6ADDR=2604:A880:0800:0010:0000:0000:075B:3001/64
IPV6_DEFAULTGW=2604:A880:0800:0010:0000:0000:0000:0001
IPV6_AUTOCONF=no
DNS1=2001:4860:4860::8844
DNS2=2001:4860:4860::8888
DNS3=8.8.8.8
Code:
ls /etc/sysconfig/network-scripts/ | grep 'ifcfg*'
ifcfg-eth0
ifcfg-lo