• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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