I'm having an identical problem with logrotation. Except it is not
with clamd but rather with my maillog. It did not start until I began
using mailgraph.pl. I can't figure it out either. I don't think that
the problem is related to either clamd or mailgraph.
Where does one get "support" for logrotate? Is there a mailing list
for it?
Anyone...
----- Original Message Follows -----
>
> Robert S wrote:
>
> >I am using logrotate to rotate my clamd logs. I have an entry
> called "clam" >in /etc/logrotate.d which looks like this:
> >
> >/var/log/clam/clam*.log {
> > sharedscripts
> > postrotate
> > /bin/kill `/usr/bin/cat /var/run/clamd/clamd.pid`
> > 2>/dev/null /usr/local/sbin/clamd
> > endscript
> >}
> >
> >If I don't kill clamd, it keeps writing to the old log.
> >
> >When this runs, the clam daemon dies.
> >
> >I've tried killall -HUP, but it doesn't work (presumably an issue
> with >ownership of the process). I've also tried a sleep between
> the two commands >to give clamd a chance to die.
> >
> >I have a cron job which "rescues" clamd if it dies, but it's not a
> very >elegant way of doing it.
> >
> >Any suggestions as to how I can get this working?
> >
> >
>
> Yes . It is known issue. I reported it many times in last 6 month,
> but developers
> ignores it. Log rotating never worked.
>
> Petr
>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users
====================
Kevin W. Gagel
Network Administrator
(250) 561-5848 local 448
(250) 562-2131 local 448
--------------------------------------------------------------
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
--------------------------------------------------------------
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users