store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Thu May 23, 2013 9:58 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 14 posts ] 
Author Message
 Post subject: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Tue Mar 31, 2009 1:58 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7428
Location: earth
This is the offical release for Clamav 0.95

Changelog:

- New clamav-milter: The program has been redesigned and rewritten from
scratch. The most notable difference is that the internal mode has been
dropped which means that now a working clamd companion is required.
The milter now also has its own configuration file.

- Clamd extensions: The protocol has been extended to lighten the load
that clamd puts on the system, solve limitations of the old protocol,
and reduce latency when signature updates are received. Fore more
information about the new extensions please see the official
documentation and the upgrade notes.

- Improved API: The API used to program ClamAV's engine (libclamav) has
been redesigned to use modern object-oriented techniques and solves
various API/ABI compatibility issues between old and new releases.
You can find more information in Section 6 of clamdoc.pdf and in
the upgrade notes.

- ClamdTOP: This is a new program that allows system administrators to
monitor clamd. It provides information about the items in the clamd's
queue, clamd's memory usage, and the version of the signature database,
all in real-time and in nice curses-based interface.

- Memory Pool Allocator: Libclamav now includes its own memory pool
allocator based on memory mapping. This new solution replaces the
traditional malloc/free system for the copy of the signatures that
is kept in memory. As a result, clamd requires much less memory,
particularly when signature updates are received and the database is
loaded into memory.

- Unified Option Parser: Prior to version 0.95 each program in ClamAV's
suite of programs had its own set of runtime options. The new general
parser brings consistency of use and validation to these options across
the suite. Some command line switches of clamscan have been renamed
(the old ones will still be accepted but will have no effect and will
result in warnings), please see clamscan(1) and clamscan --help for
the details.


To Upgrade:

yum upgrade clamav


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Tue Mar 31, 2009 2:15 pm 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 704
Location: Sweden
I am getting an error when I try to restart clamd:

Starting Clam AntiVirus Daemon: LibClamAV Warning: Cannot dlopen: file not found - unrar support unavailable

Anything to worry about?


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Tue Mar 31, 2009 2:20 pm 
Offline
Forum Regular
Forum Regular

Joined: Tue Aug 05, 2008 5:01 pm
Posts: 108
Same error here:

Starting Clam AntiVirus Daemon: LibClamAV Warning: Cannot dlopen: file not found - unrar support unavailable

Also freshclam gives some errors:

Code:
[root@server1 ~]# freshclam
ClamAV update process started at Tue Mar 31 18:20:53 2009
main.cvd is up to date (version: 50, sigs: 500667, f-level: 38, builder: sven)
ERROR: chdir_tmp: Can't create directory ./clamav-4d5946b6a6006f3e0ab8ce9a8d548c18
WARNING: Incremental update failed, trying to download daily.cvd
Trying host db.local.clamav.net (208.67.80.27)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host db.local.clamav.net (IP: 208.67.80.27)
Trying host db.local.clamav.net (138.123.96.134)...
ERROR: getfile: Can't create new file /var/clamav/clamav-e4fab2d7519f2189c0d04fc151b43e78 in /var/clamav
Hint: The database directory must be writable for UID 10015 or GID 105
WARNING: Can't download daily.cvd from db.local.clamav.net


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Tue Mar 31, 2009 2:44 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7428
Location: earth
Make sure /var/clamav is owned by the right user


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Tue Mar 31, 2009 3:01 pm 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 704
Location: Sweden
Mine is own by qscand


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Tue Mar 31, 2009 3:15 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7428
Location: earth
You can run the cron job too, that will fix it automatically: /etc/cron.daily/freshclam


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Wed Apr 01, 2009 2:28 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 704
Location: Sweden
I hade to manually remove my /var/log/clamav/freshclam.log which was also owned by qscand:qscand (and empty) for it to work, but now it seems to be working.

edit: I realized I had the wrong permission in freshclam.conf. After updating it to qscand, from clamav, everything and changed ownership, again, to /var/log/clamav/freshclam.log, everything works like a charm!


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Wed Apr 01, 2009 3:16 am 
Offline
Forum Regular
Forum Regular

Joined: Tue Jul 15, 2008 2:38 pm
Posts: 704
Location: Sweden
Unfortunatly it was to soon to bring out the champagne. the error is still there...

Here is the error documented, but as aus-city states in another thread https://atomicrocketturtle.com/forum/viewtopic.php?f=4&t=2989, it seems like it need re-compilation...
https://wiki.clamav.net/Main/UpgradeNotes095#Caveats


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Wed Apr 01, 2009 4:53 am 
Offline
Forum Regular
Forum Regular

Joined: Thu Oct 26, 2006 11:56 pm
Posts: 665
Its been addressed in SVN 4992 and now its up to 4994

https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1476

Scott should be able to build release -5 against the latest SVN and problem, fixed.

Incase your not aware modsec-clamscan.pl needs to be edited due to depreciated option:

clamscan.pl needs changing to drop the depreciated option --disable-summary.

You can do this by editing /usr/bin/modsec-clamscan.pl

Scroll down to $cmd "$CLAMSCAN --stdout -- disable- summary -<$FILE";

And change to:

$cmd "$CLAMSCAN --stdout -<$FILE";

I emailed Michael and asked for a package update to reflect this.


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Wed Apr 01, 2009 9:04 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7428
Location: earth
Do you think you could put this in the bugtracker? It would really help a lot

In reference to the unrar library, there are legal issues with our ability to distribute the unrar package at this time. Note this effects everybody, fedora, ubuntu, debian, clamav, etc. We're working on a solution to support rar in ASL going forward. The error message itself is completely benign, it is a warning only.


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Wed Apr 01, 2009 10:42 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3245
Location: Chantilly, VA
Just restart clamd, you're running the old clamd if you are getting this error:

ERROR: Command rejected by clamd (wrong clamd version?)

That means you are running the old clamd still and need to restart it so you will be running the new clamd.

and the deprecated error is harmless, it won't break anything. We'll put out an update shortly for that, its not a priority issue unless it breaks something.

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Clamd 0.95 - LibClamAV Warning - unrar support unavailable
Unread postPosted: Fri Apr 03, 2009 8:00 am 
Offline
Forum User
Forum User

Joined: Wed Feb 11, 2009 7:42 am
Posts: 26
Hello,

I just updated my clamd/clamav packages to 0.95 via the atomic (not testing) repository. It works fine, but each time I start clamd, I get this warning:

Starting Clam AntiVirus Daemon: LibClamAV Warning: Cannot dlopen: file not found - unrar support unavailable

I guess that rar files scan is disabled...
But do you know how to enable it?

Thanks!


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Fri Apr 03, 2009 10:33 am 
Offline
Forum Regular
Forum Regular

Joined: Wed Jan 02, 2008 3:21 pm
Posts: 515
Location: United Kingdom
A lot of recent discussion on these forums regarding this: search.php?keywords=unrar+support+unavailable


Top
 Profile  
 
 Post subject: Re: [asl-2.0] ClamAV 0.95-4 Released
Unread postPosted: Fri Apr 03, 2009 12:41 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3245
Location: Chantilly, VA
We have a solution for this and its internal QA now. It should be available soon.

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 14 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group