kevbaz Posted September 28, 2009 Posted September 28, 2009 Morning all 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, any ideas?
Arcath Posted September 28, 2009 Posted September 28, 2009 have you tried updating clam av on the fedora machine? then the clients shouldnt have to update it 1
kevbaz Posted September 28, 2009 Author Posted September 28, 2009 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
Arcath Posted September 28, 2009 Posted September 28, 2009 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)
kevbaz Posted September 28, 2009 Author Posted September 28, 2009 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 ?
kevbaz Posted September 28, 2009 Author Posted September 28, 2009 (edited) just edited this line #DatabaseMirror db.XY.clamav.net to DatabaseMirror db.uk.clamav.net tried to freshclam and got an error that it cant parse the config file? edit forgot to comment out the EXAMPLE line but were still gettting an error when trying to freshclam? cannot read name.cbd header Edited September 28, 2009 by kevbaz
Arcath Posted September 28, 2009 Posted September 28, 2009 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
kevbaz Posted September 28, 2009 Author Posted September 28, 2009 i get unknown host? but i can yum update fine
ricki Posted September 28, 2009 Posted September 28, 2009 Hi Have you set the proxy settiungs in freshclam.conf Ubuntu Manpage: freshclam.conf - Configuration file for Clam AntiVirus database update Richard 1
kevbaz Posted September 28, 2009 Author Posted September 28, 2009 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...
Arcath Posted September 28, 2009 Posted September 28, 2009 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
kevbaz Posted September 28, 2009 Author Posted September 28, 2009 that didnt work any other ideas? thanks for the help so far though
Arcath Posted September 28, 2009 Posted September 28, 2009 what folder is it complaining about having insure permissions on? can you post the `ls -l` line for that folder?
kevbaz Posted September 29, 2009 Author Posted September 29, 2009 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?
StylusPilot Posted April 27, 2010 Posted April 27, 2010 managed to get this resolved I realise this is an old thread however I am experiencing the same issue, any chance you can post what you did to fix? Thanks
morganw Posted June 5, 2010 Posted June 5, 2010 I think you need to customise the FOG boot image to include the proxy settings, everything runs independently from the server when doing the virus scan so the proxy settings on the FOG server are irrelevant. There is a script to let you edit the boot image built in... SourceForge.net: FOG - A Free Cloning Solution: Topic: Problem with ClamAV updating and Proxy
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now