[opensuse] Logrotate fails for mysql
- From: "Carlos E. R." <carlos.e.r@xxxxxxxxxxxx>
- Date: Fri, 18 May 2012 01:10:27 +0200 (CEST)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I get this in the log:
<9.4> 2012-05-17 22:19:14 Telcontar logrotate - - - ALERT exited abnormally with [1]
<9.4> 2012-05-17 22:19:14 Telcontar logrotate - - - #007/usr/bin/mysqladmin: refresh failed; error: 'Unknown error'
<9.4> 2012-05-17 22:19:14 Telcontar logrotate - - - /etc/logrotate.d/mysql failed, probably because
<9.4> 2012-05-17 22:19:14 Telcontar logrotate - - - the root acount is protected by password.
<9.4> 2012-05-17 22:19:14 Telcontar logrotate - - - See comments in /etc/logrotate.d/mysql on how to fix this
<9.4> 2012-05-17 22:19:14 Telcontar logrotate - - - error: error running non-shared postrotate script for /var/log/mysql/mysqld.log of '/var/log/mysql/mysqld.log '
<9.4> 2012-05-17 22:19:14 Telcontar logrotate - - - Reload syslog service..done
Those comments say:
# If the root user has a password you have to create a
# /root/.my.cnf configuration file with the following
# content:
#
# [mysqladmin]
# password = <secret>
# user= root
#
# where "<secret>" is the password.
#
# ATTENTION: This /root/.my.cnf should be readable ONLY
# for root !
And I do have that file with the right permissions:
Telcontar:~ # l .my.cnf
- -rw------- 1 root root 202 Mar 27 2011 .my.cnf
and they have the specified contents:
[mysqladmin]
password = mypassword
user= root
So, what happens? This has started right after the last mysql upgrade. Another bug?
- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
iEYEARECAAYFAk+1hWMACgkQtTMYHG2NR9XnMQCfUjpQaBLSblmpLrwM8PoTOa32
QaUAnRr1S5gY4o2jcRAx+XPh53BhUken
=RHcd
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Logrotate fails for mysql
- From: Per Jessen
- Re: [opensuse] Logrotate fails for mysql
- From: Paolo Pantò
- Re: [opensuse] Logrotate fails for mysql
- From: David C. Rankin
- Re: [opensuse] Logrotate fails for mysql
- Prev by Date: Re: [opensuse] Skip the update of a specific version of a package
- Next by Date: Re: [opensuse] Skip the update of a specific version of a package
- Previous by thread: Re: [opensuse] Problem with acroread 9.4.7-3.7.1 and libpango
- Next by thread: Re: [opensuse] Logrotate fails for mysql
- Index(es):
Relevant Pages
|