Re: Re: ERROR: sophie "Failed to initialize SAVI"

Alain Fauconnet <[email protected]> Tue, 15 Feb 2005 17:05:10 +0700
Newsgroups gmane.comp.security.virus.vtools
Message-ID <[email protected]>
Sorry for being so noisy... just want to help :-)

On Tue, Feb 15, 2005 at 03:12:47PM +0700, Alain Fauconnet wrote:
> 
> Although I'm still using 3.89 on my production server, I've given it a
> try on a spare Linux box, compiled Sophie 1.44 with Sophos 3.90, and
> it worked flawlessly:
(...)

> So it seems that 3.90 hasn't broken Sophie 1.44 on a general basis.
> There could be someting happening on FreeBSD.
> My only FreeBSD box here is an old DEC Alphastation, so I can't try.

That turned out not to be true. There's an Intel box running FreeBSD 4.10 next
door. I've done a fresh install of Sophos on it (so 3.90), compiled
Sophie 1.44 and run it, all OK:

# ./sophie -d
Initializing    : Grp* options (engine >= 2.14)
Initializing    : Sophos engine version 2.28
Initializing    : Sophos IDE version 3.90 (detects 99603 viruses)
Socket path     : /var/amavis/sophie.sock
Port            : 4009
Temporary dir   : /tmp
Timeout         : 300 seconds
Running as user : nobody
Socket group    : nobody
Max processes   : 20
PID file        : /var/amavis/sophie.pid
Sophie version  : 1.44
[debug] server.sun_path has a name: [/var/amavis/sophie.sock]
# uname -a
FreeBSD somebox.ait.ac.th 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004     [email protected]:/usr/obj/usr/src/sys/GENERIC  i386

That probably doesn't help you much, but well, seems that something is
broken in your installation. I take it that you have the compat3x
package installed, it's needed (always has I think, so that wouldn't
explain failing between 3.89 and 3.90).

Just a few wild guesses: check your /usr/local/lib/libsavi*.
Here's what I have on this machine:

lrwxr-xr-x  1 root  wheel       12 Feb 15 16:50 /usr/local/lib/libsavi.so -> libsavi.so.3
lrwxr-xr-x  1 root  wheel       21 Feb 15 16:50 /usr/local/lib/libsavi.so.2 -> libsavi.so.3.2.07.086
lrwxr-xr-x  1 root  wheel       21 Feb 15 16:50 /usr/local/lib/libsavi.so.3 -> libsavi.so.3.2.07.086
-r-xr-xr-x  1 bin   bin    1615040 Feb 15 16:50 /usr/local/lib/libsavi.so.3.2.07.086

You *did* install Sophos with the '-so' option, haven't you?

Greets,
_Alain_