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

Vatoloco

Well-Known Member
Jun 21, 2004
99
0
166
I got the following e-mail this week:

Code:
Cron <[email protected]> run-parts /etc/cron.daily

/etc/cron.daily/logrotate:

 /usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: '[email protected]' (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?