Package: zabbix-server-mysql Version: 1.1-5 The contents of the /etc/logrotate.d/zabbix-server-mysql are as follows
/var/log/zabbix-server/zabbix_server.log { daily rotate 7 compress missingok notifempty create 0640 zabbix zabbix sharedscripts postrotate /etc/init.d/zabbix-server restart > /dev/null 2>&1 endscript } The result of this postrotate action is that zabbix-server is started even if it was not running previously and/or removed from rc.d completely. Also, the shipped binary does log rotation/deletion of it's own, so the logrotate entry is fairly useless (it will rotate only the last 5 minutes worth of logs). Another problem is that zabbix-server has socket lingering issues so on a heavy-load system this restart never succeeds as zabbix-server cannot bind on immediate restart. I am using Debian GNU/Linux 2.6, kernel 2.6.16-1-vserver-amd64-k8 and libc6 2.3.5-7. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]