Unable to install on fresh ubuntu 22.04

[ * ] Installing phpMyAdmin version v5.2.2…
[ * ] Configuring Bind DNS server…
[ * ] Configuring Exim mail server…
[ * ] Configuring Dovecot POP/IMAP mail server…
Job for dovecot.service failed because the control process exited with error code.
See “systemctl status dovecot.service” and “journalctl -xeu dovecot.service” for details.
Error: dovecot start failed

I have tried numerous wiping the server and nothing’s helping?

Here is the results of journalctl -xeu dovecot.service - I have edited the hostname for privacy.

root@host:~# journalctl -xeu dovecot.service
Feb 11 05:38:32 hostname.domain.tld dovecot[28992]: Fatal: Failed to start list>
Feb 11 05:38:32 hostname.domain.tld systemd[1]: dovecot.service: Main process e>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu
░░
░░ An ExecStart= process belonging to unit dovecot.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 89.
Feb 11 05:38:32 hostname.domain.tld systemd[1]: dovecot.service: Failed with re>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu
░░
░░ The unit dovecot.service has entered the ‘failed’ state with result 'exit>
Feb 11 05:38:32 hostname.domain.tld systemd[1]: Failed to start Dovecot IMAP/PO>
░░ Subject: A start job for unit dovecot.service has failed
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu
░░
░░ A start job for unit dovecot.service has finished with a failure.
░░
░░ The job identifier is 2787 and the job result is failed.

Sometimes you just have to reinstall Ubuntu

This is what works for me every time:

sudo apt update && sudo apt upgrade

wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh

apt-get update && apt-get install ca-certificates

bash hst-install.sh --hostname YOUR.SERVER.NAME --password PASSWORD --force

we do NOT suggest to use the force parameter on already installed systems. This is only, if you know exactly, what you’re doing.

2 Likes