Hi chrismt,chrismt wrote:This is what I see when I type freshclam in the console
ERROR: Please edit the example config file /etc/freshclam.conf
ERROR: Can't open/parse the config file /etc/freshclam.conf
Hope you can help me
This is a common error message I've seen myself. Ok, all it is really saying is that the clam.conf file is an example and not configured. I had an issue with my usb jumpdrive (it had a nervous breakdown and I lost some files) and I must have uploaded the pet to rapidshare with the default conf files rather than the one's I edited later on. Sorry about that! However, this is an easy fix and this is what you need to do:
Go to the directory "/etc" and look for the file "freshclam.conf ", basically click on the little house top left if you like from the desktop, and go up directories via the window controls until you are at / and can't go any further. You should see a folder called "etc". Click on it to enter it and then left click on the eyeball at the top of the rox window so you can see all the files. Scroll down to find freshclam.conf
Click once on freshclam.conf to open it with Geany (the text editor).
In that file if you scroll down a little bit you'll find a pair of lines like this:
Code: Select all
# Comment or remove the line below.
Example
Code: Select all
# Comment or remove the line below.
#Example
Code: Select all
# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
# Default: clamav (may depend on installation options)
DatabaseOwner clamav
Code: Select all
# By default when started freshclam drops privileges and switches to the
# "clamav" user. This directive allows you to change the database owner.
# Default: clamav (may depend on installation options)
#DatabaseOwner clamav
DatabaseOwner root
(by the way if you open Geany again it will open this file by default, which is handy if you make a boo boo.)
Go to the console again, and type "freshclam" at the prompt, that should take care of it and you should see freshclam update. It may make a couple of failed attempts before it finally gets going. As long as your connected to the internet it should work.
Again, sorry about the conf files, I'll have to get back into it and repackage it, and/or provide those conf files here. If your not using clamd you won't need to bother with clamd.conf.
Let me know how it goes.
Y.