Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2004 09:19:30 +0100
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Alexander Zagrebin <alexz@visp.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: clamd 0.67.1 doesn't reopens log file
Message-ID:  <405AAD12.8070906@fillmore-labs.com>
In-Reply-To: <20040319063847.GA34186@srv1.visp.ru>
References:  <20040319063847.GA34186@srv1.visp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Zagrebin wrote:

> I have troubles with clamd's log rotation.
> The problem in that, clamd doesn't reopens log file after signal.
> To repeat:
>   cd /var/log/clamav
>   mv clamd.log clamd.log.1
>   kill -1 `cat /var/run/clamav/clamd.pid`
> After this clamd writes to log
>   Fri Mar 19 09:21:59 2004 -> SIGHUP catched: log file re-opened.
> but doesn't creates clamd.log and continues write to clamd.log.1
> 
> Any suggestions (except clamd restarting)?

Seems like this is only supported in clamav >= 0.70, in PR 64348:
  http://sourceforge.net/mailarchive/message.php?msg_id=7526139

-Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?405AAD12.8070906>