Jump to content

Recommended Posts

Posted

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?

Posted

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

Posted

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)

Posted

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 ?

Posted (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 by kevbaz
Posted

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

Posted

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?

  • 6 months later...
  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...