• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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