> From: Ramasubramanian [mailto:[EMAIL PROTECTED]]
> Hi,
>       I tried to flush the logs but still the rotation doesn't happen.
> What else could be the problem ??
>       I get the same message again
>       My config file read like this
>              "/var/log/mysqld.log" {
>               rotate 5
>               size=100k
>               create 0644 mysql mysql
>               postrotate
>               if test -n "`ps acx | grep mysql`";then
>                       /usr/bin/mysqladmin  flush-logs
>               fi
>               endscript
>               mail [EMAIL PROTECTED]
>               missingok
>       }
> 
>       I execute the config file as follows.
> 
>       /usr/sbin/logrotate -v /root/mysqlrotparams.conf
> 
>       I still get the old message
> 
>       > reading config file mysqlrotparams.conf
>       > reading config info for "/var/log/mysqld.log"
>       > Handling 1 logs
>       > rotating pattern: "/var/log/mysqld.log"  102400 bytes (5
> rotations)
>       > empty log files are rotated old logs mailed to
> [EMAIL PROTECTED]
>       > rotating file /var/log/mysqld.log
>       > log does not need rotating

The last line would imply this is a logrotate issue.  Try playing with the
parameters - comment them out till something works.

Greg


----------------------------------------------------------------
This message and any attachment has been virus checked by
Pfizer Corporate Information Technology, Sandwich.
----------------------------------------------------------------


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to