Re: Problems to start trophie -d

Alain Fauconnet <[email protected]> Mon, 13 Jun 2005 09:08:59 +0700
Newsgroups gmane.comp.security.virus.vtools
Message-ID <[email protected]>
On Sun, Jun 12, 2005 at 11:07:55AM -0000, [email protected] wrote:
> Hello List,
> I´m having problems to start trophie. When I do trophie -d the following
> shows up:
> 
> Initializing    : VSAPI version 7.510-1002
> Initializing    : Pattern version 677 (pattern number 103020)
> Socket path     : /var/run/trophie
> Timeout         : 300 seconds
> Running as user : root
> Socket group    : root
> Max processes   : 20
> PID file        : /var/run/trophie.pid
> Trophie version : 1.12
> [    debug    ] : server.sun_path has a name: [/var/run/trophie]
> ERROR: bind() failed in main()
> 
> it seems to me trophie is not able to create the socket. The permissions
> an all directories, the libsav and the patterns are root:root. scanning
> with trophie -f works well. Does anybody know about this error and how to
> fix it?

Are you running on Linux? If yes, strace is your friend to know what's
going on exactly.

Post the last 200 lines or so of:

# strace -s128 -f trophie -d

Oh... just to rule out the obvious: are you sure you don't have a
trophie running already?

Greets,
_Alain_