Articles in this section

Unable to start Bind9 service on Plesk server: include directives are deprecated

Plesk for Linux kb: technical

Symptoms

  • Unable to start Bind9 service with the following error message:

    Dec 09 09:15:25 servername systemd[1]: /etc/systemd/system/bind9.service:1: .include directives are deprecated, and support for them will be removed in a future version of systemd.

  • The following include statement can be found in Bind9 service config:

    # cat /etc/systemd/system/bind9.service
    .include /lib/systemd/system/bind9.service
    [Service]
    EnvironmentFile=-/etc/default/bind9.systemd
    ...

Cause

Misconfiguration of Bind9 service.

Resolution

  1. Connect to the server via SSH.

  2. Remove line with .include statement from /etc/systemd/system/bind9.service file using any text editor like vi.

  3. Restart services:

    # systemctl daemon-reload

    # systemctl restart bind9

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.