FOG + ClamAv
Having a serious headache with getting fog + ClamAv working, i assign a virus scan to a client and it pxe boots fine, loads up the scanning page, claims that it is updating clamav but then errors saying no database files were found.
Im assuming its somethign to do with proxy authentication but cant seem to be able to get around it at all,
have you tried updating clam av on the fedora machine? then the clients shouldnt have to update it
well when i run freshclam is gives a command not recognised error, i try clamscan and it scans a folder.
not really sure how to get it working so any help is very much appreciated
is it bash saying that?
could it be that freshclam isnt installed? if it is maybe the symlink doesnt exist. Look for a freshclam file on your HDD (probabbly gonna be somewhere in /usr)
ok just ran yum install *clamav and that went through fine, then i ran *clamav-update and that downloaded and installed fine, i then typed clamscan and i got the error that the database is over 7 days old??
the fog av task reports theres no database files in the usr/local/share/clamav ?
just edited this line
tried to freshclam and got an error that it cant parse the config file?
forgot to comment out the EXAMPLE line but were still gettting an error when trying to freshclam?
cannot read name.cbd header
now it might be a proxy issue, not able to read the headers file.
can you ping "db.uk.clamav.net" from the fedora machine
i get unknown host? but i can yum update fine
how did i miss that one?!
however i have set it but now get an error saying insecure permssions must have no more than 0700...
that will be on the clamav database folder, you probabbly want to remove the read/write permissions from everyone and limit it to the owner and group.
cant remeber the code, you will probabbly need to take away the execute permission aswell
that didnt work :(
any other ideas? thanks for the help so far though :)
what folder is it complaining about having insure permissions on? can you post the `ls -l` line for that folder?
thanks for you help so far very appreciated :)
managed to get freshclam working but running the virus scan via fog still doesnt work, it still complains that theres no database files found?