exim: ** [435 Unable to authenticate at present != 2]

Here you can find tutorials and notes for server-side maintenance/configuration

exim: ** [435 Unable to authenticate at present != 2]

Postby lik » Wed Mar 23, 2011 8:49 am

You may receive the following warning/alert email from cPanel chkservd which states that imap or exim services failed:
Code: Select all
imap on srv1.likg.org.ua failed

imap failed @ Tue Mar 22 05:33:43 2011. A restart was attempted
automagically.
Service Check Method: [check command]

Cmd Service Check Raw Output: dovecot is not running

If you check /var/log/chkservd.log log, the following reason can be provided:
Code: Select all
Service Check Started
Loading services .....cpanellogd....cpsrvd....exim....exim-26....ftpd....httpd....imap....ipaliases....lfd....mysql....named....queueprocd....spamd....sshd....syslogd..Done
[2011-03-22 16:40:54 -0800] Service check ....syslogd [[check command:+][tcp connect:N/A]]...sshd [[check command:+][tcp connect:N/A]]...spamd [[check command:+][tcp connect:N/A]]...queueprocd [[check command:+][tcp connect:N/A]]...named [[check command:+][tcp connect:N/A]]...mysql [[check command:+][tcp connect:N/A]]...melange [[check command:N/A][tcp connect:N/A]]...lfd [[check command:+][tcp connect:N/A]]...ipaliases [[check command:+][tcp connect:N/A]]...imap [TCP Transaction Log:
<< * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
>> A001 LOGIN __cpanel__service__auth__imap__wqS0bYsvoQJjQ7Oo1WIhkd1TNL3kueLOqlufBYr5s5wVCCiE2MVyqQq6oQHSk0pU gigVp9dnUomfQdPgwMFM8453epBtwlGdYDeZtcWCfIoecXJ3E_FQStllJQPHZASH
<<
imap: ** [ != A001 OK]
[check command:+][tcp connect:-]]...httpd [[check command:N/A][tcp connect:+]]...ftpd [[check command:+][tcp connect:+]]...exim-26 [[check command:N/A][tcp connect:+]]...exim [TCP Transaction Log:
<< 220-srv1.likg.org.ua ESMTP Exim 4.69 #1 Tue, 22 Mar 2011 16:41:22 -0700
<<
<<
>> EHLO localhost
<< 250-srv1.likg.org.ua Hello localhost [127.0.0.1]
<<
<<
<<
<<
<<
>> AUTH PLAIN AF9fY3BhbmVsX19zZXJ2aWNlX19hdXRoX19leGltX19CWGdHM0ZtMXEwakFHZGsyVjhZTzV3WmtyY1ZVMnN6bGxBR1pjSEx6ck9uamI0ZnN4R0tfaVNQZThGcVQzN3p2AGluRDh2Sk9IaXA0UnIxdHVwcG9RaVVBTmNpWExSR19qV0tvSUxONFBGMHFjUDkzMng3U2lLc2RPd2JYUjZnUE4=
<< 435 Unable to authenticate at present
exim: ** [435 Unable to authenticate at present != 2]
[check command:+][tcp connect:-]]...entropychat [[check command:N/A][tcp connect:N/A]]...cpsrvd [[check command:N/A][tcp connect:+]]...cpdavd [[check command:N/A][tcp connect:N/A]]...cpanellogd [[check command:+][tcp connect:N/A]]...Done
Service Check Finished

From it we can see, that check service daemon failed to authenticate with the temporal auth key, therefore negative check result is returned. From this point the first action is to remove service auth key so it can be re-generated by cPanel software once again:
Code: Select all
cd /var/cpanel/serviceauth/
rm -rf exim

and restart cPanel service to generate new auth key:
Code: Select all
service cpanel restart
service exim restart

Check the log whether the issue is resolved or not. As a final measure which can be found on the cPanel forum perform force exim install:
Code: Select all
/scripts/eximup --force

In any case, it is always recommended to check corresponding services logs first to determine the reason of error(s).
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Return to Server Side Actions

 


  • Related topics
    Replies
    Views
    Last post
cron