LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-05-2007, 05:41 AM   #1
Wilson_Lee
LQ Newbie
 
Registered: Apr 2007
Posts: 27
Blog Entries: 1

Rep: Reputation: 15
ClamAv error. Help!


Hi,

Recently, when I restart my sendmail services.
The following messages are showed:

LibClamAv Error: hex2int() translation problem(40)
LibClamAv Error: readdb(): Malformed pattern line 30284 (file /tmp/clamav-ea3e7e6c8dbe5d3f/main.db)

Anyone can help me on this issue ?


Thanks
 
Old 09-05-2007, 08:11 AM   #2
ElvisImprsntr
Member
 
Registered: Aug 2007
Location: Florida
Posts: 33

Rep: Reputation: 19
Manually download the main.cvd and daily.cvd from http://www.clamav.net/ and drop them into the folder containing the problem files in question. It's works for me 99% of the time when I experience similar errors.
 
Old 09-05-2007, 10:43 AM   #3
Wilson_Lee
LQ Newbie
 
Registered: Apr 2007
Posts: 27
Blog Entries: 1

Original Poster
Rep: Reputation: 15
hi ElvisImprsntr,

Do you mean that I need to copy the main.cvd and daily.cvd into /tmp ?
In the /tmp, i find there is a folder called clamav-50308721953777d5, inside the folder there are three files there, main.db,main.hdb and COPYING.

Refer to the clamav.conf , the path for the database is /usr/local/clam/share/clamav.

May I know which is the correct path I need to copy the files to?
 
Old 09-05-2007, 11:04 AM   #4
ElvisImprsntr
Member
 
Registered: Aug 2007
Location: Florida
Posts: 33

Rep: Reputation: 19
Your folder is different than mine, but then I have the KlamAV GUI installed on top of ClamAV. I would start with the folder specified in your clamav.conf

Last edited by ElvisImprsntr; 10-06-2007 at 09:45 AM.
 
Old 09-05-2007, 11:08 AM   #5
Wilson_Lee
LQ Newbie
 
Registered: Apr 2007
Posts: 27
Blog Entries: 1

Original Poster
Rep: Reputation: 15
So I have to copy the files to the path where the main.cvd and daily.cvd are kept?
 
Old 09-10-2007, 02:23 AM   #6
Wilson_Lee
LQ Newbie
 
Registered: Apr 2007
Posts: 27
Blog Entries: 1

Original Poster
Rep: Reputation: 15
I notice that amavisd and clamd is taking lot of memory ?

may I know is it normal for the result below ?


Tasks: 82 total, 1 running, 81 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% user, 0.7% system, 0.0% nice, 99.3% idle
Mem: 904128k total, 897180k used, 6948k free, 7140k buffers
Swap: 2097136k total, 124924k used, 1972212k free, 703948k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
31706 virus 9 0 30564 24m 8432 S 0.0 2.7 0:01.16 amavisd
31395 virus 9 0 29976 21m 7100 S 0.0 2.5 0:01.33 amavisd
9894 virus 9 0 19836 19m 19m S 0.0 2.2 0:07.37 clamd
9978 virus 8 0 19836 19m 19m S 0.0 2.2 0:00.01 clamd

My free memory only left 6948k only!?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Clamav via Automatix error msg klarsin Linux - Software 4 01-28-2007 10:37 PM
clamav upgrade link error taiwf Linux - General 0 02-08-2006 08:02 PM
ClamAV ERROR darkranger Linux - Security 2 02-27-2005 09:32 AM
ClamAV+MailScanner error message pudhiyavan Linux - Security 1 07-29-2004 05:40 AM
Error installing Clamav? hacinn Linux - Security 1 07-01-2004 05:03 PM


All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration