I updated to 3.2.1 from the previous version by running ispconfig_update.sh. Now Dovecot will not start so I can not log in to receive or send emails. This is a working system and the web hosting functionality is working. I can also log in to ISPConfig. When I run service dovecot status I get the following ● dovecot.service - Dovecot IMAP/POP3 email server Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: Active: failed (Result: exit-code) since Tue 2020-12-01 14:16:54 EST; 2min 43 Docs: man:dovecot(1) http://wiki2.dovecot.org/ Process: 12334 ExecStart=/usr/sbin/dovecot (code=exited, status=89) Dec 01 14:16:54 ubuntu-1 systemd[1]: Starting Dovecot IMAP/POP3 email server... Dec 01 14:16:54 ubuntu-1 dovecot[12334]: doveconf: Warning: service auth { clien Dec 01 14:16:54 ubuntu-1 dovecot[12334]: Warning: service auth { client_limit=10 Dec 01 14:16:54 ubuntu-1 dovecot[12334]: Error: service(managesieve-login): list Dec 01 14:16:54 ubuntu-1 dovecot[12334]: master: Error: service(managesieve-logi Dec 01 14:16:54 ubuntu-1 dovecot[12334]: Fatal: Failed to start listeners Dec 01 14:16:54 ubuntu-1 systemd[1]: dovecot.service: Control process exited, co Dec 01 14:16:54 ubuntu-1 systemd[1]: Failed to start Dovecot IMAP/POP3 email ser Dec 01 14:16:54 ubuntu-1 systemd[1]: dovecot.service: Unit entered failed state. Dec 01 14:16:54 ubuntu-1 systemd[1]: dovecot.service: Failed with result 'exit-c lines 1-17/17 (END)...skipping... ● dovecot.service - Dovecot IMAP/POP3 email server Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2020-12-01 14:16:54 EST; 2min 43s ago Docs: man:dovecot(1) http://wiki2.dovecot.org/ Process: 12334 ExecStart=/usr/sbin/dovecot (code=exited, status=89) Dec 01 14:16:54 ubuntu-1 systemd[1]: Starting Dovecot IMAP/POP3 email server... Dec 01 14:16:54 ubuntu-1 dovecot[12334]: doveconf: Warning: service auth { client_limit=1000 } is lower than required under max. load (1012) Dec 01 14:16:54 ubuntu-1 dovecot[12334]: Warning: service auth { client_limit=1000 } is lower than required under max. load (1012) Dec 01 14:16:54 ubuntu-1 dovecot[12334]: Error: service(managesieve-login): listen(, 4190) failed: Address already in use Dec 01 14:16:54 ubuntu-1 dovecot[12334]: master: Error: service(managesieve-login): listen(, 4190) failed: Address already in use Dec 01 14:16:54 ubuntu-1 dovecot[12334]: Fatal: Failed to start listeners Dec 01 14:16:54 ubuntu-1 systemd[1]: dovecot.service: Control process exited, code=exited status=89 Dec 01 14:16:54 ubuntu-1 systemd[1]: Failed to start Dovecot IMAP/POP3 email server. Dec 01 14:16:54 ubuntu-1 systemd[1]: dovecot.service: Unit entered failed state. Dec 01 14:16:54 ubuntu-1 systemd[1]: dovecot.service: Failed with result 'exit-code'. After doing the upgrade and discovering the issue, I came upon this page https://www.howtoforge.com/updating-ispconfig-3-1-to-ispconfig-3-2/ where it says I need to first install new software dependencies and that some of the features in ISPConfig 3.2 require additional software. This software should be installed before you start the update. I did not do this. Could this be the issue? If it is best to restore the backup ISPConfig made when doing the upgrade, would someone please reply with step-by-step instructions on how to do that? Is it likely that the server is receiving emails and that I just can't log in to see them? If so, I would, of course, prefer to fix the problem without losing the emails. Thanks for any help you can offer.
Did you reconfigure services when doing the upgrade? If not, you should do this. Run a force upgrade with Code: ispconfig_update.sh --force Remember to remove old conf-custom templates so they don't interfere and break anything. Did you try rebooting the server?
Thanks for your reply. Yes I did restart the server - twice and I did say yes to "reconfigure services" when doing the upgrade. Given that I'm no expert, I'm looking for someone to hold my hand. LOL Before I run ispconfig_update.sh --force should I install new software dependencies as discussed here? https://www.howtoforge.com/updating-ispconfig-3-1-to-ispconfig-3-2/ When I run it will it overwrite the previous backup or will it create a new one?
What software depencencies? Did you also upgrade the operating system? And what is the OS on that host? New backup is created.
Taleman, thanks for your reply. I did not upgrade the OS and I am running Ubuntu 16.04 As to software dependencies, the link in my original email take you to a page that says: "Install new software dependencies Some of the features in ISPConfig 3.2 require additional software. This software should be installed before you start the update."
I am forcing the reinstall and am getting a message asking Service 'firewall_server' has been detected (currently disabled) do you want to enable and configure it? suggested answer is no. I selected no. Does this have anything to do with my issue as I do not remember seeing this before.
Having the same problem after forcing the upgrade. Here is a screen capture of the upgrade. -------------------------------------------------------------------------------- _____ ___________ _____ __ _ ____ |_ _/ ___| ___ \ / __ \ / _(_) /__ \ | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ / | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ | _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \ \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/ __/ | |___/ -------------------------------------------------------------------------------- >> Update Operating System: Ubuntu 16.04.7 LTS (Xenial Xerus) This application will update ISPConfig 3 on your server. Shall the script create a ISPConfig backup in /var/backup/ now? (yes,no) [yes]: yes Creating backup of "/usr/local/ispconfig" directory... Creating backup of "/etc" directory... mysqldump: [Warning] Using a password on the command line interface can be insecure. Checking ISPConfig database .. mysqlcheck: [Warning] Using a password on the command line interface can be insecure. OK mysql: [Warning] Using a password on the command line interface can be insecure. Starting incremental database update. Loading SQL patch file: /tmp/update_runner.sh.nP8lz6icky/install/sql/incremental/upd_dev_collection.sql Reconfigure Permissions in master database? (yes,no) [no]: no Service 'firewall_server' has been detected (currently disabled) do you want to enable and configure it? (yes,no) [no]: no Reconfigure Services? (yes,no,selected) [yes]: yes Configuring Postfix Configuring Dovecot Configuring Spamassassin Configuring Amavisd Configuring Getmail Configuring BIND [INFO] haveged not detected - DNSSEC can fail Configuring Pureftpd Configuring Apache Configuring vlogger Configuring Apps vhost Configuring Jailkit Configuring Database Updating ISPConfig ISPConfig Port [8080]: 8080 Create new ISPConfig SSL certificate (yes,no) [no]: no Reconfigure Crontab? (yes,no) [yes]: yes Updating Crontab Restarting services ... Job for dovecot.service failed because the control process exited with error code. See "systemctl status dovecot.service" and "journalctl -xe" for details. Update finished.
so I ran dovecot -F and got this root@ubuntu-1:~# dovecot -F doveconf: Warning: service auth { client_limit=1000 } is lower than required under max. load (1012) Warning: service auth { client_limit=1000 } is lower than required under max. load (1012) Error: service(managesieve-login): listen(*, 4190) failed: Address already in use Fatal: Failed to start listeners Seems the upgrade changed something in doveconf. Any recommendation as to how to fix? Thanks again.
So I ran netstat -pan | grep 4190 to see what is using address 4190 and the is no PID or name of the process mediamix@ubuntu-1:~$ netstat -pan | grep 4190 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN - tcp 0 0 127.0.0.1:11211 127.0.0.1:41904 ESTABLISHED - tcp 0 0 127.0.0.1:41904 127.0.0.1:11211 ESTABLISHED
mediamix@ubuntu-1:~$ sudo lsof -i :4190 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME inetd 9452 root 4u IPv4 70058 0t0 TCP *:sieve (LISTEN)
The fix for doveconf: Warning: service auth { client_limit=1000 } is lower than required under max. load (1012) Warning: service auth { client_limit=1000 } is lower than required under max. load (1012) was to add the following line to the /etc/dovecot/dovecot.conf default_client_limit = 1012
Here is what I figured out so far. The port that is already used is used by pysieved process started from the inetd and dovecot wants to start the same service on its own. I am told that the dovecot one is a more recent option so it could have been enabled by new ISPConfig during the upgrade. Is this correct? I see two options now: 1. configure dovecot to work with pysieved 2. disable pysieved and use internal dovecot functionality. Do you agree and what do you recommend?
It is enabled if it detects managesieved is installed. I've never heard of pysieved, and have no experience with it, so I would simply uninstall it and be done. But it might work just fine (https://wiki1.dovecot.org/ManageSieve says it works, but that's old dovecot 1.x documentation), and you could try uninstalling dovecot's managesieved instead.