Hi all,

I want to use clamav using clamd and clamdscan on my mail-server.
I installed clamav 0.90 from source and scanning with clamscan works fine.
But for having a better perfomance I want to use the server-based clamd 
together with clamdscan.

But unfortunately clamd crashed about five seconds after starting it. I 
tried both, using sockets and tcp communication.

Here are the error messages:

clamd daemon 0.90 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
Log file size limited to 1048576 bytes.
Reading databases from /var/lib/clamav
Loaded 95405 signatures.
Unix socket file /tmp/clamav.sock
Setting connection queue length to 10
Archive: Archived file size limit set to 10485760 bytes.
Archive: Recursion level limit set to 8.
Archive: Files limit set to 1000.
Archive: Compression ratio limit set to 250.
Archive support enabled.
Algorithmic detection enabled.
Portable Executable support enabled.
ELF support enabled.
Mail files support enabled.
Mail: Recursion level limit set to 64.
OLE2 support enabled.
HTML support enabled.
Self checking every 3600 seconds.
fstat(): socket descriptor gone
Main socket gone: fatal
Socket file removed.
Pid file removed.
--- Stopped at Wed Feb 28 19:28:41 2007

So, what does that "fstat(): socket descriptor gone" and "Main socket gone" 
mean? I do not think that it has something to do with the socket used by 
clamdscan because this also happens if I use the old TCP connections 
instead of the new socket.

Thank you for any hints in advance.
regards,
David Froehlich
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to