• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Dovecot problem after upgrade

decanet

Basic Pleskian
Hi,

After an auto upgrade, IMAP and POP are broken on Dovecot.

The upgrade was for:

Code:
127.0.0.1 admin [2016-11-28 13:56:01] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'dovecot' => 'dovecot')
127.0.0.1 admin [2016-11-28 13:56:02] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'dovecot-pigeonhole' => 'dovecot-pigeonhole')
127.0.0.1 admin [2016-11-28 13:56:02] 'Plesk component upgrade' ('COMP_SERVICE_NODE': '1' => '1', 'Plesk component name': 'roundcube' => 'roundcube')

Now, on each IMAP/POP connection, I can see in logs:

Code:
Nov 28 14:25:06 xxxxx dovecot: auth: Fatal: Couldn't load required plugin /usr/libexec/dovecot/modules/auth/libauthdb_plesk.so: Module is for different ABI version 2.2.ABIv17(2.2.18) (we have 2.2.ABIv26(2.2.26.0))
Nov 28 14:25:06 xxxxx dovecot: master: Error: service(auth): command startup failed, throttling for 4 secs

I've the same problem on 20 others Plesk servers (CentOS 6 and CentOS 7 servers).
After 2-3 tests, the solution was to run manually :
Code:
# /usr/local/psa/admin/bin/autoinstaller update plesk
and apply microupdates.

Hope this will help people who have the same problem.
 
After the manual update, i rebooted the machine and can not send emails (I'm using postfix).

Checked the service:

service postfix status
master est? parado

So,
service postfix start
Iniciando postfix: [ OK ]

But there is not an entry to start postfix in boot

chkconfig --list |grep -i post
postgresql 0:desactivado 1:desactivado 2:desactivado 3:desactivado 4:desactivado 5:desactivado 6:desactivado
udev-post 0:desactivado 1:activo 2:activo 3:activo 4:activo 5:activo 6:desactivado

Don't wan't to add it manually, but note this if after reboot it doesn't work
 
Hi,
Could you check which options are selected in Tools & Settings > Update and Upgrade Settings?
 
jterry,
The issue with postfix looks not linked with update, what is your OS?

This worked fine before the update

# plesk version
Product version: Plesk Onyx 17.0.17 Update #8
Update date: 2016/11/28 17:48
Build date: 2016/11/17 16:00
OS version: CentOS 6.8
Revision: ab6766191d3ba26e7b21255ab007fc7fc56d84c6
Architecture: 64-bit
Wrapper version: 1.2
 
This is the history of the yum update:

# yum history info 338
Loaded plugins: fastestmirror
Transaction ID : 338
Begin time : Mon Nov 28 16:55:08 2016
Begin rpmdb : 778:cbb1061196da3c3c056b34a397045f1ad253b4e7
End time : 16:55:29 2016 (21 seconds)
End rpmdb : 778:97bbe46d58d1f7883a1dfb6ba62cdfd296f2259f
User : System <unset>
Return-Code : Success
Command Line : update
Transaction performed with:
Installed rpm-4.8.0-55.el6.x86_64 @base
Installed yum-3.2.29-75.el6.centos.noarch @updates
Installed yum-plugin-fastestmirror-1.1.30-37.el6.noarch @base
Packages Altered:
Updated plesk-dovecot-2.2.18-centos6.16102814.x86_64 @PLESK_17_0_17-dist
Update 2.2.26.0-centos6.16112417.x86_64 @PLESK_17_0_17-extras
Updated plesk-dovecot-core-2.2.18-centos6.16102814.x86_64 @PLESK_17_0_17-dist
Update 2.2.26.0-centos6.16112417.x86_64 @PLESK_17_0_17-extras
Updated plesk-dovecot-pigeonhole-0.4.8-centos6.16102616.x86_64 @PLESK_17_0_17-dist
Update 0.4.16-centos6.16112222.x86_64 @PLESK_17_0_17-extras
Updated plesk-roundcube-1.2.1-cos6.build1700161026.16.noarch @PLESK_17_0_17-dist
Update 1.2.2-cos6.build1700161122.22.noarch @PLESK_17_0_17-extras
Updated psa-selinux-17.0.17-cos6.build1700161110.18.noarch @PLESK_17_0_17-dist
Update 17.0.17-cos6.build1700161122.22.noarch @PLESK_17_0_17-extras
Scriptlet output:
1 Trying to update Dovecot configuration files managed by Plesk... not required.
2 Trying to condrestart service dovecot... Parando Dovecot Imap: [ OK ]
3 Iniciando Dovecot Imap: [FALL?]
4
5 WARNING!
6 Some problems are found during condrestart service dovecot(see log file: /var/log/plesk/install/plesk_17.0.17_installation.log)
7
8 Continue...
9
history info
 
The history of /usr/local/psa/admin/bin/autoinstaller update plesk

# yum history info 339
Loaded plugins: fastestmirror
Transaction ID : 339
Begin time : Mon Nov 28 17:46:37 2016
Begin rpmdb : 778:97bbe46d58d1f7883a1dfb6ba62cdfd296f2259f
End time : 17:46:52 2016 (15 seconds)
End rpmdb : 778:45ed6eb28f418042e282b3813bc8ba4ba57adf1f
User : System <unset>
Return-Code : Success
Transaction performed with:
Installed rpm-4.8.0-55.el6.x86_64 @base
Installed yum-3.2.29-75.el6.centos.noarch @updates
Installed yum-plugin-fastestmirror-1.1.30-37.el6.noarch @base
Packages Altered:
Updated plesk-dovecot-imap-driver-17.0.17-cos6.build1700161028.14.x86_64 @PLESK_17_0_17-dist
Update 17.0.17-cos6.build1700161124.17.x86_64 @PLESK_17_0_17-dist
Updated psa-mail-driver-common-17.0.17-cos6.build1700161117.16.x86_64 @PLESK_17_0_17-dist
Update 17.0.17-cos6.build1700161124.17.x86_64 @PLESK_17_0_17-dist
Updated psa-phpmyadmin-4.6.1-cos6.build1700161026.19.noarch @PLESK_17_0_17-dist
Update 4.6.4-cos6.build1700161122.22.noarch @PLESK_17_0_17-dist
Updated sw-collectd-5.5.0-16110917.x86_64 @PLESK_17_0_17-dist
Update 5.5.0.1-centos6.16112222.x86_64 @PLESK_17_0_17-dist
Updated sw-librrd-1.6.0-16102515.x86_64 @PLESK_17_0_17-dist
Update 1.6.0.1-centos6.16112417.x86_64 @PLESK_17_0_17-dist
Updated sw-rrdtool-1.6.0-16102515.x86_64 @PLESK_17_0_17-dist
Update 1.6.0.1-centos6.16112417.x86_64 @PLESK_17_0_17-dist
Scriptlet output:
1 Changing shell for popuser.
2 Shell not changed.
3 Changing shell for mhandlers-user.
4 Shell not changed.
history info
 
All our servers have same update and upgrade settings than jterry's screenshot.

jterry, you seems to have a second problem, not linked to the first one. Have you tried a
Code:
# plesk repair mail
?

Can you check the /var/log/maillog to check what's the problem if the repair didn't fix it?

Sure, but the problem is not mail server configuration related, the services/runlevels line for postfix gone after the update

Code:
# plesk repair mail

Repairing the mail server configuration
 
  Reconfigure all domains and mailboxes? [Y/n]
    Reconfiguring all domains and mailboxes ......................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

Mail (SMTP) is working after run service postfix start

I'm pretty sure i can solve this with

Code:
# chkconfig --add postfix
# chkconfig --level 2345 postfix on

But don't want to touch anything waiting if an update resolves it (to avoid conflicts)
 
Oh OK, I have understood mail sending was broken despite of Postfix was running.
I haven't postfix in my "chkconfig --list". Postfix is started from psa service I guess:

Code:
# service psa start
Starting sw_engine service...                                         done
Starting sw_cp_server service...                                      already started
Starting mysql service...                                             already started
Starting named service...                                             already started
Starting mailer service...                                            already started
Starting spamfilter service...                                        already started
Starting kav service...                                               already started
Starting tomcat service...                                            not installed
Starting apache service...                                            already started
Starting xinetd service...                                            already started
 
Oh OK, I have understood mail sending was broken despite of Postfix was running.
I haven't postfix in my "chkconfig --list". Postfix is started from psa service I guess:
[/code]

I considered that before but not tested about that, i've done now...

Note this:

Code:
# service postfix status
Se est? ejecutando master (pid 18261)...  <<< RUNNING BEFORE REBOOT!

# reboot

Broadcast message from root@....
   (/dev/pts/0) at 20:05 ...

The system is going down for reboot NOW!

*** Login after reboot

# ssh root@.....
Last login: Mon Nov 28 19:57:17 2016 from ...........
CentOS release 6.8 (Final)
Linux ....... 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

# service postfix status
master est? parado    <<< STOPPED AFTER REBOOT !

# service postfix start
Iniciando postfix:                                         [  OK  ]

# service postfix status
Se est? ejecutando master (pid 3239)...   <<< RUNNING !

# service postfix stop
Apagando postfix:                                          [  OK  ]

# service psa stop    <<< PSA STOPPED
Stopping sw_engine service...                                        done

# service postfix status
master est? parado   <<< STOPPED BY PSA SERVICE

# service psa start
Starting sw_engine service...                                        done
Starting sw_cp_server service...                                     already started
Starting mysql service...                                            already started
Starting named service...                                            already started
Starting mailer service...                                           done
Starting spamfilter service...                                       already started
Starting drweb service...                                            done
Starting tomcat service...                                           not installed
Starting apache service...                                           already started
Starting xinetd service...                                           already started

# service postfix status
Se est? ejecutando master (pid 4158)...   <<< STARTED BY PSA SERVICE (BUT NOT WHEN BOOTING)

PSA STARTS postfix if invoked manually, but not during boot. Perhaphs this give some light about this problem.

I'm going to try a repair

Thanks
 
I did

/usr/local/psa/bootstrapper/pp17.0.17-bootstrapper/bootstrapper.sh repair

But didn't solve this
 
Issue with broken auth in dovecot is confirmed for case when dovecot is updating automatically by yum/apt or when "Automatically install system package updates" checkbox is selected or when dovecot updated by "System Updates" manually.
It's actual only for update packages without Plesk Onyx update #8. Workaround: as decanet mentioned - update Plesk itself.
The issue internal ID is PPP-27009.
 
Back
Top