Having problems installing 61.1 on a “clean” install of Ubuntu 22.04. The following is the output. Why wont nsd start ? Can anyone help?
Primary Hostname: box.dax55.co.uk
Public IP Address: 167.86.66.132
Mail-in-a-Box Version: v61.1
Installing add-apt-repository…
Updating system packages…
Installing system packages…
Current default time zone: ‘Europe/London’
Local time is now: Fri Feb 24 16:13:31 GMT 2023.
Universal Time is now: Fri Feb 24 16:13:31 UTC 2023.
Initializing system random number generator…
Creating SSH key for backup…
Firewall is active and enabled on system startup
Synchronizing state of fail2ban.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable fail2ban
Created symlink /etc/systemd/system/multi-user.target.wants/fail2ban.service → /lib/systemd/system/fail2ban.service.
Creating initial SSL certificate and perfect forward secrecy Diffie-Hellman parameters…
Generating DH parameters, 2048 bit long safe prime
…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…+…++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Installing nsd (DNS server)…
Generating DNSSEC signing keys…
Installing Postfix (SMTP server)…
mv: cannot stat ‘/var/lib/postgrey/*’: No such file or directory
Installing Dovecot (IMAP server)…
Creating new user database: /home/user-data/mail/users.sqlite
Installing OpenDKIM/OpenDMARC…
Installing SpamAssassin…
Installing Nginx (web server)…
Installing Roundcube (webmail)…
Installing Nextcloud (contacts/calendar)…
Upgrading to Nextcloud version 23.0.10
Nextcloud is already latest version
photos 1.5.0 disabled
dashboard 7.3.0 disabled
activity 2.15.0 disabled
Installing Z-Push (Exchange/ActiveSync server)…
Installing Mail-in-a-Box system management daemon…
Installing Munin (system monitoring)…
Command ‘[’/usr/sbin/service’, ‘nsd’, ‘restart’]’ returned non-zero exit status 1.web updated
Okay. I’m about to set up nick@dax55.co.uk for you. This account will also
have access to the box’s control panel.
password:
(again):
<!doctype html>
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
root@box:~#
ervice nsd restart
Job for nsd.service failed because the control process exited with error code.
See “systemctl status nsd.service” and “journalctl -xeu nsd.service” for details.
root@box:~# ^C
root@box:~# systemctl status nsd.service
× nsd.service - Name Server Daemon
Loaded: loaded (/lib/systemd/system/nsd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2023-02-24 16:23:43 GMT; 3min 10s ago
Docs: man:nsd(8)
Process: 33796 ExecStart=/usr/sbin/nsd -d -P (code=exited, status=1/FAILURE)
Main PID: 33796 (code=exited, status=1/FAILURE)
CPU: 64ms
Feb 24 16:23:43 box.dax55.co.uk systemd[1]: nsd.service: Scheduled restart job, restart counter is at 5.
Feb 24 16:23:43 box.dax55.co.uk systemd[1]: Stopped Name Server Daemon.
Feb 24 16:23:43 box.dax55.co.uk systemd[1]: nsd.service: Start request repeated too quickly.
Feb 24 16:23:43 box.dax55.co.uk systemd[1]: nsd.service: Failed with result ‘exit-code’.
Feb 24 16:23:43 box.dax55.co.uk systemd[1]: Failed to start Name Server Daemon.
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy