Error reported by amavis 2.8.0 on shutdown

Quanah Gibson-Mount via amavis-users amavis-users at amavis.org
Thu Mar 6 14:38:50 CET 2014



--On November 14, 2013 at 8:41:15 AM -0800 Quanah Gibson-Mount via 
amavis-users <amavis-users at amavis.org> wrote:

> _WARN: \t(in cleanup) Undefined subroutine
> &Amavis::LDAP::Connection::do_log_safe called at (eval 101) line 76
> during global destruction.
>
>
> This seems to come from this portion of the Amavis::LDAP::Connection
> object:
>
> sub DESTROY {
>   my $self = shift; local($@,$!,$_);
>   do_log_safe(5,"Amavis::LDAP::Connection DESTROY called");
>   # ignore failure, make perlcritic happy
>   eval { $self->disconnect_from_ldap } or 1;
> }

Same error occurs with 2.8.2 RC1.  Fixed it with:

quanah at zre-ldap001:~/p4/zimbra/main/ThirdParty/amavisd/amavisd-new-2.8.2-rc1$ 
p4 diff -du amavisd
--- //depot/zimbra/main/ThirdParty/amavisd/amavisd-new-2.8.2-rc1/amavisd 
2014-02-20 17:19:04.000000000 -0600
+++ 
/home/quanah/p4/zimbra/main/ThirdParty/amavisd/amavisd-new-2.8.2-rc1/amavisd 
2014-02-20 17:19:04.000000000 -0600
@@ -18721,7 +18721,7 @@
   @ISA = qw(Exporter);
   $have_sasl = eval { require Authen::SASL };
   import Amavis::Conf qw(:platform :confvars c cr ca);
-  import Amavis::Util qw(ll do_log);
+  import Amavis::Util qw(ll do_log do_log_safe);
   import Amavis::Timing qw(section_time);
 }

--Quanah

-- 
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration



More information about the amavis-users mailing list