Cannot get IP for CentOS7 machine

loveminds

Verified User
Joined
May 15, 2013
Messages
8
The ip of this machine () 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>
ifconfig output
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 103.53.197.xxx netmask 255.255.255.0 broadcast 103.53.197.255
inet6 fe80::216:3eff:fe07:2532 prefixlen 64 scopeid 0x20<link>
ether 00:16:3e:07:25:32 txqueuelen 1000 (Ethernet)
RX packets 1756575 bytes 511066701 (487.3 MiB)
RX errors 113 dropped 28302 overruns 0 frame 0
TX packets 697667 bytes 295170754 (281.4 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 4425 bytes 498950 (487.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4425 bytes 498950 (487.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
 
Something else is wrong.
The ip of this machine () does not match the ip in the license file.
So, check if your 103.53.197.xxx ip and your os (i386 or x64) matches your license. If not, first ask DA support to change it. Then you will see things will work fine.
 
Something else is wrong.

So, check if your 103.53.197.xxx ip and your os (i386 or x64) matches your license. If not, first ask DA support to change it. Then you will see things will work fine.
OK,solved,just a more colon after eth0
And Can u give me a backup of /etc/systemd/system/directadmin.service
It's overwritten by a mistake
 
OK,solved,just a more colon after eth0
And Can u give me a backup of /etc/systemd/system/directadmin.service
It's overwritten by a mistake

Code:
# DirectAdmin control panel
# To reload systemd daemon after changes to this file:
# systemctl --system daemon-reload
[Unit]
Description=DirectAdmin Web Control Panel
After=syslog.target network.target
Documentation=http://www.directadmin.com


[Service]
Type=forking
PIDFile=/run/directadmin.pid
ExecStart=/usr/local/directadmin/directadmin d
ExecReload=/bin/kill -HUP $MAINPID
WorkingDirectory=/usr/local/directadmin


[Install]
WantedBy=multi-user.target
 
Back
Top