• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

logrotate issue

C

CarlX

Guest
Hi,
/var/log/messages shows

#007/usr/bin/mysqladmin: connect to server at 'localhost' failed
Feb 5 13:28:04 hXXXXXX logrotate: error: 'Access denied for user 'XXXXXXXXXXX'@'localhost' (using password: YES)'
Feb 5 13:28:04 hXXXXXX logrotate: /etc/logrotate.d/mysql failed, probably because
Feb 5 13:28:04 hXXXXXX logrotate: the root acount is protected by password.
Feb 5 13:28:04 hXXXXXX logrotate: See comments in /etc/logrotate.d/mysql on how to fix this
Feb 5 13:28:04 hXXXXXX logrotate: error: error running non-shared postrotate script for /var/lib/mysql/mysqld.log of '/var/lib/mysql/mysqld.log '

I disabled root-account for security-reasons and gain root rights with 'su -'.
How can I troubleshoot this message?
 
Back
Top