Upgraded to dovecot 2.2.4 from 2.1.16 Error I see is: doveadm(root): Error: Module is for different ABI version 2.1.16 (we have 2.2.ABIv3(2.2.4)): /usr/local/lib/dovecot/doveadm/lib10_doveadm_zlib_plugin.so How do I resolve this? Configure options: ./configure --with-bzlib --with-ssl --with-mysql --with-zlib --with-pam Configuration: # 2.2.4: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 3.2.0-48-generic x86_64 Ubuntu 12.04.2 LTS doveconf: Warning: Dovecot was last started using /etc/dovecot/dovecot-postfix.conf, but this config is /usr/local/etc/dovecot/dovecot.conf auth_mechanisms = plain login cram-md5 disable_plaintext_auth = no listen = * log_timestamp = "%Y-%m-%d %H:%M:%S " mail_access_groups = mail mail_debug = yes mail_gid = 8 mail_location = maildir:~/Maildir mail_plugins = " zlib" mail_privileged_group = mail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date passdb { args = /etc/dovecot/passdb driver = passwd-file } passdb { driver = pam } plugin { fts = squat sieve = ~/.dovecot.sieve sieve_debug = yes sieve_dir = ~/ sieve_global_dir = /etc/dovecot sieve_global_path = /etc/dovecot/dovecot.sieve zlib_save = gz zlib_save_level = 6 } protocols = imap pop3 sieve service auth { unix_listener /var/run/dovecot/auth-master { group = postfix mode = 0666 user = postfix } unix_listener /var/spool/postfix/private/dovecot-auth { group = postfix mode = 0666 user = postfix } user = root } service managesieve-login { inet_listener sieve { port = 4190 } inet_listener sieve_deprecated { port = 2000 } } ssl_cert = </etc/postfix/certs/postfix_public_cert.pem ssl_cipher_list = ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM ssl_key = </etc/postfix/certs/postfix_private_key.pem userdb { driver = passwd } verbose_proctitle = yes protocol imap { imap_client_workarounds = delay-newmail mail_max_userip_connections = 50 mail_plugin_dir = /usr/local/lib/dovecot mail_plugins = " zlib fts fts_squat zlib imap_zlib" } protocol pop3 { mail_max_userip_connections = 20 mail_plugins = " zlib zlib" pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_uidl_format = %08Xu%08Xv } protocol lda { auth_socket_path = /var/run/dovecot/auth-master deliver_log_format = msgid=%m: %$ lda_mailbox_autocreate = yes mail_plugin_dir = /usr/local/lib/dovecot mail_plugins = sieve zlib postmaster_address = postmaster quota_full_tempfail = yes rejection_reason = Your message to <%t> was automatically rejected:%n%r }
On 2013-07-22 11:01 AM, Michael Long <mlong at mlong.us> wrote:> Configuration: > # 2.2.4: /usr/local/etc/dovecot/dovecot.conf > # OS: Linux 3.2.0-48-generic x86_64 Ubuntu 12.04.2 LTS > doveconf: Warning: Dovecot was last started using > /etc/dovecot/dovecot-postfix.conf, but this config is > /usr/local/etc/dovecot/dovecot.confLooks like you have two versions installed and are mixing them up. -- Best regards, Charles Marcus I.T. Director Media Brokers International, Inc. 678.514.6224 | 678.514.6299 fax
Am 22.07.2013 17:01, schrieb Michael Long:> doveadm(root): Error: Module is for different ABI version 2.1.16 (we > have 2.2.ABIv3(2.2.4)): > /usr/local/lib/dovecot/doveadm/lib10_doveadm_zlib_plugin.sonormally this simple says there is somthing from old dovecot version ( process ) still running, try stop all dove, reinstall again ( might use force etc ) Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstra?e 15, 81669 M?nchen Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263 Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
> Looks like you have two versions installed and are mixing them up.I checked and only one binary is on the system. I took a look in the directory /usr/local/lib/dovecot/doveadm/ and it appears the upgrade rebuilt all libraries EXCEPT zlib. Any ideas? -rw-r--r-- 1 root root 125910 Jul 22 10:58 lib10_doveadm_acl_plugin.a -rwxr-xr-x 1 root root 1070 Jul 22 10:58 lib10_doveadm_acl_plugin.la -rwxr-xr-x 1 root root 88190 Jul 22 10:58 lib10_doveadm_acl_plugin.so -rw-r--r-- 1 root root 54812 Jul 22 10:58 lib10_doveadm_expire_plugin.a -rwxr-xr-x 1 root root 1091 Jul 22 10:58 lib10_doveadm_expire_plugin.la -rwxr-xr-x 1 root root 44763 Jul 22 10:58 lib10_doveadm_expire_plugin.so -rw-r--r-- 1 root root 89116 Jul 22 10:58 lib10_doveadm_quota_plugin.a -rwxr-xr-x 1 root root 1084 Jul 22 10:58 lib10_doveadm_quota_plugin.la -rwxr-xr-x 1 root root 61137 Jul 22 10:58 lib10_doveadm_quota_plugin.so -rw-r--r-- 1 root root 369576 Jul 22 10:47 lib10_doveadm_sieve_plugin.a -rwxr-xr-x 1 root root 1248 Jul 22 10:47 lib10_doveadm_sieve_plugin.la -rwxr-xr-x 1 root root 208863 Jul 22 10:47 lib10_doveadm_sieve_plugin.so -rw-r--r-- 1 root root 26166 Apr 9 14:30 lib10_doveadm_zlib_plugin.a -rwxr-xr-x 1 root root 1077 Apr 9 14:30 lib10_doveadm_zlib_plugin.la -rwxr-xr-x 1 root root 25243 Apr 9 14:30 lib10_doveadm_zlib_plugin.so -rw-r--r-- 1 root root 100120 Jul 22 10:58 lib20_doveadm_fts_plugin.a -rwxr-xr-x 1 root root 1070 Jul 22 10:58 lib20_doveadm_fts_plugin.la -rwxr-xr-x 1 root root 65515 Jul 22 10:58 lib20_doveadm_fts_plugin.so Configure does seem to see it though: checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking bzlib.h usability... yes checking bzlib.h presence... yes checking for bzlib.h... yes checking for BZ2_bzdopen in -lbz2... yes
I manually fixed it by copying src/plugins/zlib/lib20_zlib_plugin.la to /usr/local/lib/dovecot/doveadm I do not understand why 'make install' won't do that? A bug perhaps?
On 22.7.2013, at 18.01, Michael Long <mlong at mlong.us> wrote:> Upgraded to dovecot 2.2.4 from 2.1.16 > > Error I see is: > > doveadm(root): Error: Module is for different ABI version 2.1.16 (we have 2.2.ABIv3(2.2.4)): /usr/local/lib/dovecot/doveadm/lib10_doveadm_zlib_plugin.so > > How do I resolve this?Delete that file. v2.2 no longer has doveadm_zlib plugin, because it's built in (to lib-compression).