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:

# Comment or remove the line below.
Example

What you need to do is put a "#" sign in front of the line "Example" like so to comment it out, and make ClamAV actually use the file:

Code:

# Comment or remove the line below.
#Example

Then continue to scroll down in the file until you find the following lines:

Code:

# 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

Put a "#" in front of DatabaseOwner, and type "DatabaseOwner root" on a new line after it like so:

Code:

# 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

The DatabaseOwner must be changed to root. Puppy does not really have "users" and it runs as root. Therefore, in order for ClamAV to have the necessary permissions to alter the database it needs root privaleges. Once you've made the edits save the file and close it.

(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.

Well, that's great! Actually, there is a gui kicking around somewhere. The ClamAV web site has a third party one if I recall correctly, I'm not sure if it is up to date. However, to be honest, once you get used to the command line, its so easy to use the gui just gets in the way. Remember

Code:

clamscan -h

gives you the help.

If you have rox open, and your looking at the files in a directory, you can right click and open a terminal there, and run clamscan without having to t ype a path. Usually, I'm only running scans on downloaded files.

Arr! The link is dead! Please, this time upload to My Free File Hosting. This is what I have been using for my PETs._________________adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/

Hi yorkiesnorkie
Thanks for the pet of clamav i tried to update with freshclam but i get a message outdated clamav i tried one more time and got this message
# freshclam
ClamAV update process started at Mon Feb 28 19:32:04 2011
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.96.1 Recommended version: 0.97
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cld is up to date (version: 53, sigs: 846214, f-level: 53, builder: sven)
daily.cld is up to date (version: 12792, sigs: 60705, f-level: 60, builder: neo)
bytecode.cvd is up to date (version: 140, sigs: 40, f-level: 58, builder: edwin
What can i do to update this version. I did go to the site and read but unsure how to upgrade can you help plz Thanks!

Hi yorkiesnorkie
Thanks for the this clam it works well great job look forward to the update.
Thanks again

Dale

Hi Dale,

I compiled the new version on the weekend, after jumping through a couple of hoops. I forgot what I did the last time but the good news is that it is done. I just need to run a couple of tests before I upload it.

I use Puppy 431 so the application is compiled for i386 against that release. I don't use Puppy 5.20.

The new Pet package will be 31 mb and it will have everything in it, including the documentation. I'm pre-configuring the freshclam.conf file, so that will work from the start, but I'm leaving most of the conf file customizations to the end users.

I'm also documenting the process in Abiword and I'll upload that file too so anyone can figure out how to compile it.

I'll probably upload in the next day or so after I've completed my tests, and I'll post the link here.

Just a little update. I've completed my testing on ClamAV 0.97, got my document on compiling ready, run freshclam, and a scan.

Based on that I'm going to pre-configure the freshclam.conf file but not the clamd.conf file.

I don't use the daemon feature myself, which makes me wonder if anyone here is using the server tool either. At the moment I've made a complete package but I could trim the fat so to speak. I might make a second smaller package.

Report on Testing:

During my tests, a clamscan of my Puppy Frugal install it picked up the eicar test file related to the fprot installation. As you may or may not know Puppy 43x comes with fprot and xfprot as an installable option from the menu. I've never been able to get the xfprot interface to work. However fprot will work from the command line. Finding this supposedly infected file gave me pause for a moment until I remembered what it was. so if you do a clamscan of your Puppy installation don't be surprised when ClamAV picks it up.

I also scanned a windows partition and picked up a trojan in "super.exe" that I didn't know about which I'll be sending in to the ClamAV folks later. Super is a windows application that converts video file formats.

Intentions:

I should have the 0.97 version of ClamAV uploaded sometime this weekend, and I'll post the link here. I'll be removing the link to 0.96 after that, and deleting it from where it was stored.

I'll also separately post my instructions on compiling, and a pre-configured freshclam.conf file for those of you who may want them.

I'm going to take a look at compiling the Klamav GUI tool after that. I run ClamAV from the command line but it might be nice to have a GUI tool.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum