• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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