SOLVED [CPANEL-24359] Inaccurate service failure notifications sent out when license is not valid

mvandemar

Well-Known Member
Jun 17, 2006
116
24
168
Starting roughly 3 hours ago I started getting hit with these messages from one of my servers:

Code:
Server    {servername}
Primary IP Address    XXX.XXX.XXX.XXX
Service Name    exim
Service Status    failed ⛔
Notification    The service “exim” appears to be down.
Service Check Method    The system failed to connect to this service’s TCP/IP port.
Reason    TCP Transaction Log:
<< 220-{servername} ESMTP Exim 4.91 #1 Mon, 17 Dec 2018 03:22:24 +0000
<< 220-We do not authorize the use of this system to transport unsolicited,
<< 220 and/or bulk e-mail.
>> EHLO localhost
<< 250-{servername} Hello localhost [127.0.0.1]
<< 250-SIZE 52428800
<< 250-8BITMIME
<< 250-PIPELINING
<< 250-AUTH PLAIN LOGIN
<< 250-STARTTLS
<< 250 HELP
>> AUTH PLAIN {long-auth-string-removed}
<< 535 Incorrect authentication data
exim: ** [535 Incorrect authentication data != 2]
: Died
Number of Restart Attempts    16
Service Check Raw Output    The 'exim' service passed the check: exim (/usr/sbin/exim -ps -bd -q1h -oP /var/spool/exim/exim-daemon.pid) is running as mailnull with PID 17965 (systemd+/proc check method).
Startup Log    Dec 17 03:11:12 {servername} systemd[1]: Starting Exim is a Mail Transport Agent, which is the program that moves mail from one machine to another....
Dec 17 03:11:12 {servername} systemd[1]: Started Exim is a Mail Transport Agent, which is the program that moves mail from one machine to another..
Log Messages    2018-12-17 03:11:12 exim 4.91 daemon started: pid=17965, -q1h, listening for SMTP on port 25 (IPv6 and IPv4) port 587 (IPv6 and IPv4) and for SMTPS on port 465 (IPv6 and IPv4)
I am getting them for both exim and imap, 48 in all over the past 3 hours (~8/hour each service). I am going to try rebooting the server to see if that helps, but any idea what would have caused this?

-Michael
 

mvandemar

Well-Known Member
Jun 17, 2006
116
24
168
So apparently this was caused by the temporary cpanel license expiring. Is it supposed to spam those messages when that happens, or is that a bug?

-Michael
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello @mvandemar,

Internal case CPANEL-24359 is open to ensure service authentication via the mail server is possible in order for Chkservd to properly detect if the service is running in cases where the assigned cPanel license is invalid. I'll monitor this case and update this thread once it's published.

Thank you.
 

vacancy

Well-Known Member
Sep 20, 2012
468
163
93
Turkey
cPanel Access Level
Root Administrator
I'm having the same problem.

imap and exim failed.

Version 76.0.14

Log

Code:
Log Messages
Dec 19 17:41:22 54-37-xx-xx dovecot: master: Dovecot v2.2.36 (1f10bfa63) starting up for lmtp, imap, pop3 (core dumps disabled)
Dec 19 17:41:22 54-37-xx-xx dovecot: log: Warning: Killed with signal 15 (by pid=11246 uid=0 code=kill)
Dec 19 17:41:22 54-37-xx-xx dovecot: imap-login: Warning: Killed with signal 15 (by pid=11246 uid=0 code=kill)
Dec 19 17:41:22 54-37-xx-xx dovecot: imap-login: Error: read(anvil) failed: EOF
Dec 19 17:41:22 54-37-xx-xx dovecot: config: Warning: Killed with signal 15 (by pid=11246 uid=0 code=kill)
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello @vacancy,

I don't have a release date to provide for this case at this time, but the planned fix is currently in testing. In the meantime, the workaround is to ensure your license is valid. You can check your license status with the following command:

Code:
/usr/local/cpanel/cpkeyclt
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,227
463
Hello Everyone,

This is fixed in cPanel & WHM version 76.0.15:

Fixed case CPANEL-24359: Ensure service authentication via dovecot is always available.

You can learn more about our release tiers by clicking here and see which build is published to each release tier by clicking here.

Thanks!
 

Ed Bergavera

Member
Sep 16, 2016
6
5
3
Panabo City, Philippines
cPanel Access Level
Root Administrator
I confirm that we are affected by this same exact issue. Currently we are at 76.0.14 when our license has expired.

Restarted IMAP service produces an error:

Code:
Log Messages
    Jan  3 02:42:07 server1 dovecot: master: Dovecot v2.2.36 (1f10bfa63) starting up for lmtp, imap, pop3 (core dumps disabled)
    Jan  3 02:42:07 server1 dovecot: log: Warning: Killed with signal 15 (by pid=5472 uid=0 code=kill)
    Jan  3 02:42:07 server1 dovecot: anvil: Warning: Killed with signal 15 (by pid=5472 uid=0 code=kill)
    Jan  3 02:42:07 server1 dovecot: master: Warning: Killed with signal 15 (by pid=5471 uid=0 code=kill)
    Jan  3 02:42:01 server1 dovecot: auth-worker(5436): Error: dict(__cpanel__service__auth__imap__2pi5uwyib3oavagay__xycx1f2wtfv...,127.0.0.1,<hXoBtYR+WOJ/AAAB>): Invalid password in passdb: crypt() failed: Invalid argument
I'll try to provide an update after we fix the license issue and updated to 76.0.15.

Thanks @cPanelMichael !
 
Last edited:
  • Like
Reactions: cPanelMichael

Ed Bergavera

Member
Sep 16, 2016
6
5
3
Panabo City, Philippines
cPanel Access Level
Root Administrator
As I promised with my last post, I confirm that the issue resolved after cPanel license has been updated.



I confirm that we are affected by this same exact issue. Currently we are at 76.0.14 when our license has expired.

Restarted IMAP service produces an error:

Code:
Log Messages
    Jan  3 02:42:07 server1 dovecot: master: Dovecot v2.2.36 (1f10bfa63) starting up for lmtp, imap, pop3 (core dumps disabled)
    Jan  3 02:42:07 server1 dovecot: log: Warning: Killed with signal 15 (by pid=5472 uid=0 code=kill)
    Jan  3 02:42:07 server1 dovecot: anvil: Warning: Killed with signal 15 (by pid=5472 uid=0 code=kill)
    Jan  3 02:42:07 server1 dovecot: master: Warning: Killed with signal 15 (by pid=5471 uid=0 code=kill)
    Jan  3 02:42:01 server1 dovecot: auth-worker(5436): Error: dict(__cpanel__service__auth__imap__2pi5uwyib3oavagay__xycx1f2wtfv...,127.0.0.1,<hXoBtYR+WOJ/AAAB>): Invalid password in passdb: crypt() failed: Invalid argument
I'll try to provide an update after we fix the license issue and updated to 76.0.15.

Thanks @cPanelMichael !
 
  • Like
Reactions: cPanelMichael

chengkinhung

Active Member
Jun 15, 2007
26
3
53
Just encounter this issue, my cPanel is 11.78.0.21, POP3/IMAIL client all failed when cPanel license expired, issue gone after update cPanel license.
 
  • Like
Reactions: cPanelMichael