Dovecot stopped working after update to DA1.640

Bibi40k

Verified User
Joined
Sep 5, 2013
Messages
18
Hi,
anyone experienced this after latest update ?

Thanks in advance for any idea.

root@da2 ~ $ tail -f /var/log/dovecot-lmtp-errors.log May 12 12:15:31 lmtp(212590): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory

root@da2 ~ $ ls -lsa /usr/lib64/dovecot/lib21_fts_xapian_plugin.so 1196 -rwxr-xr-x 1 root root 1224144 May 12 12:03 /usr/lib64/dovecot/lib21_fts_xapian_plugin.so

root@da2 ~ $ ls -lsa /usr/local/icu/lib/libicuio.so.66 0 lrwxrwxrwx. 1 root root 16 Sep 26 2020 /usr/local/icu/lib/libicuio.so.66 -> libicuio.so.66.1
 
Quick fix was to remove it. I'll try tonight to reinstall

cd /usr/local/directadmin/custombuild rm -f /usr/lib64/dovecot/lib21_fts_xapian_plugin* rm -f /etc/dovecot/conf.d/90-fts-xapian.conf ./build dovecot_conf
 
I got this on Debian:

lmtp(31190): Fatal: Couldn't load required plugin /usr/lib/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory

How to fix this for good?




The path is slighly different on Debian.
Documentantion should be updated here:


Removed it temporary on Debian with

cd /usr/local/directadmin/custombuild
rm -f /usr/lib/dovecot/lib21_fts_xapian_plugin*
rm -f /etc/dovecot/conf.d/90-fts-xapian.conf
./build dovecot_conf
 
Last edited:
If you just updated Dovecot and the 3rd party plugin stopped working, the plugin probably needs to be updated/rebuilt/fixed due to an ABI change. If you check the logs there will probably be a message. (Message may be in system log.)

When using third party modules it's a good idea to not update Dovecot right away, and check if there are any breaking ABI changes that will affect the plugin. Doing a quick Google search for this plugin brings up many instances of this happening. Looks like most seem to be able to fix it by updating/rebuilding the plugin.
 
Same here but on CL8.

Updated dovecot to 2.3.19, after 2 min I got the first calls from customers that roundcube has stopped working (Red Box with "Server Error: STATUS: Internal error occurred. Refer to server log for more information."), some minutes the next called that outlook asks for passwords, 15 min later the call queue was full of angry customers.

Log:
Code:
May 17 13:15:12 lmtp(3425452): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425471): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425472): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425473): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425474): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425475): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425479): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425477): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425488): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425478): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425485): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425480): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425476): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425490): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425489): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:15:12 lmtp(3425487): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
May 17 13:18:40 lmtp(3434974): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:20:37 lmtp(3434970): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:20:55 lmtp(3434973): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:21:26 lmtp(3443125): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:21:30 lmtp(3443324): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:21:30 lmtp(3434972): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:24:27 lmtp(3443020): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:28:17 lmtp(3443345): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:29:00 lmtp(3445999): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:29:13 lmtp(3434966): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:29:42 lmtp(3442092): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:32:23 lmtp(3444339): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:34:10 lmtp(3446597): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:35:18 lmtp(3446303): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory
May 17 13:41:35 lmtp(3447821): Fatal: Couldn't load required plugin /usr/lib64/dovecot/lib21_fts_xapian_plugin.so: dlopen() failed: libicuio.so.66: cannot open shared object file: No such file or directory


Deleted the plugin:

rm -f /usr/lib64/dovecot/lib21_fts_xapian_plugin.*

and rebuild the config



this was the oldest DA server, we applied the updates the day before yesterday on other DA servers, there was not this phenomenon, also on the dev server everything went smoothly.


sieve was also broken with

May 17 13:12:16 lmtp(info@xyz)<3306592><YyZfLxCDg2JgdDIA1lcxBw>: Error: sieve: binary /var/lib/dovecot/sieve/default.svbin: save: failed to create temporary file: open(/var/lib/dovecot/sieve/default.svbin.) failed: Permission denied (euid=1025(blabal) egid=12(mail) missing +w perm: /var/lib/dovecot/sieve, dir owned by 0:0 mode=0755)

May 17 13:12:16 lmtp(info@xy)<3306592><YyZfLxCDg2JgdDIA1lcxBw>: Error: sieve: The LDA Sieve plugin does not have permission to save global Sieve script binaries; global Sieve scripts like `/var/lib/dovecot/sieve/default.sieve' need to be pre-compiled using the sievec tool

executed:
Code:
/usr/local/directadmin/custombuild/build pigeonhole
sievec /var/lib/dovecot/sieve/default.sieve

the sieve permissions problem occurred on all servers, but did not interfere with the filter itself, which continued to filter


on reinstall of xapian the problem occurs again
 
Last edited:
I actually just ran into this on one of the servers I manage. This came up on a Debian 11 system. Problem was that system uses libicu67 and Dovecot the way it's compiled uses libicu66 from custombuild, and it's not in the library search path. To solve I did this:

Bash:
cd /usr/local/directadmin/custombuild
./build update
./build icu
echo '/usr/local/icu/lib' > /etc/ld.so.conf.d/icu.conf
ldconfig
systemctl restart dovecot

Along the way I rebuilt Dovecot a few times, but it shouldn't be required, as it was just missing the library search path so couldn't find the library. Seems strange this problem is appearing now. I included the custombuild icu build just in case, as it was in one of the steps I did just in case something happened to it.
 
Back
Top