Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Mar 2005
    Posts
    9

    Question Chkservd restarting exim due to auth problem

    Hi,

    Today I'm facing a very strange problem with exim and chkservd/tailwatchd. The service monitor is restarting exim (which is running fine) due to an auth problem.

    Here's the email notification:

    Code:
    exim failed @ Mon Mar 29 13:16:12 2010. A restart was attempted automagically.
    Service Check Method:  [tcp connect] 
    
    Failure Reason: TCP Transaction Log: 
    << 220-[HIDDEN] ESMTP Exim 4.69 #1 Mon, 29 Mar 2010 13:16:26 -0300 
    << 
    << 
    >> >> EHLO localhost
    << 250-[HIDDEN] Hello localhost [127.0.0.1]
    << 
    << 
    << 
    << 
    << 
    >> >> AUTH PLAIN [HIDDEN]
    << 535 Incorrect authentication data
    exim: ** [535 Incorrect authentication data != 2]
    Until now I couldn't solve the problem, but I'm thinking it somehow has something to do with incorrect permissions on /var/cpanel. To prevent it from restart exim due to this auth problem, I've edited the /etc/chkservd/exim file and removed the authentication part ...

    Any clues?!?

    Thanks for your help

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    What do the logs say?

    cat /var/log/chkservd.log
    and is exim listening on port 25?

    netstat -alnp | grep :25
    Check whatever processes are running on port 25, kill them and start the exim service, see if it helps.

  3. #3
    Member
    Join Date
    Mar 2005
    Posts
    9

    Default

    Quote Originally Posted by madaboutlinux View Post
    What do the logs say?



    and is exim listening on port 25?



    Check whatever processes are running on port 25, kill them and start the exim service, see if it helps.
    The log files tells exactly the same thing as the notification email. Exim is running absolutely fine. Looks like tailwatchd is using the wrong password on the AUTH command.

    As you can see by the notification message, tailwatchd was able to connect to the exim port, send the hello and auth command. But, it's receiving "535 Incorrect authentication data" from exim after the auth command, and that's why it's restarting exim.

    Thanks,

  4. #4
    Member
    Join Date
    Mar 2005
    Posts
    9

    Default

    Some questions ...

    Where do tailwatchd gets this auth information from ?!?
    Where is it configured ?!?

    I couldn't find anything on /var/cpanel or so.

    Thanks,

  5. #5
    Registered User
    Join Date
    Feb 2007
    Posts
    2

    Default Re: Chkservd restarting exim due to auth problem

    I had a similar issue - in my case tailwatchd was correctly sending its auth string to exim to check the service was running, exim on the other hand was unable to read the secret string from /var/cpanel/serviceauth/exim - make sure the mail group has access to that directory.

  6. #6
    Member
    Join Date
    Apr 2007
    Posts
    9

    Default Re: Chkservd restarting exim due to auth problem

    Hi

    Please try the following

    WHM > Service Configuration > Exim Configuration Editor > click the 'Reset all Configs to Defaults'

    still this message is coming please do the following

    1. wget -O /scripts/buildeximconf \http://httpupdate.cpanel.net/autofixer/buildeximconf
    2. chmod 700 /scripts/buildeximconf
    3. /scripts/buildeximconf
    4. /scripts/restartsrv_exim

    Thanks
    ajeeshbkannan.blogspot.com

  7. #7
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default Re: Chkservd restarting exim due to auth problem

    Quote Originally Posted by ajeeshbkannan View Post
    Hi

    Please try the following

    WHM > Service Configuration > Exim Configuration Editor > click the 'Reset all Configs to Defaults'

    still this message is coming please do the following

    1. wget -O /scripts/buildeximconf \http://httpupdate.cpanel.net/autofixer/buildeximconf
    2. chmod 700 /scripts/buildeximconf
    3. /scripts/buildeximconf
    4. /scripts/restartsrv_exim

    Thanks
    ajeeshbkannan.blogspot.com
    Please don't do this. You will be installing an older version of buildeximconf which will likely cause problems.

    If you have done this you can fix this by running
    Code:
     /scripts/upcp --force
    /scripts/buildeximconf
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

Similar Threads & Tags
Similar threads

  1. chkservd keeps restarting IMAP for no reason
    By jandafields in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-04-2011, 05:26 PM
  2. exim auth problem
    By mazek in forum E-mail Discussions
    Replies: 8
    Last Post: 02-23-2009, 09:29 PM
  3. chkservd restarting all processes
    By i3903 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-28-2006, 12:16 AM
  4. chkservd will not find spamd service, keeps restarting
    By afrazee in forum New User Questions
    Replies: 15
    Last Post: 07-18-2005, 10:54 AM
  5. chkservd keeps on restarting MySQL
    By Shaolyen in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-14-2004, 07:29 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube