zEitEr
Super Moderator
Hello,
It was noticed on one machine that Directadmin fails to start on server boot and starts only with directadmin service monitoring crontask.
Here what we have:
and error logs:
The issue happens only on server boot as if directadmin tries to start a time before the network interface gets up with an assigned IPv4. If to restart/stop/start directadmin later no issue noticed. If to reboot the server the issue happens once again.
Could you please check and fix it.
It was noticed on one machine that Directadmin fails to start on server boot and starts only with directadmin service monitoring crontask.
Here what we have:
Code:
root@server ~]# uname -a
Linux server.domain.com 3.10.0-233.1.2.lve1.3.33.1.el7.x86_64 #1 SMP Wed Jul 8 06:52:52 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
Code:
[root@server ~]# cat /etc/redhat-release
CloudLinux release 7.1
Code:
[root@server directadmin]# ./directadmin c| grep ethernet_dev
ethernet_dev=enp2s0
Code:
[root@server directadmin]# /usr/local/directadmin/directadmin o
Compiled on 'CentOS 7.0 64-Bit'
Compile time: Jun 27 2015 at 04:06:15
Compiled with IPv6
Code:
[root@server directadmin]# /usr/local/directadmin/directadmin v
Version: DirectAdmin v.1.48.3
and error logs:
Code:
2015:07:21-12:00:17: ioctl can't find the server's ip address for enp2s0 : Cannot assign requested address
2015:07:21-12:00:17: The ip of this machine () does not match the ip in the license file.<br>
Check the value of your ethernet_dev=enp2s0 setting in your /usr/local/directadmin/conf/directadmin.conf file and the output of /sbin/ifconfig<br>
The issue happens only on server boot as if directadmin tries to start a time before the network interface gets up with an assigned IPv4. If to restart/stop/start directadmin later no issue noticed. If to reboot the server the issue happens once again.
Could you please check and fix it.