Mysql Logrotate Error 1

Discussion in 'General' started by efburgos, Feb 29, 2016.

  1. efburgos

    efburgos New Member

    Hello, i found this error every day con my server, any know how fix?
    /etc/cron.daily/logrotate:

    error: error running shared postrotate script for '/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/error.log '

    run-parts: /etc/cron.daily/logrotate exited with return code 1
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Maybe the password for debian-sys-maint is wrong. Run 'dpkg-reconfigure mysql-server-5.5' (or whatever package version you have), which will require your mysql root password, and see if that fixes it.
     

Share This Page