TimReeves
Regular Pleskian
Has happened already at 2 servers. In general I don't install Bind, don't need it. Plesk Updates have always worked fine. Now suddenly they don't, same at both servers. From the Updater log:
Reading state information...
bind9 is already the newest version (1:9.11.5.P4+dfsg-5.1+deb10u6).
That's strange - bind9 should not be installed (Option is off in Plesk)
Setting up bind9 (1:9.11.5.P4+dfsg-5.1+deb10u6) ...
ls: cannot access '/etc/bind/rndc.key': No such file or directory
bind9-pkcs11.service is a disabled or a static unit not running, not starting it.
bind9-resolvconf.service is a disabled or a static unit not running, not starting it.
Job for bind9.service failed because the control process exited with error code.
See "systemctl status bind9.service" and "journalctl -xe" for details.
invoke-rc.d: initscript bind9, action "restart" failed.
* bind9.service - BIND Domain Name Server
Loaded: loaded (/lib/systemd/system/bind9.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2021-10-30 03:03:52 CEST; 10ms ago
Docs: man:named(8)
Process: 26637 ExecStart=/usr/sbin/named $OPTIONS (code=exited, status=1/FAILURE)
dpkg: error processing package bind9 (--configure):
installed bind9 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
bind9
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Visit https://support.plesk.com/ to search for a solution.
Reading state information...
bind9 is already the newest version (1:9.11.5.P4+dfsg-5.1+deb10u6).
That's strange - bind9 should not be installed (Option is off in Plesk)
Setting up bind9 (1:9.11.5.P4+dfsg-5.1+deb10u6) ...
ls: cannot access '/etc/bind/rndc.key': No such file or directory
bind9-pkcs11.service is a disabled or a static unit not running, not starting it.
bind9-resolvconf.service is a disabled or a static unit not running, not starting it.
Job for bind9.service failed because the control process exited with error code.
See "systemctl status bind9.service" and "journalctl -xe" for details.
invoke-rc.d: initscript bind9, action "restart" failed.
* bind9.service - BIND Domain Name Server
Loaded: loaded (/lib/systemd/system/bind9.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2021-10-30 03:03:52 CEST; 10ms ago
Docs: man:named(8)
Process: 26637 ExecStart=/usr/sbin/named $OPTIONS (code=exited, status=1/FAILURE)
dpkg: error processing package bind9 (--configure):
installed bind9 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
bind9
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: An error occurred on attempt to install packages.
Attention! Your software might be inoperable.
Visit https://support.plesk.com/ to search for a solution.