The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Eximstats failed when restarting cpanel = Solution

Discussion in 'General Discussion' started by forlinuxsupport, Jan 4, 2006.

  1. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    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
     
Loading...

Share This Page