[SOLVED] deb4 / zimbra 5.0.16 to deb5 / zimbra 6.0.7 - strange problem

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
6131auanton
Posts: 23
Joined: Fri Sep 12, 2014 10:30 pm

[SOLVED] deb4 / zimbra 5.0.16 to deb5 / zimbra 6.0.7 - strange problem

Post by 6131auanton »

hi all,
preparing the upgrade from zimbra 5.0.16 on debian4 etch to zimbra 6.0.7 on debian5 lenny

i did a testrun on a separate machine the following way:
- installed a fresh debian etch on disk 1

- installed zimbra 5.0.16

- "recovered" a backup of the real zimbra - no problem

- upgrade to 6.0.7 - no problem ( /opt on disk 2 )

- backup of 6.07 on disk2

- replaced disk1 (debian4) with disk 3 (for debian 5):

- installed a fresh debian lenny

- installed zimbra 6.0.7 ( /opt on disk 2 )

- "recovered" the backup - no problem

- applied the patch to 6.0.7 . no problem.
so everything looks fine, but there is a strange problem:
when i do:

zmcontrol start



i have the following output:
Host xxx.yyy.org

Starting ldap...Done.

Starting logger...Done.

Starting mailbox...Done.

Starting antispam...Done.

Starting antivirus...Failed.

Starting zmmtaconfig...zmmtaconfig is already running.

Starting amavisd...amavisd is already running.

Starting freshclam...done.

Starting clamd...connect(): Connection refused

failed.


Starting snmp...Done.

Starting spell...Done.

Starting mta...Done.

Starting stats...Done.


but doing immediately afterwards
zmcontrol status
it tells me:
Host xxxx.yyyy.org

antispam Running

antivirus Running

ldap Running

logger Running

mailbox Running

mta Running

snmp Running

spell Running

stats Running



and in fact amavisd and clamd are running fine.
--------

then i did:
zmantivirusctl restart



with this result:
Stopping zmmtaconfig...done.

Starting zmmtaconfig...done.

Stopping amavisd... done.

Starting amavisd...done.

Stopping freshclam...freshclam is not running.

Stopping clamd...done.

Starting freshclam...done.

Starting clamd...failed.
and immediately afterwards again:
zmcontrol status



and this result:
Host xxx.yyy.org

antispam Running

antivirus Running

ldap Running

logger Running

mailbox Running

mta Running

snmp Running

spell Running

stats Running


What is the reason for the apparently wrong message about clamd failing ???
thanks for any hint
anton
---------edit update---------

this thread helped clamd starting without the strange message:
http://www.zimbra.com/forums/administra ... error.html

--------

su - zimbra

mkdir /tmp/clamdb

mv /opt/zimbra/data/clamav/db/* /tmp/clamdb

/opt/zimbra/clamav/bin/freshclam --config-file=/opt/zimbra/conf/freshclam.conf

zmamavisctl stop

zmamavisctl start

--------
I still continued to worry about "not loading PUA signatures" and found an answer here:
Re: Not loading PUA signatures - Tomasz Kojm - net.clamav.lists.clamav-users - MarkMail :



>"Not loading PUA signatures"

>...

>Could you please tell me what this message means?
It just means that you didn't enable DetectPUA in clamd.conf, nothing to be worried about.
Post Reply