*nix Thread, FOG + ClamAv in Technical; Morning all
Having a serious headache with getting fog + ClamAv working, i assign a virus scan to a client ...
28th September 2009, 10:44 AM #1
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,
IDG Tech News
28th September 2009, 11:49 AM #2
have you tried updating clam av on the fedora machine? then the clients shouldnt have to update it
Thanks to Arcath from:
kevbaz (28th September 2009)
28th September 2009, 12:17 PM #3
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
28th September 2009, 12:23 PM #4
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)
28th September 2009, 12:35 PM #5
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 ?
28th September 2009, 12:44 PM #6
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
Last edited by kevbaz; 28th September 2009 at 01:00 PM.
28th September 2009, 01:41 PM #7
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
28th September 2009, 01:51 PM #8
i get unknown host? but i can yum update fine
28th September 2009, 01:59 PM #9
Thanks to ricki from:
kevbaz (28th September 2009)
28th September 2009, 02:05 PM #10
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...
28th September 2009, 02:27 PM #11
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
28th September 2009, 03:20 PM #12
that didnt work
any other ideas? thanks for the help so far though
28th September 2009, 04:02 PM #13
what folder is it complaining about having insure permissions on? can you post the `ls -l` line for that folder?
29th September 2009, 09:04 AM #14
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?
29th September 2009, 11:34 AM #15
By Dafty in forum O/S Deployment
Last Post: 10th August 2011, 11:51 AM
By RabbieBurns in forum *nix
Last Post: 18th May 2009, 12:08 PM
By Geoff in forum Downloads
Last Post: 11th June 2008, 01:11 PM
By alonebfg in forum *nix
Last Post: 10th December 2007, 09:23 AM
By localzuk in forum Other Stuff
Last Post: 24th January 2007, 12:25 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)