Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

"connect to server at 'localhost' failed" during logrotate

Discussion in 'General Discussion' started by Vatoloco, Jul 26, 2005.

  1. Vatoloco

    Vatoloco Well-Known Member

    Jun 21, 2004
    Likes Received:
    Trophy Points:
    I got the following e-mail this week:

    Cron <root@sks> run-parts /etc/cron.daily
     /usr/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user: 'root@localhost' (Using password: NO)'
    error running postrotate script
    I ran /usr/sbin/logrotate -vf /etc/logrotate.conf and didn't notice any errors. I'm not finding any out of control log files so I'm not sure exactly what failed. I recently changed my /var/lib/mysql directory to it's own harddrive, could that be causing this error message somehow?

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice