rotate cyrmaster.log file

Alain Spineux aspineux at gmail.com
Mon Jan 19 22:41:55 CET 2009


On Mon, Jan 19, 2009 at 6:18 PM, Alessio Cecchi <alessio at skye.it> wrote:
> Hi,
>
> on my kolab server the cyrmaster.log is very very large:
>
>
> mail:~# ls -lh /home/kolab/var/imapd/log/cyrmaster.log
> -rw-rw-r-- 1 kolab-r kolab-r 6.2G Jan 19
> 18:14 /home/kolab/var/imapd/log/cyrmaster.log
>
> Why kolab/cyrus not rotate this file? Is a problem of my Kolab installation?
>
> How can i disable debug on this file?
>
> mail:~# tail -f /home/kolab/var/imapd/log/cyrmaster.log
> Jan 19 18:05:27 mail <debug> master[13723]: about to exec /kolab/bin/pop3d
> Jan 19 18:05:33 mail <debug> master[13724]: about to exec /kolab/bin/pop3d
> Jan 19 18:05:46 mail <debug> master[9307]: process 12856 exited, status 0
> Jan 19 18:06:02 mail <debug> master[13725]: about to exec /kolab/bin/imapd
> Jan 19 18:08:23 mail <debug> master[9307]: process 13724 exited, status 0
> Jan 19 18:10:04 mail <debug> master[13760]: about to exec /kolab/bin/lmtpd
> Jan 19 18:12:10 mail <debug> master[9307]: process 13760 exited, status 0
> Jan 19 18:12:13 mail <debug> master[13781]: about to exec /kolab/bin/lmtpd
> Jan 19 18:14:30 mail <debug> master[9307]: process 13781 exited, status 0
> Jan 19 18:14:42 mail <debug> master[13807]: about to exec /kolab/bin/lmtpd
>

It should be rooled once a day. Are you sure it doesn't grow to 6Go in
only one day ?
What about  ?

# head /home/kolab/var/imapd/log/cyrmaster.log

look at /kolab/etc/rc.d/rc.imapd if everything looks fine.
Also look for older log files dates:

# ls -l  /home/kolab/var/imapd/log/cyrmaster.*

Regards

> Thanks
> --
> Alessio Cecchi is:
> @ ILS -> http://www.linux.it/~alessice/
> on LinkedIn -> http://www.linkedin.com/in/alessice
> Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
> @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
> @ LOLUG -> Socio http://www.lolug.net
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you




More information about the users mailing list