List:General Discussion« Previous MessageNext Message »
From:khera Date:April 29 1999 7:55pm
Subject:/etc/logrotate.d/mysql emits errors if logging is off
View as plain text  
	nightly log rotating from the distributed RPM file issues a
	warning if the mysql log file does not exist
	turn off logging and remove the log file.  let logrotate run.
	add "missingok" to the /etc/logrotate.d/mysql configuration

>Submitter-Id:	<submitter ID>
>MySQL support: extended email support
>Synopsis:	logrotate errors if log missing
>Severity:	non-critical
>Priority:	low
>Category:	mysql
>Class:		sw-bug
>Release:	mysql-3.22.21 (Source distribution) [actually binary RPM file]
>Server: /usr/bin/mysqladmin  Ver 7.11 Distrib 3.22.21, for pc-linux-gnu on i686
TCX Datakonsult AB, by Monty

Server version		3.22.21
Protocol version	10
Connection		Localhost via UNIX socket
UNIX socket		/var/lib/mysql/mysql.sock
Uptime:			23 hours 14 min 40 sec

Threads: 1  Questions: 36  Slow queries: 0  Opens: 16  Flush tables: 2  Open tables: 2
System: Linux 2.2.6 #6 Thu Apr 22 15:30:45 EDT 1999 i686 unknown
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
Compilation info: CC='egcs'  CFLAGS='-O6 -fomit-frame-pointer -mpentium'  CXX='egcs' 
CXXFLAGS='-O6 -fomit-frame-pointer 	          -felide-constructors -fno-exceptions
-fno-rtti -mpentium'  LDFLAGS=''
Configure command: ./configure  --enable-shared --enable-assembler --disable-shared
--with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static
--with-mysqld-user=mysql --with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/
--exec-prefix=/usr --libexecdir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--localstatedir=/var/lib/mysql --infodir=/usr/info --includedir=/usr/include
Perl: This is perl, version 5.005_03 built for i386-linux
/etc/logrotate.d/mysql emits errors if logging is offkhera29 Apr