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.

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

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

  1. Vatoloco

    Vatoloco Well-Known Member

    Joined:
    Jun 21, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    I got the following e-mail this week:

    Code:
    Cron <root@sks> run-parts /etc/cron.daily
    
    /etc/cron.daily/logrotate:
    
     /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?
     
Loading...

Share This Page