aceinc wrote: |
Is there a way of running c:\program files\freshclam.exe from the command line? When I do I get the error;
ERROR: Can't parse the config file /usr/local/etc/clamd.conf
I installed ClamAV for windows on the same computer, and that version of freshclam.exe works. It seems to have a more robust installation of cygwin.
The computer that this runs on is mainly a lights out computer that is a mail server. The mail server likes clamwin for scanning messages for viri. Since nobody stays logged in, I can't use the normal scheduler that runs in the system tray, and I can't find a service to do the updates, so I was hoping to use freshclam.exe.
So my main problem is unattended updates, and I will take the best solution for that problem, or how to configure the environment so that freshclam.exe runs.
Paul |
Create TEXT file.
Copy the script BELOW (Page 15 of 27: manual_en.pdf) and paste into TEXT file:
# URL of server where database updates are to be downloaded from
# If this option is given multiple times, each will be tried in
# the order given until an update is successfully downloaded
#MAKE SYU
DatabaseDirectory "c:/Documents and Settings/All Users/.clamwin/db/"
DatabaseMirror database.clamav.net
# Number of times to try each mirror before moving to the next one
MaxAttempts 3 |
Rename WHOLE file INCLUDING EXTENSION as "clamd.conf"
Duplicate "clamd.conf" but rename as "freshclam.conf" PUT IN SAME FOLDER
BOTH files (clamd/freshclam) serves as a backup Configuration file for each other. Either one existing will enable command prompt update.
Run "freshclam.exe" and DOWNLOAD