-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-05-18 02:05, Paolo Pantò wrote:
maybe wrong permissions on /var/log/mysql/ directory.
try to change this to # chmod 750 /var/log/mysql/ and optional # chown mysql /var/log/mysql/
I do that, then I get another error: Telcontar:~ # logrotate /etc/logrotate.d/mysql error: "/var/log/mysql" has insecure permissions. It must be owned and be writable by root only to avoid security problems. Set the "su" directive in the config file to tell logrotate which user/group should be used for rotation. Telcontar:~ # WHAT!? Telcontar:~ # l /var/log | grep mysql drwxr-x--- 2 mysql root 4096 May 17 22:19 mysql/ lrwxrwxrwx 1 root root 23 Jan 31 2010 mysqld.log -> ../lib/mysql/mysqld.log Telcontar:~ # - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+1n08ACgkQIvFNjefEBxpmmwCgywRf2p1qzGgZ5BynR2Ptt94w CpwAn3qY9GSBYUj1fpYHpo29Gi9Xz7Ql =s90j -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org