Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: users

How to install latest Clamav (v0.93-0.2) on openSUSE 10.3

 

 

ClamAV users RSS feed   Index | Next | Previous | View Threaded


rax369 at hotmail

Apr 24, 2008, 9:29 PM

Post #1 of 7 (636 views)
Permalink
How to install latest Clamav (v0.93-0.2) on openSUSE 10.3

I will try to describe how I manage to get the final version (0.93-0.2) of
ClamAV running AT LAST today, after living a whole nightmare, to finally get
it up and running.

Well at least until the official package has been released, for OS 10.3. Ok,
here I go...

1) The first step is to uninstall any previous version you have installed.
Apparently YaST2 (if you installed ClamAV v0.92 from there) leaves traces
behind, so this will not be enough.

There are some serious library issues around yet with the new version, if
you dont believe me, just check the
[url=http://www.nabble.com/clamav-users-f16463.html]ClamAV Forums[/url] to
check how many people using different distros, are complaining about the
lots of problem they are having to making to work ClamAV v0.93-0.2, even
when there is is available a RPM for their specific distro.

2) I had to install from SOURCE the earlier version (0.92.1) to uninstall it
latter. And only by doing this I really erased all the traces behind, to
prepare the system to a fresh installation.

So just make the traditional install process when installing from sources.
Once the source package has been uncompressed:

./configure
make
make install


Then proceed to uninstall it

./configure
make
make uninstall

Ok now grab the RPM released for openSUSE 10.3 (maintained by Reinhard Max)
from here:

ftp://ftp.suse.com/pub/projects/clamav/clamav-0.93/10.3-i386 i386
or
ftp://ftp.suse.com/pub/projects/clamav/clamav-0.93/10.3-x86_64 x64

... depending on your architecture.

3) Now you can finally proceed to install the RPM package, as usual

rpm -ivlh <package-name>

4) Reboot your machine (this was really important, I read somewhere that it
was recommended to restart the services, but since I didn't know what
services, how to restar them, I prefered to reboot the PC)

5) Now try to update the virus database by running:

freshclam

Ok, now you are done, even when you possibly will receive a warning like
this, at the end of the process:
Hope this little guide helps some guys, to have their AVs updated.

PD: If someone knows how to solve the WARNING issue shown in step 5), please
let me know, how to bypass/solve this problem.
--
View this message in context: http://www.nabble.com/How-to-install-latest-Clamav-%28v0.93-0.2%29-on-openSUSE-10.3-tp16888968p16888968.html
Sent from the clamav-users mailing list archive at Nabble.com.

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


augustus_meyer at yahoo

May 7, 2008, 2:22 AM

Post #2 of 7 (572 views)
Permalink
Re: Clamd 0.93 100%CPU during startup for 2 Minutes [In reply to]

Hi,

after upgrading from 0.92 my clamd 0.93 often needs about 2 minutes for startup, during which I have 100% CPU utilization on my P4, 2.8GHz.
Here some excerpt from logs:

Wed May 7 04:00:52 2008 -> Pid file removed.
Wed May 7 04:00:52 2008 -> --- Stopped at Wed May 7 04:00:52 2008
Wed May 7 09:05:12 2008 -> +++ Started at Wed May 7 09:05:12 2008
Wed May 7 09:05:12 2008 -> clamd daemon 0.93 (OS: linux-gnu, ARCH: i386, CPU: i686)
Wed May 7 09:05:12 2008 -> Running as user vscan (UID 65, GID 109)
Wed May 7 09:05:12 2008 -> Log file size limited to 1048576 bytes.
Wed May 7 09:05:12 2008 -> Reading databases from /var/lib/clamav
Wed May 7 09:05:12 2008 -> Not loading PUA signatures.
Wed May 7 09:05:12 2008 -> Not loading phishing signatures.
Wed May 7 09:05:12 2008 -> Disabling URL based phishing detection.
Wed May 7 09:05:27 2008 -> Loaded 276627 signatures.
Wed May 7 09:05:27 2008 -> LOCAL: Unix socket file /var/run/clamd.sock
Wed May 7 09:05:27 2008 -> LOCAL: Setting connection queue length to 15
Wed May 7 09:05:27 2008 -> Limits: Global size limit set to 20971520 bytes.
Wed May 7 09:05:27 2008 -> Limits: File size limit set to 20971520 bytes.
Wed May 7 09:05:27 2008 -> Limits: Recursion level limit set to 16.
Wed May 7 09:05:27 2008 -> Limits: Files limit set to 1000.
Wed May 7 09:05:27 2008 -> Archive support enabled.
Wed May 7 09:05:27 2008 -> Algorithmic detection enabled.
Wed May 7 09:05:27 2008 -> Portable Executable support enabled.
Wed May 7 09:05:27 2008 -> ELF support enabled.
Wed May 7 09:05:27 2008 -> Mail files support disabled.
Wed May 7 09:05:27 2008 -> OLE2 support enabled.
Wed May 7 09:05:27 2008 -> PDF support enabled.
Wed May 7 09:05:27 2008 -> HTML support enabled.
Wed May 7 09:05:27 2008 -> Self checking every 1800 seconds.
Wed May 7 09:46:17 2008 -> No stats for Database check - forcing reload
Wed May 7 09:46:17 2008 -> Reading databases from /var/lib/clamav
Wed May 7 09:46:31 2008 -> Database correctly reloaded (276627 signatures)
Wed May 7 10:38:46 2008 -> SelfCheck: Database status OK.
Wed May 7 10:50:59 2008 -> Reading databases from /var/lib/clamav
Wed May 7 10:51:08 2008 -> Database correctly reloaded (277208 signatures)
Wed May 7 11:04:26 2008 -> Socket file removed.
Wed May 7 11:04:26 2008 -> Pid file removed.
Wed May 7 11:04:26 2008 -> --- Stopped at Wed May 7 11:04:26 2008
Wed May 7 11:06:57 2008 -> +++ Started at Wed May 7 11:06:57 2008
Wed May 7 11:06:57 2008 -> clamd daemon 0.93 (OS: linux-gnu, ARCH: i386, CPU: i686)
Wed May 7 11:06:57 2008 -> Running as user vscan (UID 65, GID 109)
Wed May 7 11:06:57 2008 -> Log file size limited to 1048576 bytes.
Wed May 7 11:06:57 2008 -> Reading databases from /var/lib/clamav
Wed May 7 11:06:57 2008 -> Not loading PUA signatures.
Wed May 7 11:06:57 2008 -> Not loading phishing signatures.
Wed May 7 11:06:57 2008 -> Disabling URL based phishing detection.
Wed May 7 11:09:07 2008 -> Loaded 277208 signatures.
Wed May 7 11:09:07 2008 -> LOCAL: Unix socket file /var/run/clamd.sock
Wed May 7 11:09:07 2008 -> LOCAL: Setting connection queue length to 15
Wed May 7 11:09:07 2008 -> Limits: Global size limit set to 20971520 bytes.
Wed May 7 11:09:07 2008 -> Limits: File size limit set to 20971520 bytes.
Wed May 7 11:09:07 2008 -> Limits: Recursion level limit set to 16.
Wed May 7 11:09:07 2008 -> Limits: Files limit set to 1000.
Wed May 7 11:09:07 2008 -> Archive support enabled.
Wed May 7 11:09:07 2008 -> Algorithmic detection enabled.
Wed May 7 11:09:07 2008 -> Portable Executable support enabled.
Wed May 7 11:09:07 2008 -> ELF support enabled.
Wed May 7 11:09:07 2008 -> Mail files support disabled.
Wed May 7 11:09:07 2008 -> OLE2 support enabled.
Wed May 7 11:09:07 2008 -> PDF support enabled.
Wed May 7 11:09:07 2008 -> HTML support enabled.
Wed May 7 11:09:07 2008 -> Self checking every 1800 seconds.

Any ideas ?

(Running OpenSuSE 10.3)

--
Reiner Karlsberg



---------------------------------
Beginnen Sie den Tag mit den neuesten Nachrichten. Machen Sie Yahoo! zu Ihrer Startseite!
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


steve at lobefin

May 7, 2008, 3:54 AM

Post #3 of 7 (572 views)
Permalink
Re: Clamd 0.93 100%CPU during startup for 2 Minutes [In reply to]

On Wed, May 07, 2008 at 11:22:30AM +0200, reiner otto said:
> Hi,
>
> after upgrading from 0.92 my clamd 0.93 often needs about 2 minutes for startup, during which I have 100% CPU utilization on my P4, 2.8GHz.
> Here some excerpt from logs:
>
> Wed May 7 09:05:12 2008 -> clamd daemon 0.93 (OS: linux-gnu, ARCH: i386, CPU: i686)
> Wed May 7 09:46:17 2008 -> Reading databases from /var/lib/clamav
> Wed May 7 09:46:31 2008 -> Database correctly reloaded (276627 signatures)
> Wed May 7 11:04:26 2008 -> --- Stopped at Wed May 7 11:04:26 2008
> Wed May 7 11:06:57 2008 -> +++ Started at Wed May 7 11:06:57 2008
> Wed May 7 11:06:57 2008 -> clamd daemon 0.93 (OS: linux-gnu, ARCH: i386, CPU: i686)
> Wed May 7 11:06:57 2008 -> Reading databases from /var/lib/clamav
> Wed May 7 11:09:07 2008 -> Loaded 277208 signatures.

I can see what's taking the 2 minutes. It's a little unclear to me as
to why that happens on startup but not reload.
--
--------------------------------------------------------------------------
| Stephen Gran | It's better to burn out than it is to |
| steve[at]lobefin.net | rust. |
| http://www.lobefin.net/~steve | |
--------------------------------------------------------------------------
Attachments: signature.asc (0.18 KB)


augustus_meyer at yahoo

May 10, 2008, 3:08 AM

Post #4 of 7 (564 views)
Permalink
Re: Clamd 0.93 100%CPU during startup for 2 Minutes [In reply to]

100% CPU also happens after update of db using freshclam. However, it does not happen immediately, but during first usage of clamd after the update.
I am using clamd together with dansguardian, so dansguardian is waiting for about 2-3 minutes for clamd to complete after usage of freshclam.



---------------------------------
Nicht vergessen! Am Sonntag, den 11. Mai ist Muttertag
Geschenkideen, Gedichte & mehr: www.yahoo.de/muttertag.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


jimlinux at commspeed

May 10, 2008, 11:33 AM

Post #5 of 7 (562 views)
Permalink
Re: Clamd 0.93 100%CPU during startup for 2 Minutes [In reply to]

reiner otto wrote:
> 100% CPU also happens after update of db using freshclam. However, it does not happen immediately, but during first usage of clamd after the update.
> I am using clamd together with dansguardian, so dansguardian is waiting for about 2-3 minutes for clamd to complete after usage of freshclam
Can you post excerpts the clamav and freshclam logs for the period
associated with the above?

Jim
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


augustus_meyer at yahoo

May 12, 2008, 12:51 AM

Post #6 of 7 (535 views)
Permalink
Re: Clamd 0.93 100%CPU during startup for 2 Minutes [In reply to]

Jim Preston <jimlinux[at]commspeed.net> schrieb: reiner otto wrote:
> 100% CPU also happens after update of db using freshclam. However, it does not happen immediately, but during first usage of clamd after the update.
> I am using clamd together with dansguardian, so dansguardian is waiting for about 2-3 minutes for clamd to complete after usage of freshclam
Can you post excerpts the clamav and freshclam logs for the period
associated with the above?

Jim
_______________________________________________

OK, here it is:

Sun May 11 12:14:40 2008 -> daily.cld is up to date (version: 7084, sigs: 51117, f-level: 26, builder: ccordes)
Mon May 12 10:33:28 2008 -> --------------------------------------
Mon May 12 10:33:28 2008 -> ClamAV update process started at Mon May 12 10:33:28 2008
Mon May 12 10:33:28 2008 -> main.cld is up to date (version: 46, sigs: 231834, f-level: 26, builder: sven)
Mon May 12 10:33:29 2008 -> Downloading daily-7085.cdiff [100%]
Mon May 12 10:33:29 2008 -> Downloading daily-7086.cdiff [100%]
Mon May 12 10:33:29 2008 -> Downloading daily-7087.cdiff [100%]
Mon May 12 10:33:29 2008 -> Downloading daily-7088.cdiff [100%]
Mon May 12 10:33:30 2008 -> Downloading daily-7089.cdiff [100%]
Mon May 12 10:33:30 2008 -> Downloading daily-7090.cdiff [100%]
Mon May 12 10:33:30 2008 -> Downloading daily-7091.cdiff [100%]
Mon May 12 10:33:30 2008 -> Downloading daily-7092.cdiff [100%]
Mon May 12 10:33:30 2008 -> Downloading daily-7093.cdiff [100%]
Mon May 12 10:33:30 2008 -> Downloading daily-7094.cdiff [100%]
Mon May 12 10:33:30 2008 -> daily.cld updated (version: 7094, sigs: 52776, f-level: 26, builder: ccordes)
Mon May 12 10:33:30 2008 -> Database updated (284610 signatures) from db.ua.clamav.net (IP: 83.218.226.76)
Mon May 12 10:33:30 2008 -> Clamd successfully notified about the update.


Mon May 12 09:25:01 2008 -> +++ Started at Mon May 12 09:25:01 2008
Mon May 12 09:25:01 2008 -> clamd daemon 0.93 (OS: linux-gnu, ARCH: i386, CPU: i686)
Mon May 12 09:25:01 2008 -> Running as user vscan (UID 65, GID 109)
Mon May 12 09:25:01 2008 -> Log file size limited to 1048576 bytes.
Mon May 12 09:25:01 2008 -> Reading databases from /var/lib/clamav
Mon May 12 09:25:01 2008 -> Not loading PUA signatures.
Mon May 12 09:25:01 2008 -> Not loading phishing signatures.
Mon May 12 09:25:01 2008 -> Disabling URL based phishing detection.
Mon May 12 09:28:38 2008 -> Loaded 279551 signatures.
Mon May 12 09:28:38 2008 -> LOCAL: Removing stale socket file /var/run/clamd.sock
Mon May 12 09:28:38 2008 -> LOCAL: Unix socket file /var/run/clamd.sock
Mon May 12 09:28:38 2008 -> LOCAL: Setting connection queue length to 15
Mon May 12 09:28:38 2008 -> Limits: Global size limit set to 20971520 bytes.
Mon May 12 09:28:38 2008 -> Limits: File size limit set to 20971520 bytes.
Mon May 12 09:28:38 2008 -> Limits: Recursion level limit set to 16.
Mon May 12 09:28:38 2008 -> Limits: Files limit set to 1000.
Mon May 12 09:28:38 2008 -> Archive support enabled.
Mon May 12 09:28:38 2008 -> Algorithmic detection enabled.
Mon May 12 09:28:38 2008 -> Portable Executable support enabled.
Mon May 12 09:28:38 2008 -> ELF support enabled.
Mon May 12 09:28:38 2008 -> Mail files support disabled.
Mon May 12 09:28:38 2008 -> OLE2 support enabled.
Mon May 12 09:28:38 2008 -> PDF support enabled.
Mon May 12 09:28:38 2008 -> HTML support enabled.
Mon May 12 09:28:38 2008 -> Self checking every 1800 seconds.
Mon May 12 09:58:45 2008 -> No stats for Database check - forcing reload
Mon May 12 09:58:45 2008 -> Reading databases from /var/lib/clamav
Mon May 12 10:02:11 2008 -> Database correctly reloaded (279551 signatures)
Mon May 12 10:33:30 2008 -> SelfCheck: Database modification detected. Forcing reload.
Mon May 12 10:33:30 2008 -> Reading databases from /var/lib/clamav
Mon May 12 10:36:48 2008 -> Database correctly reloaded (281210 signatures)




---------------------------------
Nicht vergessen! Am Sonntag, den 11. Mai ist Muttertag
Geschenkideen, Gedichte & mehr: www.yahoo.de/muttertag.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


jimlinux at commspeed

May 16, 2008, 8:41 PM

Post #7 of 7 (486 views)
Permalink
Re: Clamd 0.93 100%CPU during startup for 2 Minutes [In reply to]

reiner otto wrote:
> Jim Preston <jimlinux[at]commspeed.net> schrieb: reiner otto wrote:
>
>> 100% CPU also happens after update of db using freshclam. However, it does not happen immediately, but during first usage of clamd after the update.
>> I am using clamd together with dansguardian, so dansguardian is waiting for about 2-3 minutes for clamd to complete after usage of freshclam
>>
> Can you post excerpts the clamav and freshclam logs for the period
> associated with the above?
>
> Jim
> _______________________________________________
>
> OK, here it is:
>
> Sun May 11 12:14:40 2008 -> daily.cld is up to date (version: 7084, sigs: 51117, f-level: 26, builder: ccordes)
> Mon May 12 10:33:28 2008 -> --------------------------------------
> Mon May 12 10:33:28 2008 -> ClamAV update process started at Mon May 12 10:33:28 2008
> Mon May 12 10:33:28 2008 -> main.cld is up to date (version: 46, sigs: 231834, f-level: 26, builder: sven)
> Mon May 12 10:33:29 2008 -> Downloading daily-7085.cdiff [100%]
> .......
>
Reiner,
I am not sure why your engine is taking sooooo long to load the
signatures. My system which is Fedora Core 8, is taking only 8 seconds:
Fri May 16 19:10:32 2008 -> WARNING: Database has changed, loading
updated database
LibClamAV Error: cl_cvdhead: Can't open file
/var/lib/clamav/daily.inc/daily.info
Fri May 16 19:10:39 2008 -> Loaded ClamAV version 0.93, clamav-milter
version 0.93
Fri May 16 19:10:39 2008 -> ClamAV: Protecting against 288170 viruses
Fri May 16 19:10:40 2008 -> Database correctly reloaded (288170 viruses)

Can you send me your config.log file? Mine is 92K but compresses to 13K.
I think you can attach files to the reply but if not.....send it to me
directly. I want to see what options were selected for configure and see
if that points to anything.

Jim

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

ClamAV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.