• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved DNS BIND Server not working after restart

P

Patrice Kast

Guest
Hello Community,

We have used the DNS BIND Service on Plesk Onyx. Then we switched to an external DNS and we now want to switch back to the local BIND server.

We are now running Plesk Obsidian on CentOS 7 and want to reenable the DNS service under Tools & Settings > DNS Server (BIND) and get the following error:

Unable to start service: Unable to manage service by dnsmng: ('start', 'dns'). Error:

We then fixed the problem with the following solution:
Unable to start DNS service in Plesk: /etc/named.conf syntax error (CentOS 7 section)

This fixes the error, but after a server restart or an systemctl restart named-chroot, we get the same error again.

systemctl status named-chroot.service gives us the following message:
named-chroot.service - Berkeley Internet Name Domain (DNS)
Loaded: loaded (/usr/lib/systemd/system/named-chroot.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/named-chroot.service.d
└─respawn.conf
Active: activating (auto-restart) (Result: exit-code) since Sun 2020-03-29 20:09:25 CEST; 4s ago
Process: 29938 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
Process: 29811 ExecReload=/bin/sh -c /usr/sbin/rndc reload > /dev/null 2>&1 || /bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
Process: 26308 ExecStart=/usr/sbin/named -u named -t /var/named/chroot $OPTIONS (code=exited, status=0/SUCCESS)
Process: 10486 ExecStartPre=/usr/sbin/named-checkconf -t /var/named/chroot -z /etc/named.conf (code=exited, status=1/FAILURE)
Main PID: 26310 (code=exited, status=0/SUCCESS)

Mar 29 20:09:25 localhost systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Mar 29 20:09:25 localhost systemd[1]: Unit named-chroot.service entered failed state.
Mar 29 20:09:25 localhost systemd[1]: named-chroot.service failed.


Does anyone have an idea, what the problem could be?

Thank you very much!
 
Back
Top