NAI/McAfee uvscan for Linux

Go Back
Braindump Index
Braindump Home

When I tried to install McAfee uvscan (Unix VirusScan) on a recent version of TurboLinux Server 6.5 - it refused to run, displaying only:
/usr/local/uvscan/uvscan: No such file or directory

Even an strace didn't help:
execve("/usr/local/uvscan/uvscan", ["/usr/local/uvscan/uvscan"], [/* 27 vars */]) = 0
strace: exec: No such file or directory

I hope later versions are better - but to get this version to work (v4.0.4), I had to create a few symlinks to emulate old files.

  1. ln -s /lib/ld-linux.so.2 /lib/ld-linux.so.1
  2. Install the package for your distirbution containing libc.so.5 [ rpm -ivh libc5compat-1.0-4.i386.rpm ]
  3. Despite running /sbin/ldconfig -v | grep libc.so.5 and it finding the file, I still had to create a symlink in one of the directories uvscan was looking in:
    ln -s /usr/lib/libc5-compat/libc.so.5 /usr/lib

I set up this script to be called from cron to update the .dat files with the latest virus signatures:

#!/bin/sh
 
cd /usr/local/uvscan
 
rm dat-*.tar > /dev/null
 
ftp -n ftp.nai.com > /dev/null << EOF
user anonymous ian@
cd pub/antivirus/datfiles/4.x
bin
prompt
mget dat-*.tar
bye
EOF
 
file=`ls -1t dat-*.tar`
 
tar xf ${file}
 
./uvscan --version


Last modified: Wednesday, December 31 1969 @ 19:00 EST
Google
WWW braindump.MrZesty.net
© Ian Samuel, 2010
http://braindump.MrZesty.net