* On 05/01/06 22:02 +0300, Nsubuga Ronald Tash wrote:
> Hullo list,
> Happy New Year.
> 
> Am running freeBSD 4.11 
> I tried to upgrade my clamav and it seemed to have worked but surprisingly it 
> has failed to work.
> 
> when it try to start it fails to run at all and when i checked for the errors 
> it displayed the following error.
> 
>  Jan  5 19:05:02 2006 -> Log size = 2101840, maximal = 2097152
> LOGGING DISABLED (Maximal log file size exceeded).
> Thu Jan  5 19:06:25 2006 -> Log size = 2101957, maximal = 2097152
> LOGGING DISABLED (Maximal log file size exceeded).
> Thu Jan  5 19:14:43 2006 -> Log size = 2102074, maximal = 2097152
> LOGGING DISABLED (Maximal log file size exceeded).
> Thu Jan  5 20:59:51 2006 -> Log size = 2102191, maximal = 2097152
> LOGGING DISABLED (Maximal log file size exceeded).
> Thu Jan  5 21:15:16 2006 -> Log size = 2102308, maximal = 2097152
> LOGGING DISABLED (Maximal log file size exceeded).
> 
> Is there any body who has met this before, 

Many times!!

Change the value of LogFileMaxSize clamd.conf and formulate a nice
log rotation plan. I am sure newsyslog can do this easily.

Try this in /etc/newsyslog:

/path/to/clamd.log clamav_user:clamav_group  640 30  *  @T00 J $PidFile 1


Where $PidFile is the path to clamd pid as is configured in clamd.conf


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <[EMAIL PROTECTED]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

Imagination is the one weapon in the war against reality.
                -- Jules de Gaultier
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to