DNS records for domain were not updated: Unable to manage service by dnsmng

Created:

2016-11-16 13:02:30 UTC

Modified:

2017-08-08 13:43:20 UTC

0

Was this article helpful?


Have more questions?

Submit a request

DNS records for domain were not updated: Unable to manage service by dnsmng

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux

Symptoms

DNS records for domain were not updated with follwoing error in GUI:

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

The following in /var/log/plesk/panel.log :

[2016-05-30 15:19:06] ERR [panel] Unable to make action: Unable to manage service by dnsmng:  ('start', 'dns'). Error: :
0: /usr/local/psa/admin/htdocs/server/restart_services.php:27
require()
1: /usr/local/psa/admin/htdocs/plesk.php:44
[2016-05-30 15:53:34] ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/dnsmng' '--start'] with exit code [1]
[2016-05-30 15:53:34] ERR [1] '/usr/local/psa/admin/bin/dnsmng' '--start' failed with code 1.

Database contains proper records.

Cause

DNS service was not reload due to improper named service is used instead of Plesk's named-chrooted .

Resolution

  1. Disable named.service :

    # systemctl disable named.service
  2. Enable named-chroot.service :

    # systemctl enable named-chroot.service
    ln -s '/usr/lib/systemd/system/named-chroot.service'
  3. Start the service named-chroot.service :

    # systemctl start named-chroot.service
    # systemctl status named-chroot.service
    named-chroot.service - Berkeley Internet Name Domain (DNS)
    Loaded: loaded (/usr/lib/systemd/system/named-chroot.service; enabled)
    Active: active (running) since Wed 2015-01-07 22:57:33 CST; 27min ago
    Main PID: 12682 (named)
    CGroup: /system.slice/named-chroot.service
    ââ12682 /usr/sbin/named -u named -t /var/named/chroot -c /etc/named.conf -u named -n 2

If it failed with change directory to '/var/named' failed: file not found then apply solution from KB # 5628

  1. If service can not be started, reinstall plesk-dns-bind-driver rpm package.

  2. Synchronize DNS zones with the DNS server using plesk repair dns domain.tld command.

Have more questions? Submit a request
Please sign in to leave a comment.