[clamav-win32] Re: w32.clamav.net

Nigel Horne njh at bandsman.co.uk
Thu Sep 21 09:49:19 CEST 2006


clamav-win32 at subscriptions.pizzolato.net wrote:

> Meanwhile, now the freshclam process doesn't get stopped when the ClamAV
> service is stopped, and ANOTHER freshclam process is started each time
> the ClamAV service is started.  Stopping these freshclam processes
> requires either rebooting the system or the use of an externally
> acquired tool (tkill.exe from the windows resource kit, or a tool from
> sysinternals.com (pskill, or procexp)).
> 
> When the ClamAV service is stopping, you might want to try cleanly
> stopping freshclam with:
> 
>         GenerateConsoleCtrlEvent(CTRL_C_EVENT, dwProcessId);
> 
> Where dwProcessId is the process ID of the freshclam process saved when
> the process was created.

That code has been in there for some time, but it fails - it generates error 6 -
incorrect handle. I am aware of the issue.
> 
> - Mark Pizzolato

-Nigel

-- 
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
njh at bandsman.co.uk http://www.bandsman.co.uk


More information about the clamav-win32 mailing list