Hello list; I just completed a fresh install of
ASSP 1.3.2 so just to refresh my memory
I went through all the installation steps; now
as many of you probably know; installing
ASSP on Win32 with the ActivePerl may be
somewhat "tricky" so here are some notes
related to ClamAV which may be of help or
may even (if you want) be "wikified"

To install clamD and FreshClam on win32
and have them run as services (yes, both)
you'll need to pick a freely redistributable
tool from Microsoft called "instsrv" and its
counterpart "srvany" the two tools come
packaged with the "resource kit" which
can be downloaded here

http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD

but you may also find them around just
googling a little and withouth having to
fetch the whole "blob"; at any rate once
you'll have the two tools, copy them into
the folder used to install ClamAV (e.g.)

C:\Program Files\ClamAV

at this point, proceed creating the two
service entries for ClamD and FreshClam
by running the following commands

instsrv ClamD "c:\Program Files\ClamAV\srvany.exe"
instsrv FreshClam "c:\Program Files\ClamAV\srvany.exe"

as you may have noticed the "exe" name used
isn't the real program but the "srvany" tool; this is
a simple "launcher" for whatever real application
we'll need to run as a service; at any rate; once
done the above we'll need to configure both the
services to start the real applications, so we'll fire
up the registry editor (regedit) and expand the
following registry path

HKLM\System\CurrentControlSet\Services

at this point let's locate the "ClamD" entry, select
it and then create a new subkey named "Parameters"
select this new subkey and create three new values
of type REG_SZ (string) as follows

Name Application
Type  REG_SZ
Value c:\program files\clamav\clamd.exe

Name AppParameters
Type  REG_SZ
Value --config-file="c:\program files\clamav\conf\clamd.conf"

Name AppDirectory
Type  REG_SZ
Value c:\program files\clamav

after that, let's edit the "freshclam" informations too; again,
locate the "FreshClam" entry, add the "Parameter" subkey
and create the three values

Name Application
Type  REG_SZ
Value c:\program files\clamav\freshclam.exe

Name AppParameters
Type  REG_SZ
Value --daemon --config-file="c:\program
files\clamav\conf\freshclam.conf"

Name AppDirectory
Type  REG_SZ
Value c:\program files\clamav

that all; just ensure to edit the "clamd.conf" and "freshclam.conf" so
that
they'll be correct and possibly check them using the "clamconf" tool;
also,
since we're running "freshclam" as a daemon (service) ensure to set the
update check frequency (Checks parameter) to the desided value; done
that.. just start the services by entering

net start clamd
net start freshclam

from this moment on, the clamd and the freshclam one will be
automatically
started at system boot and the freshclam will automatically check for
updated
signatures at the configured interval; you may check both services by
looking
at the log files

just a last note; if you use ActivePerl, installing "File::Scan::ClamAV"
won't
work and you'll need to manually download the "tgz" file and copy the
"pm"
to the proper location.. now; since there's a ClamAV client module which
works for both CPAN and ActiveState.. it may be a good idea to change
ASSP to use it, this will ease installation; the module I'm referring to
is

http://search.cpan.org/dist/ClamAV-Client-0.11/

and I think it shouldn't be difficult to change the ASSP code to use it
(Fritz ?)

well.. that's all


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to