CalmAV Scan Warning cli_tnef: file truncated, returning CLEAN LibClamAV Warning: cli_tnef: file truncated,

Develop

Verified User
Joined
Jun 9, 2016
Messages
158
Location
Istanbul, TR
After ClamAV latest update I have warnings below (red):

Thanks.

/etc/cron.daily/manual_clamscan:

LibClamAV Warning: cli_tnef: file truncated, returning CLEAN LibClamAV Warning: cli_tnef: file truncated, returning CLEAN LibClamAV Warning: cli_tnef: file truncated, returning CLEAN LibClamAV Warning: cli_tnef: file truncated, returning CLEAN LibClamAV Warning: cli_tnef: file truncated, returning CLEAN LibClamAV Warning: cli_tnef: file truncated, returning CLEAN LibClamAV Warning: cli_tnef: file truncated, returning CLEAN LibClamAV Warning: cli_tnef: file truncated, returning CLEAN LibClamAV Warning: cli_tnef: file truncated, returning CLEAN

----------- SCAN SUMMARY -----------
Known viruses: 6582806
Engine version: 0.102.1
Scanned directories: 10198
Scanned files: 98219
Infected files: 0
Data scanned: 8883.42 MB
Data read: 6143.89 MB (ratio 1.45:1)
Time: 3216.405 sec (53 m 36 s)
 
Its not DA but seems to be relevant
 
Hello, thank you for answer,
I see that before but I don't understand anything about it.

After I update clamav to new version that issue happened and in the previous version there was no such problem.

Best regards.
 
do you have curl installed? The new version requires curl

curl -V

Whats your OS?
 
Hello,

[root@server ~]# curl -V
curl 7.67.0 (x86_64-pc-linux-gnu) libcurl/7.67.0 OpenSSL/1.0.2k-fips zlib/1.2.7 nghttp2/1.39.2
Release-Date: 2019-11-06
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL UnixSockets
 
Looks like its a warning about TNEF in email.

Code:
cat /usr/local/directadmin/custombuild/options.conf

in your options file do you have
#ClamAV-related Settings
clamav=yes
clamav_exim=yes

Also you might not be fully up to date
Code:
/usr/local/directadmin/custombuild/build versions
 
Try updating.

Code:
cd /usr/local/directadmin/custombuild
./build update
./build clean    
./build update_versions
 
Last edited:
No, Not freeze nothing happened. I closed window and server running stable.
Edit:
But I dont know whats happened and progress finished or not. I am not sure.
 
Last edited:
cd /usr/local/directadmin/custombuild
./build update
./build clean
./build update_versions

I'm afraid to do that steps. in case things get more complicated.
 
Dont you run that regularly? How are you keeping the system updated? If you dont run that?

do you have cron keeping the system updated?
 
I do it by custombuild script.
Let me know if I am wrong.
Need to do that steps after custombuild run update?

cb.png
 
Last edited:
./build update
Updates custombuild
./build clean
Cleans old build data and tars
./build update_versions
Inspects system and looks for software that needs to be updating

if you run
./build versions
It will tell you if you are up to date
anything Highlighted in bright white is in need of updating.

run this and lets see
Code:
/usr/local/directadmin/custombuild/build versions
 
I have just do thats

cd /usr/local/directadmin/custombuild
./build update
./build clean
./build update_versions

Now what next?

./build versions
 
Yep you are a little bit behind
the current CB v is 2.0.0 (rev: 2306)

Ok once that finishes
yes run
./build versions

Should be all up to date.
 
whats your DA version?
mine is
Latest version of DirectAdmin: 1.59.5
Installed version of DirectAdmin: 1.59.5
 
Also looks like your Plugin is old to
to up date that to
Code:
cd /usr/local/directadmin/custombuild
./build custombuild_plugin
 
Back
Top