youds
Verified User
I just went to enable letsencrypt and DA is failing to start:
Changing SSL to 0 and letsencrypt to being disabled fixes the problem.
Any ideas?
Code:
[root@london1 ~]# service directadmin start
Redirecting to /bin/systemctl start directadmin.service
Job for directadmin.service failed because a configured resource limit was exceeded. See "systemctl status directadmin.service" and "journalctl -xe" for details.
[root@london1 ~]# systemctl status directadmin.service
● directadmin.service - DirectAdmin Web Control Panel
Loaded: loaded (/etc/systemd/system/directadmin.service; enabled; vendor preset: disabled)
Active: failed (Result: resources) since Fri 2018-06-08 09:12:08 UTC; 4s ago
Docs: http://www.directadmin.com
Process: 605614 ExecStart=/usr/local/directadmin/directadmin d (code=exited, status=0/SUCCESS)
Main PID: 602304 (code=exited, status=0/SUCCESS)
Jun 08 09:12:08 london1.gethosted.online systemd[1]: Starting DirectAdmin Web Control Panel...
Jun 08 09:12:08 london1.gethosted.online systemd[1]: PID file /run/directadmin.pid not readable (yet?) after start.
Jun 08 09:12:08 london1.gethosted.online systemd[1]: directadmin.service never wrote its PID file. Failing.
Jun 08 09:12:08 london1.gethosted.online systemd[1]: Failed to start DirectAdmin Web Control Panel.
Jun 08 09:12:08 london1.gethosted.online systemd[1]: Unit directadmin.service entered failed state.
Jun 08 09:12:08 london1.gethosted.online systemd[1]: directadmin.service failed.
[root@london1 ~]# journalctl -xe
Jun 08 09:12:10 london1.gethosted.online named[573997]: client 1.38.13.50#55297 (Www.yoUds.COm): query (cache) 'Www.yoUds.COm/A/IN' denied
Jun 08 09:12:10 london1.gethosted.online named[573997]: client 1.38.13.51#22138 (www.yOUDs.com): query (cache) 'www.yOUDs.com/A/IN' denied
Jun 08 09:12:10 london1.gethosted.online named[573997]: client 1.38.13.51#39092 (Www.yOUDS.com): query (cache) 'Www.yOUDS.com/A/IN' denied
Jun 08 09:12:10 london1.gethosted.online named[573997]: client 1.38.13.50#47074 (www.yOUdS.COm): query (cache) 'www.yOUdS.COm/AAAA/IN' denied
Jun 08 09:12:11 london1.gethosted.online named[573997]: client 1.38.13.50#63601 (www.Youds.cOm): query (cache) 'www.Youds.cOm/A/IN' denied
Jun 08 09:12:11 london1.gethosted.online named[573997]: client 1.38.13.51#18722 (WwW.YOuds.CoM): query (cache) 'WwW.YOuds.CoM/A/IN' denied
Jun 08 09:12:11 london1.gethosted.online kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= MAC=de:de:70:c7:8e:51:ec:38:73:0c:70:30:08:00 SRC=5.121.
Jun 08 09:12:11 london1.gethosted.online kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= MAC=de:de:70:c7:8e:51:ec:38:73:0c:70:30:08:00 SRC=5.121.
Jun 08 09:12:11 london1.gethosted.online named[573997]: client 1.38.13.51#57328 (wwW.Youds.Com): query (cache) 'wwW.Youds.Com/A/IN' denied
Jun 08 09:12:11 london1.gethosted.online named[573997]: client 1.38.13.50#34959 (wWW.yOUDS.Com): query (cache) 'wWW.yOUDS.Com/AAAA/IN' denied
Jun 08 09:12:11 london1.gethosted.online named[573997]: client 1.38.13.50#57736 (WWw.yoUdS.COm): query (cache) 'WWw.yoUdS.COm/A/IN' denied
Jun 08 09:12:11 london1.gethosted.online named[573997]: client 1.38.13.51#18970 (wwW.Youds.CoM): query (cache) 'wwW.Youds.CoM/A/IN' denied
Jun 08 09:12:11 london1.gethosted.online named[573997]: client 1.38.13.50#30472 (WwW.youDs.cOM): query (cache) 'WwW.youDs.cOM/A/IN' denied
Jun 08 09:12:11 london1.gethosted.online named[573997]: client 1.38.13.50#13329 (wWW.youDS.COM): query (cache) 'wWW.youDS.COM/AAAA/IN' denied
Jun 08 09:12:11 london1.gethosted.online named[573997]: client 1.38.13.51#48547 (WWW.YOUdS.COm): query (cache) 'WWW.YOUdS.COm/A/IN' denied
Jun 08 09:12:11 london1.gethosted.online named[573997]: client 1.38.13.50#64140 (wwW.yOUds.Com): query (cache) 'wwW.yOUds.Com/AAAA/IN' denied
Jun 08 09:12:11 london1.gethosted.online kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= MAC=de:de:70:c7:8e:51:ec:38:73:0c:18:30:08:00 SRC=159.89
Jun 08 09:12:12 london1.gethosted.online kernel: Firewall: *UDP_IN Blocked* IN=eth0 OUT= MAC=de:de:70:c7:8e:51:ec:38:73:0c:18:30:08:00 SRC=159.89
Jun 08 09:12:13 london1.gethosted.online named[573997]: client 1.38.13.51#56751 (www.yOUDs.com): query (cache) 'www.yOUDs.com/AAAA/IN' denied
Jun 08 09:12:13 london1.gethosted.online named[573997]: client 1.38.13.51#31466 (wWW.YOUDs.cOM): query (cache) 'wWW.YOUDs.cOM/AAAA/IN' denied
Jun 08 09:12:13 london1.gethosted.online named[573997]: client 1.38.13.51#27892 (www.YouDs.cOM): query (cache) 'www.YouDs.cOM/AAAA/IN' denied
Jun 08 09:12:13 london1.gethosted.online named[573997]: client 1.38.13.51#15826 (wWw.YoUds.cOM): query (cache) 'wWw.YoUds.cOM/AAAA/IN' denied
Jun 08 09:12:13 london1.gethosted.online named[573997]: client 1.38.13.51#27867 (WWW.YoUDs.cOM): query (cache) 'WWW.YoUDs.cOM/AAAA/IN' denied
[root@london1 ~]# tail -10 /var/log/directadmin/error
error.log errortaskq.log
[root@london1 ~]# tail -10 /var/log/directadmin/error
error.log errortaskq.log
[root@london1 ~]# tail -10 /var/log/directadmin/error.log
2018:06:08-09:09:01: error loading certificate: /usr/local/directadmin/conf/cacert.pem
2018:06:08-09:09:06: error loading certificate: /usr/local/directadmin/conf/cacert.pem
2018:06:08-09:10:02: error loading certificate: /usr/local/directadmin/conf/cacert.pem
2018:06:08-09:10:07: error loading certificate: /usr/local/directadmin/conf/cacert.pem
2018:06:08-09:11:02: error loading certificate: /usr/local/directadmin/conf/cacert.pem
2018:06:08-09:11:07: error loading certificate: /usr/local/directadmin/conf/cacert.pem
2018:06:08-09:11:08: error loading certificate: /usr/local/directadmin/conf/cacert.pem
2018:06:08-09:12:01: error loading certificate: /usr/local/directadmin/conf/cacert.pem
2018:06:08-09:12:07: error loading certificate: /usr/local/directadmin/conf/cacert.pem
2018:06:08-09:12:08: error loading certificate: /usr/local/directadmin/conf/cacert.pem
[root@london1 ~]# tail -10 /var/log/directadmin/
2018-Jun-07.log 2018-Jun-08.log error.log errortaskq.log install.log login.log security.log system.log
[root@london1 ~]# tail -10 /var/log/directadmin/system.log
2018:06:08-08:51:01: directadmin restarted
2018:06:08-09:01:01: httpd reloaded
2018:06:08-09:01:01: php-fpm56 reloaded
2018:06:08-09:01:01: php-fpm72 reloaded
2018:06:08-09:01:02: named reloaded
2018:06:08-09:01:02: nginx reloaded
2018:06:08-09:02:01: httpd reloaded
2018:06:08-09:02:01: nginx reloaded
2018:06:08-09:02:58: signal TERM received. Waiting for children to exit
2018:06:08-09:02:58: Clean shutdown successful
[root@london1 ~]#
Changing SSL to 0 and letsencrypt to being disabled fixes the problem.
Any ideas?