Page 1 of 3 123 LastLast
Results 1 to 15 of 33

Thread: eximstats failing due to mysql

  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    277

    Default eximstats failing due to mysql

    running Current 10.1 build 4
    MySQL 4.1.10a-standard

    Eximstats keep failing on 2 of my servers.

    When I restart cpanel I receive this error:
    Starting eximstats: DBI connect('eximstats:localhost','eximstats',...) failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client at /usr/local/cpanel/bin/eximstats line 262
    Can't Connect at /usr/local/cpanel/bin/eximstats line 265.

    I have checked the box to use mysql 4.0 password in teak settings.

    Anyone have any ideas?
    cPanel techs said to rebuild the database and instructed me on how to do so. However, when I try - the root pass is continually rejected.

    I've tried resetting the pass - but it hasn't helped.

  2. #2
    Member
    Join Date
    Apr 2003
    Posts
    277

    Default

    Anyone have even a guess?

    cPanel tech support hasn't responded to me in over 24 hours. Somehow they always do that to me. I'll submit a ticket - get a response in under 20 minutes. Email back in less than 5 minutes - and *POOF* they disappear for a day or two.

    Does cPanel have some policy for their techs that tickets must be acknowledged quickly or something? Because that first response is usually pretty vague and/or flat out unhelpful.

  3. #3
    Member
    Join Date
    Sep 2004
    Posts
    422

    Default

    login to the box

    Does

    # mysql eximstats

    Drop you into mysql ?

    If so

    > check table sends;

    > repair table sends;

    > check table smtp;

    > repair table smtp;

    > quit;

    # /etc/init.d/exim restart

    # /etc/init.d/chkservd restart

    Also check what version of mysql is running, maybe rpm -qa | grep -i mysql

    Restart mysql

    # /etc/init.d/mysql stop

    # /etc/init.d/mysql start

  4. #4
    Member
    Join Date
    Apr 2003
    Posts
    277

    Default

    Thanks much for the reply. I really appreciate it.

    Unforunately it didn't help. Though the tables did need repairing

    Still getting the connection error...

    still haven't heard back from cPanel regarding of my tickets - and another one as yet to be replied to at all

  5. #5
    Member
    Join Date
    Oct 2002
    Posts
    14

    Default

    This is an error where the perl module DBD-MySQL is not upto date.

    I am assuming you are using MySQL.

    You need to update to the latest DBD-MySQL which is what eximstats uses to connect to MySQL.

    Once you do that, it will work fine.

  6. #6
    Member
    Join Date
    Oct 2002
    Posts
    14

    Default

    Hi,

    If you are running RedHat/Fedora, this should work...

    rpm -Uhv ftp://195.220.108.108/linux/fedora/c...004-4.i386.rpm


  7. #7
    Member
    Join Date
    Dec 2004
    Posts
    7

    Default

    I have the same problem and so far no luck in fixing it?

  8. #8
    Member
    Join Date
    Oct 2003
    Posts
    328
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Add old-passwords to my.cnf in the [MySQL] section and restart MySQL or check the use old passwords in 4.1 box in Tweak Settings in WHM.

  9. #9
    Member
    Join Date
    Oct 2002
    Posts
    14

    Default

    Quote Originally Posted by Aric1
    Add old-passwords to my.cnf in the [MySQL] section and restart MySQL or check the use old passwords in 4.1 box in Tweak Settings in WHM.
    Nothing there?

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2002
    Location
    Pula, Croatia
    Posts
    196
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Yep, i confirm that nothing above works, eximstats would not start, R161 + mysql 4.1.....

  11. #11
    Member
    Join Date
    Apr 2003
    Posts
    277

    Default

    R161 doesn't have the check box for using version 4.0 passwords in tweak settings. And I gather other mysql database connections will also fail due to this.

    You need build 162 or more recent for the check box to be available.

    Anyhow - I finally got a response from a cPanel tech.. now listen up cuz it might help all of you...

    Please check this now.
    Which is total crap since he never logged into the server *unless it was only as admin...*

    I get a nifty email whenever someone su - to root...

    That was almost 24 hours ago. Which again, I replied to ina timely manner (1 hour or so) stating whatever he did, didn't work.

    I guess I'll hear from him again in a day or so... still no reply to the second ticket regarding another server. My guess is someone deleted it thinking it was a duplicate ticket. Same subject/body - just different IP's.

  12. #12
    Registered User
    Join Date
    Jan 2003
    Posts
    1

    Default

    Quote Originally Posted by DigitalN
    login to the box

    Does

    # mysql eximstats

    Drop you into mysql ?

    If so

    > check table sends;

    > repair table sends;

    > check table smtp;

    > repair table smtp;

    > quit;

    # /etc/init.d/exim restart

    # /etc/init.d/chkservd restart

    Also check what version of mysql is running, maybe rpm -qa | grep -i mysql

    Restart mysql

    # /etc/init.d/mysql stop

    # /etc/init.d/mysql start

    Wow! this actually worked for me. I figured I'd give it a shot and was pleasantly surprised.

  13. #13
    Member sumith's Avatar
    Join Date
    May 2005
    Posts
    96

    Default eximstats

    really coool

  14. #14
    EMS
    EMS is offline
    BANNED
    Join Date
    May 2003
    Posts
    251

    Default

    Got this happening on one server right now and I've tried everything to no avail.

    Still getting Client does not support authentication protocol requested by server etc.

    I've tried everything in this thread and also /scripts/mysqlup --force but nothing seems to fix it. This is happening after a mysql upgrade to 4.1 today and the old passwords option is ticked in the settings.

  15. #15
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Dec 2004
    Posts
    392
    cPanel/WHM Access Level

    Root Administrator

    Wink Solution

    Hi

    Here is a solution if you ever get the error message below.

    It might be related to me upgrading mysql from 4.0 to 4.1.

    When restarting cpanel it gives.
    Starting eximstats: DBI connect('eximstats:localhost','eximstats',...) failed: Client does not support authentication protocol requested by server; consider upgrading MySQL client at /usr/local/cpanel/bin/eximstats line 264 Can't Connect at /usr/local/cpanel/bin/eximstats line 267.

    This is probably due to mysql being upgraded by still using the old version of the DBI and DBD::mysql perl modules.

    Code:
    $cpan
    cpan> get DBD::mysql
    (This should download the DBD module
    cpan> quit
    
    $ cd /home/.cpan/build or cd /root/.cpan/build
    $ cd DBD-mysql-3.0002
    $ perl Makefile.PL
    $ make && make install
    Now try restart cpanel ( /etc/init.d/cpanel restart )

    No more eximstats error
    Hope this can help someone

    Cheers
    Andy
    UK Managed Hosting and Linux support
    The information given above is intended to be advice only.

Page 1 of 3 123 LastLast

Similar Threads

  1. Backup due to HDD Failing
    By CoryHawk in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 07-19-2011, 04:47 PM
  2. eximstats failing to connect to MySQL after upcp
    By eger in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 12-12-2005, 07:17 PM
  3. cpsrvd and eximstats keep failing after upgrading to latest stable
    By Jeff75 in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 11-30-2005, 09:52 AM
  4. eximstats keep on failing
    By khoonchee in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 02-11-2005, 03:09 PM
  5. Eximstats Failing
    By brentp in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 09-23-2004, 11:32 AM