Railander

Member
Oct 21, 2013
9
1
1
cPanel Access Level
Root Administrator
I'm a new user to linux and yesterday I moved some files out of the /usr directory (which most likely is the cause of the error I'm getting now)

The e-mails I am receiving contain the following:

<< 435 Unable to authenticate at present
exim: ** [435 Unable to authenticate at present != 2]
: Died at /usr/local/cpanel/Cpanel/TailWatch/ChkServd.pm line 894, <$socket_scc> line 11.
I've tried removing exim from /var/cpanel/serviceauth and restarting both cpanel and exim but I'm still getting the same authentication error 435 when trying to send e-mails.

Also, /scripts/eximup --force doesn't work and returns me this
scripts/eximup is deprecated. exim is now updated by the rpm.versions system when you run upcp.
If you have any insight on this...
It's 98% chance that I caused it by moving files out of the /usr directory (already moved them back, but still...)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

It's important to note that directly deleting files in the /usr directory can result in several problems. You can try reinstalling Exim via:

Code:
/scripts/update_local_rpm_versions --edit target_settings.exim uninstalled
/scripts/check_cpanel_rpms --fix
/scripts/update_local_rpm_versions --edit target_settings.exim installed
/scripts/check_cpanel_rpms --fix
Thank you.
 

Railander

Member
Oct 21, 2013
9
1
1
cPanel Access Level
Root Administrator
Thanks for the fast reply.

Would reinstalling exim result in a loss of configuration files? That would be the last resort since I have absolutely no idea how to configure it back to how it was.

Also, I may seem to somewhat have pinpointed what the problem might be. Prior to my meddling, it used to connect to port 587 but now it's trying to use port 25. Where exactly do I change the SMTP port?
 

Railander

Member
Oct 21, 2013
9
1
1
cPanel Access Level
Root Administrator
So, i reinstalled exim like posted above and still nothing. Just to make sure I created a backup file and after restoring it, still the same error.

One thing I also noticed (not sure it actually matters) is that I'm getting errors while restarting cPanel.

Starting cPanel Queue services: [ OK ]
Starting tailwatchd: DBD::mysql::db selectall_arrayref failed: Table './eximstats/smtp' is marked as crashed and should be repaired at /usr/local/cpanel/Cpanel/DeliveryReporter/Basic.pm line 169.

!!
ATTENTION ATTENTION ATTENTION ATTENTION

Cpanel::TailWatch::Eximstats appears to have unprocessed SQL in /var/cpanel/sql/eximstats.sql.

When mysql is unable to execute a query they are logged for processing later.

Eventually these SQL files may be handled automatically and this message will not appear.

In the meantime you can execute the queries as root with something like this:

mv /var/cpanel/sql/eximstats.sql /var/cpanel/sql/eximstats.sql.tmp_working_copy
/scripts/restartsrv_tailwatchd
mysql eximstats < /var/cpanel/sql/eximstats.sql.tmp_working_copy

Once you are sure all is well you can remove /var/cpanel/sql/eximstats.sql.tmp_working_copy


ATTENTION ATTENTION ATTENTION ATTENTION
!!

[Mon Oct 21 16:42:49 2013] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
Log is at /usr/local/cpanel/logs/tailwatchd_log
[ OK ]
Oh boy, a glimmer of hope would be great at this point... I'm getting out of alternatives besides a fresh reinstall of cPanel, which would be catastrophic.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Feel free to open a support ticket so we can take a closer look:

Submit A Ticket

You can post the ticket number here so we can update this thread with the outcome.

Thank you.