Sophos Installation issues w/ mailscanner

Orbitel Webmaster webmaster at ORBITEL.COM
Tue Jul 8 07:14:45 IST 2003


History:  I just installed the current version of mailscanner and 
sophos 3.71.  Sophos was installed by 
running /usr/sbin/Sophos.install.  Sophos installs fine and the 
script does not complain about any errors except an unzipping the 
update files failed bad file descriptor error.

Problem: When I run /usr/lib/MailScanner/sohpos-wrapper test file I 
receive Error initializing detection engine - missing main virus data

Additionally, when I run sophos-update I receive:

Unzipping the new Sophos IDE files failed. This may well be because 
your Sophos installation is too old. Please install the latest 
release of SophosUnzip failed with error return 16777215
, Bad file descriptor at ./sophos-autoupdate line 94.

I can, however, get sophos-wrapper to run by commenting out the 
EXPORT sav_ide line.

The files appear to be linked correctly.  I added the necessary 
library paths to /etc/ld.so.conf and added the paths to /etc/profile 
per the installation scripts instructions.  Sweep runs fine on its 
own.

Thank you!

Hopefully some of the following helps:

[root at webmail MailScanner]# ls -l /usr/local/Sophos/
total 12
drwxr-xr-x    2 root     root         4096 Jul  8 01:00 bin
drwxr-xr-x    2 root     root         4096 Jul  8 01:00 lib
drwxr-xr-x    4 root     root         4096 Jul  7 23:57 man
[root at webmail MailScanner]# ls -l /usr/local/Sophos/bin
total 128
-rwxr-xr-x    1 root     root       123084 Jul  8 01:00 sweep
[root at webmail MailScanner]# ls -l /usr/local/Sophos/lib
total 5676
lrwxrwxrwx    1 root     root           12 Jul  8 01:00 libsavi.so -> 
libsavi.so.3
lrwxrwxrwx    1 root     root           21 Jul  8 01:00 libsavi.so.2
-
> libsavi.so.3.2.05.034
lrwxrwxrwx    1 root     root           21 Jul  8 01:00 libsavi.so.3
-
> libsavi.so.3.2.05.034
-r-xr-xr-x    1 bin      bin       1002996 Jul  8 01:00 
libsavi.so.3.2.05.034
-rw-r--r--    1 bin      bin        443637 Jul  8 01:00 vdl01.vdb
-rw-r--r--    1 bin      bin        401446 Jul  8 01:00 vdl02.vdb
-rw-r--r--    1 bin      bin        389383 Jul  8 01:00 vdl03.vdb
-rw-r--r--    1 bin      bin        439542 Jul  8 01:00 vdl04.vdb
-rw-r--r--    1 bin      bin        459468 Jul  8 01:00 vdl05.vdb
-rw-r--r--    1 bin      bin        376402 Jul  8 01:00 vdl06.vdb
-rw-r--r--    1 bin      bin        374881 Jul  8 01:00 vdl07.vdb
-rw-r--r--    1 bin      bin        344925 Jul  8 01:00 vdl08.vdb
-rw-r--r--    1 bin      bin        258931 Jul  8 01:00 vdl09.vdb
-rw-r--r--    1 bin      bin        370090 Jul  8 01:00 vdl10.vdb
-rw-r--r--    1 bin      bin        474813 Jul  8 01:00 vdl11.vdb
-rw-r--r--    1 bin      bin        392158 Jul  8 01:00 vdl-3.71.dat
lrwxrwxrwx    1 root     root           12 Jul  8 01:00 vdl.dat -> 
vdl-3.71.dat
[root at webmail MailScanner]# ls -l /usr/lib/MailScanner/
total 144
<SNIP>
-rwxr-xr-x    1 root     root         3693 Jul  1 12:14 sophos-
autoupdate
-r-xr-xr-x    1 root     root         1504 Jul  8 01:04
sophos-wrapper
<SNIP>
[root at webmail MailScanner]# cat /usr/lib/MailScanner/sophos-wrapper
# <GPL LICENSE TEXT SNIPPED>
# JKF Wrapper Sophos programs with the correct LD_LIBRARY_PATH
# Modified for solaris by CJG
# Then tweaked for heron by JKF again

PackageDir=/usr/local/Sophos
prog=sweep # `basename $0`

SAV_IDE=$PackageDir/ide
LD_LIBRARY_PATH=$PackageDir/lib
export SAV_IDE
export LD_LIBRARY_PATH

if [ "x$1" = "x-IsItInstalled" ]; then
  [ -x ${PackageDir}/bin/$prog ] && exit 0
  exit 1
fi

exec ${PackageDir}/bin/$prog "$@"


[root at webmail MailScanner]#
[root at webmail MailScanner]# /usr/lib/MailScanner/sophos-wrapper
Error initialising detection engine - missing main virus data
[root at webmail MailScanner]# /usr/lib/MailScanner/sophos-autoupdate
Unzipping the new Sophos IDE files failed. This may well be because 
your Sophos installation is too old. Please install the latest 
release of SophosUnzip failed with error return 16777215
, Bad file descriptor at /usr/lib/MailScanner/sophos-autoupdate line 
94.
[root at webmail MailScanner]# cat /etc/ld.so.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/local/Sophos/lib
[root at webmail MailScanner]# cat /etc/profile | grep Soph
PATH=/usr/local/Sophos/bin:$PATH
[root at webmail MailScanner]# It's a redhat linux box.
>




More information about the MailScanner mailing list