Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-04-2005, 07:47 AM
Active Member
 
Posts: 34
Default Antivirus not starting

I've done a fresh install of FC4 and then installed Zimbra (modified hosts and created the appropriate symlinks). The installation appears to work in that I can provision domains and set up users. I can also log in as a user. When Zimbra receives an email the antivirus scanning fails. When zimbra is started it indicates that the antivirus is not working.

At startup I get the following.

Quote:
RESPONSE: (Zimbra::Mon::serviceInfo)
antispam
status Running
antivirus
status Stopped
ldap
status Running
mailbox
status Running
mta
status Running
snmp
status Stopped
When a mail is received and passed to amavis I get this in the zimbra.log

Quote:
Oct 5 00:20:05 zimbra amavis[21088]: (21088-02) Using ClamAV-clamd: (built-in interface)
Oct 5 00:20:05 zimbra amavis[21088]: (21088-02) Using (ClamAV-clamd) on dir: CONTSCAN /opt/zimbra/amavisd/tmp/amavis-20051005T002005-21088/parts\n
Oct 5 00:20:05 zimbra amavis[21088]: (21088-02) ClamAV-clamd: Connecting to socket 127.0.0.1:3310
Oct 5 00:20:05 zimbra amavis[21088]: (21088-02) ClamAV-clamd: Can't connect to INET socket 127.0.0.1:3310: Connection refused, retrying (1)
Oct 5 00:20:05 zimbra amavis[21088]: (21088-02) ClamAV-clamd: sleeping for 1 s
Oct 5 00:20:06 zimbra amavis[21088]: (21088-02) ClamAV-clamd: Connecting to socket 127.0.0.1:3310, retry #1
Oct 5 00:20:06 zimbra amavis[21088]: (21088-02) ClamAV-clamd: Can't connect to INET socket 127.0.0.1:3310: Connection refused, retrying (2)
Oct 5 00:20:06 zimbra amavis[21088]: (21088-02) ClamAV-clamd: sleeping for 6 s
Oct 5 00:20:06 zimbra postfix/smtpd[32189]: connect from localhost.localdomain[127.0.0.1]
Oct 5 00:20:06 zimbra postfix/smtpd[32189]: disconnect from localhost.localdomain[127.0.0.1]
Oct 5 00:20:12 zimbra amavis[21088]: (21088-02) ClamAV-clamd: Connecting to socket 127.0.0.1:3310, retry #2
Oct 5 00:20:12 zimbra amavis[21088]: (21088-02) ClamAV-clamd av-scanner FAILED: Too many retries to talk to 127.0.0.1:3310 (Can't connect to INET socket 127.0.0.1:3310: Connection refused) at (eval 40) line 264.
Oct 5 00:20:12 zimbra amavis[21088]: (21088-02) WARN: all primary virus scanners failed, considering backups
Oct 5 00:20:12 zimbra amavis[21088]: (21088-02) TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamd av-scanner FAILED: Too many retries to talk to 127.0.0.1:3310 (Can't connect to INET socket 127.0.0.1:3310: Connection refused) at (eval 40) line 264.
Oct 5 00:20:12 zimbra amavis[21088]: (21088-02) PRESERVING EVIDENCE in /opt/zimbra/amavisd/tmp/amavis-20051005T002005-21088

Oct 5 00:20:12 zimbra amavis[21088]: (21088-02) TIMING [total 7133 ms] - SMTP EHLO: 3 (0%)0, SMTP pre-MAIL: 1 (0%)0, mkdir tempdir: 0 (0%)0, create email.txt: 0 (0%)0, lookup_ldap: 91 (1%)1, SMTP pre-DATA-flush: 2 (0%)1, SMTP DATA: 0 (0%)1, body_hash: 2 (0%)1, gen_mail_id: 0 (0%)1, mkdir parts: 0 (0%)1, mime_decode: 10 (0%)2, get-file-type1: 10 (0%)2, parts_decode: 0 (0%)2, AV-scan-1: 7012 (98%)100, rundown: 1 (0%)100
Oct 5 00:20:12 zimbra amavis[21088]: (21088-02) extra modules loaded: Net/LDAP/Bind.pm
Oct 5 00:20:12 zimbra amavis[21088]: (21088-02) load: 0 %, total idle 2966.369 s, busy 14.256 s
Has anyone else had a similar problem?

Justin.
Reply With Quote
  #2 (permalink)  
Old 10-04-2005, 09:00 AM
Zimbra Employee
 
Posts: 4,792
Default

Anything in your install log point to the problem? (it's in /tmp)
Reply With Quote
  #3 (permalink)  
Old 10-04-2005, 09:01 AM
Zimbra Employee
 
Posts: 2,103
Default clamd?

do an ldd on clamd, and make sure it's finding all it's libraries. Also, zmclamdctl start may shed some light.
Reply With Quote
  #4 (permalink)  
Old 10-04-2005, 09:07 AM
Member
 
Posts: 10
Default

Hi Justin,

I had exactly the same problem, same platform (FC4 clean install). I was getting:

/opt/zimbra/clamav/sbin/clamd: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file
or directory

in: /opt/zimbra/log/clamd.log

I had to install gmp.

yum gmp.i386

After that I restarted Zimbra:

su - zimbra
zmcontrol stop followed by zmcontrol start

and then AV started and the mail came flooding in. I am still unable to get SNMP to start though, have a thread running here for that:

Not receiving internal mail

Hopefully the above should sort you out, if not clamd.log will probably shed some light.

Last edited by jacko; 10-04-2005 at 09:12 AM..
Reply With Quote
  #5 (permalink)  
Old 10-04-2005, 04:40 PM
Active Member
 
Posts: 34
Default

Thanks guys, it's fixed now. ldd and clamd.log showed that libgmp was missing, I've installed that and it's all working fine. I'm seeing the same snmp problem that jacko is, will look into this further.

Kevin, I had a look at the install log. There are a couple of errors in there I'm not sure about.

After adding the certificate to the keystore I get:
Quote:
keytool error: java.io.FileNotFoundException: /opt/zimbra/java/jre/lib/security/cacerts (Permission denied)
and after importing the server certificate:
Quote:
keytool error: java.lang.Exception: Failed to establish chain from reply
Not sure if it's something I need to be worried about, SSL seems to work.

Justin.
Reply With Quote
  #6 (permalink)  
Old 10-04-2005, 04:45 PM
Zimbra Employee
 
Posts: 2,103
Default Not important

Those aren't important errors, when you create a self signed cert - the second one, in particular, just means that there's no CA for the certificate.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.