ClamAV Error starting clamav virus database updater: freshclamERROR this tool requires libclamav with functionality level 69 or higher

I have a Debian server that has ClamAV installed. I am getting the following error with the Cron job:

ClamAV Error starting clamav virus database updater: freshclamERROR this tool requires libclamav with functionality level 69 or higher

Any ideas? I have run aptitude update and made sure all of my packages are current.

Who is Participating?

Improve company productivity with a Business Account.Sign Up

nociConnect With a Mentor Software EngineerCommented:
I think the best would be to remove all neatly installed clamav packages, then remove all remaining items, and then reinstall the latest version.

That way you will keep the installation repository in shape, remove all old versions and then you can install a correct version.

Also check with your packer (rpm -ql  for rpm) which files are installed, similar files may be laying around on the filsystem too. other files like the clamscan program itself or the updater  and or daemon.

You may want to retain the config file.(/etc/....)
Kerem ERSOYPresidentCommented:

will you post the output of

ls -al ilbclamav* /usr/local/lib

here? It  seems that you have references to your old libraries are in the /usr/local/lib. Also try to tun ldconfig and see if you contiune to get the error.

nociSoftware EngineerCommented:
Are you sure it talks about 69?

Currently their version number is 0.97.???
what version do you have?
Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

CCB-TechAuthor Commented:
Yes it references both 68 and 69. Okay here is the output:

:~# ls -al ilbclamav* /usr/local/lib
ls: cannot access ilbclamav*: No such file or directory
total 1688
drwxrwsr-x  5 root staff    4096 Jul 18  2012 .
drwxrwsr-x 10 root staff    4096 Apr 23  2010 ..
-rw-r--r--  1 root staff 1176920 May 23  2011 libgmp.a
-rwxr-xr-x  1 root staff     917 May 23  2011
lrwxrwxrwx  1 root staff      16 May 23  2011 ->
lrwxrwxrwx  1 root staff      16 May 23  2011 ->
-rwxr-xr-x  1 root staff  515492 May 23  2011
drwxrwsr-x  4 root staff    4096 Jul 18  2012 perl
drwxrwsr-x  3 root staff    4096 Jul 18  2012 python2.5
drwxrwsr-x  4 root staff    4096 Jul 18  2012 python2.6

I ran that command but it didn't help. Also, after rebooting the server I found that it has a sister error before this error that I missed last time:

Starting ClamAV daemon: clamd ERROR: This tool requires libclamav with functionality level 69 or higher (current f-level: 68)

Also, I'm not entirely sure what version is on here. How would I find out for sure?

What happens when you type freshclam?  Does it update your clamav update?

The error is just a warning that your clamav is getting old.  You should still be able to download the updated signatures.  It suggests that you'll need to delete the default debian clamav and manually install a new one from source, or you need to update the apt repository that you're loading updates from.
nociConnect With a Mentor Software EngineerCommented:
clamconf  maight give better insight in what you have.
just run the program 'clamconf'
CCB-TechAuthor Commented:
Here is the output of FreshClam:

ERROR: This tool requires libclamav with functionality level 69 or higher (current f-level: 68)

Here is the output of ClamConf:

Checking configuration files in /etc/clamav

Config file: clamd.conf
LogFile = "/var/log/clamav/clamav.log"
LogFileUnlock disabled
LogFileMaxSize = "4294967295"
LogTime = "yes"
LogClean disabled
LogSyslog disabled
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
ExtendedDetectionInfo = "yes"
PidFile = "/var/run/clamav/"
TemporaryDirectory disabled
DatabaseDirectory = "/var/lib/clamav"
OfficialDatabaseOnly disabled
LocalSocket = "/var/run/clamav/clamd.ctl"
LocalSocketGroup = "clamav"
LocalSocketMode = "666"
FixStaleSocket = "yes"
TCPSocket disabled
TCPAddr disabled
MaxConnectionQueueLength = "15"
StreamMaxLength = "26214400"
StreamMinPort = "1024"
StreamMaxPort = "2048"
MaxThreads = "12"
ReadTimeout = "180"
CommandReadTimeout = "5"
SendBufTimeout = "200"
MaxQueue = "100"
IdleTimeout = "30"
ExcludePath disabled
MaxDirectoryRecursion = "15"
FollowDirectorySymlinks disabled
FollowFileSymlinks disabled
CrossFilesystems = "yes"
SelfCheck = "3600"
VirusEvent disabled
ExitOnOOM disabled
Foreground disabled
Debug disabled
LeaveTemporaryFiles disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
Bytecode = "yes"
BytecodeSecurity = "TrustSigned"
BytecodeTimeout = "60000"
BytecodeUnsigned disabled
BytecodeMode = "Auto"
DetectPUA disabled
ExcludePUA disabled
IncludePUA disabled
AlgorithmicDetection = "yes"
ScanPE = "yes"
ScanELF = "yes"
DetectBrokenExecutables disabled
ScanMail = "yes"
ScanPartialMessages disabled
PhishingSignatures = "yes"
PhishingScanURLs = "yes"
PhishingAlwaysBlockCloak disabled
PhishingAlwaysBlockSSLMismatch disabled
HeuristicScanPrecedence disabled
StructuredDataDetection disabled
StructuredMinCreditCardCount = "3"
StructuredMinSSNCount = "3"
StructuredSSNFormatNormal = "yes"
StructuredSSNFormatStripped disabled
ScanHTML = "yes"
ScanOLE2 = "yes"
OLE2BlockMacros disabled
ScanPDF = "yes"
ScanArchive = "yes"
ArchiveBlockEncrypted disabled
MaxScanSize = "104857600"
MaxFileSize = "26214400"
MaxRecursion = "16"
MaxFiles = "10000"
ClamAuth disabled
ClamukoScanOnAccess disabled
ClamukoScannerCount = "3"
ClamukoScanOnOpen disabled
ClamukoScanOnClose disabled
ClamukoScanOnExec disabled
ClamukoIncludePath disabled
ClamukoExcludePath disabled
ClamukoExcludeUID disabled
ClamukoMaxFileSize = "5242880"
DevACOnly disabled
DevACDepth disabled
DevLiblog disabled

Config file: freshclam.conf
LogFileMaxSize = "4294967295"
LogTime = "yes"
LogSyslog disabled
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
PidFile = "/var/run/clamav/"
DatabaseDirectory = "/var/lib/clamav"
Foreground disabled
Debug disabled
AllowSupplementaryGroups disabled
UpdateLogFile = "/var/log/clamav/freshclam.log"
DatabaseOwner = "clamav"
Checks = "24"
DNSDatabaseInfo = ""
DatabaseMirror = "", ""
MaxAttempts = "5"
ScriptedUpdates = "yes"
TestDatabases = "yes"
CompressLocalDatabase disabled
ExtraDatabase disabled
DatabaseCustomURL disabled
HTTPProxyServer disabled
HTTPProxyPort disabled
HTTPProxyUsername disabled
HTTPProxyPassword disabled
HTTPUserAgent disabled
NotifyClamd = "/etc/clamav/clamd.conf"
OnUpdateExecute disabled
OnErrorExecute disabled
OnOutdatedExecute disabled
LocalIPAddress disabled
ConnectTimeout = "30"
ReceiveTimeout = "30"
SubmitDetectionStats disabled
DetectionStatsCountry disabled
DetectionStatsHostID disabled
SafeBrowsing disabled
Bytecode = "yes"

clamav-milter.conf not found

Software settings
Version: 0.97.7-exp
WARNING: Version mismatch: libclamav=0.97.7-exp, clamconf=0.97.8

Database information
Database directory: /var/lib/clamav
bytecode.cld: version 214, sigs: 41, built on Wed Feb 13 09:29:15 2013
daily.cld: version 17206, sigs: 1249131, built on Tue May 14 04:58:21 2013
main.cld: version 54, sigs: 1044387, built on Tue Oct 11 09:34:20 2011
Total number of signatures: 2293559

Platform information
uname: Linux 3.4.3 #2 SMP Mon Jun 18 16:29:04 CEST 2012 x86_64
OS: linux-gnu, ARCH: x86_64, CPU: x86_64
zlib version: (, compile flags: a9
Triple: x86_64-unknown-linux-gnu
CPU: penryn, Little-endian
platform id: 0x0a2144440804040501040405

Build information
GNU C: 4.4.5 (4.4.5)
GNU C++: 4.4.5 (4.4.5)
CFLAGS: -g -O2 -Wall
CXXFLAGS: -g -O2 -Wall
Configure: 'CFLAGS=-g -O2 -Wall' 'CPPFLAGS=' 'CXXFLAGS=-g -O2 -Wall' 'LDFLAGS=' '--build=x86_64-linux-gnu' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-clamav' '--with-dbdir=/var/lib/clamav/' '--sysconfdir=/etc/clamav' '--enable-milter' '--disable-clamuko' '--with-gnu-ld' '--enable-dns-fix' '--disable-unrar' '--libdir=/usr/lib' '--with-system-tommath' '--without-included-ltdl' 'build_alias=x86_64-linux-gnu'
sizeof(void*) = 8
Engine flevel: 68, dconf: 68

nociConnect With a Mentor Software EngineerCommented:
This part tells it:

WARNING: Version mismatch: libclamav=0.97.7-exp, clamconf=0.97.8

your libclamav is still the old version...
(effectively that's what does all the clam functionality).

0.97.7 implements engine 68
0.97.8 implements engine 69

to find all libclamav libraries use:   find / -name '*'
You should only find one path.
And if there are more active then the order in the paths is incorrect.

Is it possible that libclamav is a separate package that hasn't been updated?
CCB-TechAuthor Commented:
This is the output of that command.

mailcleaner:~# find / -name '*'

It is possible that it is separate, given that the server is a MailCleaner server. It is possible that in trying to update the ClamAV install on it that I mistakenly installed a second one. If this is the case any advice on how to proceed?

nociConnect With a Mentor Software EngineerCommented:
so you have a mix of 3 versions of clamav.....
library version 6.1.9, 6.1.16 (probably the version used) and 6.1.17 newest version.
My guess is that everything will work better when you remove the old versions.


maybe you can find out which package installed one of the above and remove the whole package, then all other files for that package are removed too.
CCB-TechAuthor Commented:
What would be the best way to remove a particular version?

CCB-TechAuthor Commented:
Thanks for all the help! I'm going to try removing some of the packages when I am able.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.