[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cron <root@adanidas> test -e /usr/sbin/anacron || run-parts --report /etc/cron.daily]



On Wed, 25 Oct 2000 18:21:15 +0000 (UTC), Remco Rijnders said:

> In article <ecA8pC.A.yGF.Hxx95@murphy>, mike wrote:
>  
>  >>  /etc/cron.daily/logrotate:
>  >>  error: mysql-server:15 duplicate log entry for /var/log/mysql.log
>  >>  run-parts: /etc/cron.daily/logrotate exited with return code 1
>  
>  > Look in /etc/logrotate.conf and /etc/logrotate.d/mysql-server. There
>  > should be only one entry for /var/log/mysql.log. Sounds like the
>  > upgrade to woody duplicated this entry.
>  
>  Mike, 
>  
>  Thank you for responding. I checked the files as you mentioned. 
>  /etc/logrotate.conf doesn't mention any mysql.log at all. 
>  /etc/logrotate.d/mysql-server contains one entry for
>  /var/log/mysql.log and one for /var/log/mysql.err . I am kind of
>  stumped as to where the message I am getting is coming from as I can't
>  seem to find any indication as to why this would be so.
>  
	What i would try next is to comment out the 'include' line in
/etc/logrotate.conf.  I am assuming you have a line like:
include /etc/logrotate.d . 
	This should ignore the mysql-server file that contains 
/var/log/mysql.log. Then do #run-parts --report /etc/cron.daily and  see what
messages you get.
	If you get no error message , check /var/log to make sure
that mysql.log is still getting rotated.
-- 
gEEk||dOOd^Deb+ian&&XFce$everything goes<Pronto>(-_-)



Reply to: