Upgrade to v68 fails: FAILED: service bind9 restart

Hi,
I stopped BIND9 and nsd services for the favour of unbound + rspamd. I discussed this setup here already.
I don’t need NSD because I’m using external DNS.

Now I want to upgrade to MiaB v68, however this fails with error:

Mail-in-a-Box Version:  v68

Updating system packages...
Installing system packages...
Initializing system random number generator...
Firewall is active and enabled on system startup

FAILED: service bind9 restart
-----------------------------------------
Failed to restart bind9.service: Unit bind9.service not found.
-----------------------------------------

Can you please advise how to complete the upgrade (manually)?

THX

Looks like bind9 failed to install. What happens if you use sudo apt-get install bind9?

Actually bind9 is already installed.
However related service named.service is stopped.

And here’s an indication to the root cause:
bind9.service does not exist

sudo systemctl list-unit-files | grep bind
rpcbind.target                               static          -

sudo systemctl list-unit-files | grep named
named-resolvconf.service                     disabled        enabled
named.service                                disabled        enabled
systemd-hostnamed.service                    static          -

Oh, if you’re not using bind9, just uncomment that line in the setup files where it calls for a restart of the bind9 service. And perhaps it’s best to also remove the installation and setup of bind9/named from the sh files.

(In the installations I know, named.service can be used as reference instead of the bind9.service file. But the bind9 reference should work. What kind of box is this, did you already modify other stuff.)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.