Page 1 of 3

Posted: Wed 28 Jul 2010, 14:25
by yorkiesnorkie
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
Hi chrismt,

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 
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: Select all

# Comment or remove the line below. 
#Example 
Then continue to scroll down in the file until you find the following lines:

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 
Put a "#" in front of DatabaseOwner, and type "DatabaseOwner root" on a new line after it like so:

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

Let me know how it goes.

Y.

Posted: Wed 28 Jul 2010, 19:27
by chrismt
Thanks man! Now it is working!

I wish there was a GUI

Thanks!

Posted: Fri 30 Jul 2010, 10:58
by yorkiesnorkie
Hi chrismt,

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: Select all

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.

Y.[/code]

Posted: Sat 07 Aug 2010, 14:47
by abushcrafter
Arr! The link is dead! Please, this time upload to My Free File Hosting. This is what I have been using for my PETs.

Posted: Sun 08 Aug 2010, 00:04
by JackED42
Could someone please re-upload this

New Upload Link

Posted: Thu 19 Aug 2010, 23:32
by yorkiesnorkie
*******
UPDATE
******

MARCH 19, 2011

The link to upload the pet has been moved to the first post.

Y.

Docs

Posted: Fri 03 Sep 2010, 15:32
by yorkiesnorkie
*******
UPDATE
*******

MARCH 19, 2011

The doc man pages are built into the pet.

clamav

Posted: Mon 28 Feb 2011, 19:47
by dalebednell
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!



Dale

ClamAV

Posted: Sat 05 Mar 2011, 22:21
by yorkiesnorkie
Hi Dalebednell,

It looks like they upgraded the version! I'll have to download the tar.gz file and re-compile the new version. There's some work involved so I'll post a new version when it's ready. Stay tuned!

Yorkiesnorkie
:)

clamav

Posted: Tue 08 Mar 2011, 13:02
by dalebednell
Hi yorkiesnorkie
Thanks for the this clam it works well great job look forward to the update.
Thanks again




Dale

Re: clamav

Posted: Mon 14 Mar 2011, 13:03
by yorkiesnorkie
dalebednell wrote: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.

Yorkiesnorkie
:-)

Testing Completed

Posted: Thu 17 Mar 2011, 11:56
by yorkiesnorkie
Hi,

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.

Yorkie
:-)

New Pet for ClamAV 0.97 Available

Posted: Sat 19 Mar 2011, 14:53
by yorkiesnorkie
Hi!

Note that I've moved all the links to the new files in the first post. It's easier to maintain all the links in one spot!

The new clamav 0.97 pet is a full build. The freshclam.conf file is pre-configured so you can open rxvt and update it with "freshclam".

The freshclam.conf file is included in the pet but I'm enclosing it also as a separate link for reference.

Note that I did not configure clamd.conf. I do not start and run the daemon myself so I figure configuring it is best left to experts. I left it in the build in case some of you are using servers.

Lastly, I've included my tutorial which describes how to compile clamav and has an examples on how to update freshclam and use clamscan.

Suggestions welcomed.

Enjoy,

Yorkiesnorkie

clamav-0.97-i386.pet - For Puppy Linux 4.3.1

Posted: Sat 19 Mar 2011, 17:15
by dalebednell
Hi
well what can i say works a treat it's scanning now i notice you have for puppy linux 4.31 i use 5.1.1 and all is fine so far thanks again



Dale

Posted: Mon 21 Mar 2011, 11:38
by yorkiesnorkie
Hi Dale,

That's great, yes I'm running puppy 431 so that is what I compiled it in, but it's good to know that it works with the Puppy 5xx series.

Yorkie
:-)

clamav-0.97-i386.pet

Posted: Tue 17 May 2011, 21:11
by dalebednell
Hi yorkiesnorkie
just installed your clamav pet on puppy 525 and updated the virus database all fine for now i will run a scan on my windows partition at the week end and let you know the results then.



Thanks again
Dale

Posted: Tue 17 May 2011, 23:55
by yorkiesnorkie
Hi Dale,

Cool, I'm glad the pet is working for you. Just remember that ClamAV doesn't fix anything, it only detects and if you tell it to, removes files to quarantine. If you use the remove feature be careful.

Yorkie
:-)

clamav-0.97-i386.pet

Posted: Wed 18 May 2011, 19:34
by dalebednell
Hi yorkiesnorkie

That's ok i know it removed avg last time but i'm careful so no problem


Dale :lol:

Could not install

Posted: Thu 08 Dec 2011, 20:13
by gcmartin
Tried download and install to a latest PUP528 Lucid from Playdayz.

Failed. Ideas would be appreciated.

Thanks in advance
EDIT: Tried to download using Chrome Browser on several ocasions. In EACH CASE, the download is being terminated on the other end for some reason, just prior to completion. Thus, I'm getting incomplete downloads, too. Maybe you might know why???
SOLVED The problem has cleared???

First Post in this thread - FreshClam

Posted: Wed 21 Dec 2011, 01:17
by gcmartin
Are you aware that FreshClam selection in your first post does NOT work?

Hope this helps