Hi,
i'm using Clamav inside the Zimbra Collaboration Suite on ubuntu 6.
Clamav version 0.90.2, on ubuntu 6.06.1 server. This behaviour
happened with 0.90.3 too.

I see that amavisd cannot connect to Clamav

Jun  5 00:30:02 mailserver amavis[4348]: (04348-01) Checking:
DkmOYJDUMtQR [80.247.70.64] <##########> -> <########>
Jun  5 00:30:03 mailserver amavis[4348]: (04348-01) ClamAV-clamd:
Can't connect to INET socket 127.0.0.1:3310: Connection refused,
retrying (1)
Jun  5 00:30:04 mailserver amavis[4348]: (04348-01) (!)ClamAV-clamd:
Can't connect to INET socket 127.0.0.1:3310: Connection refused,
retrying (2)
Jun  5 00:30:07 mailserver zimbramon[20838]: 20838:info: 2007-06-05
00:30:06, QUEUE: 4 1

and looking at clamd.log i see these messages:

Mon Jun  4 19:35:33 2007 -> +++ Started at Mon Jun  4 19:35:33 2007
Mon Jun  4 19:35:33 2007 -> clamd daemon 0.90.3 (OS: linux-gnu, ARCH:
i386, CPU: i686)
Mon Jun  4 19:35:33 2007 -> Log file size limited to 20971520 bytes.
Mon Jun  4 19:35:33 2007 -> Reading databases from /opt/zimbra/clamav/db
Mon Jun  4 19:37:12 2007 -> +++ Started at Mon Jun  4 19:37:12 2007
Mon Jun  4 19:37:12 2007 -> clamd daemon 0.90.3 (OS: linux-gnu, ARCH:
i386, CPU: i686)
Mon Jun  4 19:37:12 2007 -> Log file size limited to 20971520 bytes.
Mon Jun  4 19:37:12 2007 -> Reading databases from /opt/zimbra/clamav/db
Mon Jun  4 19:38:59 2007 -> +++ Started at Mon Jun  4 19:38:59 2007
Mon Jun  4 19:38:59 2007 -> clamd daemon 0.90.3 (OS: linux-gnu, ARCH:
i386, CPU: i686)
Mon Jun  4 19:38:59 2007 -> Log file size limited to 20971520 bytes.
Mon Jun  4 19:38:59 2007 -> Reading databases from /opt/zimbra/clamav/db

No errors and no crash messages. Privs are ok:

drwxr-xr-x 2 zimbra zimbra    4096 Jun  4 19:43 .
drwxr-xr-x 9 zimbra zimbra    4096 Jun  4 17:45 ..
-rwxrwxr-- 1 zimbra zimbra       0 Jun  4 19:43 .dbLock
-rw-r--r-- 1 zimbra zimbra  608128 Jun  4 19:12 daily.cvd
-rw-r--r-- 1 zimbra zimbra 9351789 Jun  4 19:11 main.cvd
-rw------- 1 zimbra zimbra      52 Jun  4 19:43 mirrors.dat

And the file log is very small (fresh install)

-rw-r--r-- 1 zimbra zimbra 21087 2007-06-05 00:34 /opt/zimbra/log/clamd.log

And the process seems to be running, but frozen:

[EMAIL PROTECTED]:~$ ps -ax | grep clamd
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
20416 ?        Rs     1:01 /opt/zimbra/clamav/sbin/clamd --config-file
/opt/zimbra/conf/clamd.conf
20443 pts/0    S+     0:00 grep clamd

I asked help on zimbra forums but still got no answers.

Any idea?

Thank you very much in advance,
aNt1X
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to