List Info

Thread: Amavis::Cache problem




Amavis::Cache problem
country flaguser name
United States
2008-02-27 12:46:07
Hi all,

I am in the midst of (what is intended to be) a distributed
install. After 
installing Amavis-Maia on the 'edge server', I get an
Amavis::Cache error on 
postfix start. I have tried turning off BerkeleyDB usage and
get a Lookup::SQL 
error in its place.  I have retreated to the vanilla
amavis-maia distro .conf 
file with the MySQL set for this install.  Still no joy!

I have been fighting this problem for the better part of a
week now and have 
followed every avenue I can think of... and can't seem to
get around it. I 
have followed the suggestions from an old post 
http://thread.gmane.org/gmane.mail.virus.m
aiamailguard/3587/focus=3595 

The postfix/amavis portion of the system is running on a
RHEL5 Para-
virtualized host.  Postfix is v2.3.3, SAv3.2.1, Amavisd-Maia
1.0.2, Razor 
v2.82, Pyzor v0.4.0 & Clam 0.91.2.  I believe that all
of the Perl modules are 
current (I just updated all) and now at a complete loss as
to the cause.  I 
started with an image of our currently running system that
uses amavisd 2.5.1, 
but have removed the exec and replaced it with the Maia
version per the 
instructions.

I am to the point where I am about to blow away the drive
and start from 
scratch, but would seriously prefer to avoid this.  Does
anyone have any 
suggestions?

Thanks!
Tom Booth

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: Amavis::Cache problem
country flaguser name
United States
2008-02-27 13:58:43
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Feb 27, 2008, at 12:46 PM, Tom Booth wrote:

> Hi all,
>
> I am in the midst of (what is intended to be) a
distributed install.  
> After
> installing Amavis-Maia on the 'edge server', I get an
Amavis::Cache  
> error on
> postfix start. I have tried turning off BerkeleyDB
usage and get a  
> Lookup::SQL
> error in its place.  I have retreated to the vanilla
amavis-maia  
> distro .conf
> file with the MySQL set for this install.  Still no
joy!

I think that's this directive:
$enable_db = 0;

David Morton
Maia Mailguard http://www.maiamailguard
.com
mortondadgrmm.net



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHxcDzUy30ODPkzl0RAl+lAKCVIuei9osBDDGNepy2dfvV18i5wgCg
vgGT
MVDImA7atcziQyRN7TGoQi4=
=JY7X
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: Amavis::Cache problem
country flaguser name
United States
2008-02-27 16:42:26
David Morton <mortonda...> writes:

> 
> 
> On Feb 27, 2008, at 12:46 PM, Tom Booth wrote:
> 
> > Hi all,
> >
> > I am in the midst of (what is intended to be) a
distributed install.  
> > After
> > installing Amavis-Maia on the 'edge server', I get
an Amavis::Cache  
> > error on
> > postfix start. I have tried turning off BerkeleyDB
usage and get a  
> > Lookup::SQL
> > error in its place.  I have retreated to the
vanilla amavis-maia  
> > distro .conf
> > file with the MySQL set for this install.  Still
no joy!
> 
> I think that's this directive:
> $enable_db = 0;
> 
> David Morton
> Maia Mailguard http://www.maiamailguard
.com
> mortonda...
> 
> 
Thank you for the quick response!

I have tried disabling Amavis from using the DB cache.  My
error messages are 
a little bit different:

with $enable_db = 1;  and $enable_global_cache = 1;    
I get: "Problem in the Amavis::Cache code:  at
/usr/local/sbin/amavisd line 
10918.  Feb 20 04:11:31 hostname.domain.tld [17628]: at the
END handler: 
invoking DESTROY methods"

when I set $enable_db = 0 to disable it... I get:
Problem in the Lookup::SQL code:  at /usr/local/sbin/amavisd
line 10923.
Feb 20 04:09:41 hostname.domain.tld [17411]: at the END
handler: invoking 
DESTROY methods

Thanks for any musings!
Thanks!


_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: Amavis::Cache problem
country flaguser name
United States
2008-02-27 18:36:02
On Wed, 2008-02-27 at 22:42 +0000, Tom Booth wrote:
> when I set $enable_db = 0 to disable it... I get:
> Problem in the Lookup::SQL code:  at
/usr/local/sbin/amavisd line
> 10923.
> Feb 20 04:09:41 hostname.domain.tld [17411]: at the END
handler:
> invoking 
> DESTROY methods

Did you see this post...

http://www.renaissoft.com/pipermail/maia-use
rs/2005-June/004486.html

I remember pulling my hair out a few times before trying to
figure out
why my Perl script didn't work - always those damn line
endings :/

-- 
Robert

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: Amavis::Cache problem
country flaguser name
United States
2008-02-27 21:15:29
Robert Fitzpatrick <lists...> writes:

> 
> On Wed, 2008-02-27 at 22:42 +0000, Tom Booth wrote:
> > when I set $enable_db = 0 to disable it... I get:
> > Problem in the Lookup::SQL code:  at
/usr/local/sbin/amavisd line
> > 10923.
> > Feb 20 04:09:41 hostname.domain.tld [17411]: at
the END handler:
> > invoking 
> > DESTROY methods
> 
> Did you see this post...
> 
> http://www.renaissoft.com/pipermail/maia-use
rs/2005-June/004486.html
> 
> I remember pulling my hair out a few times before
trying to figure out
> why my Perl script didn't work - always those damn line
endings :/
> 

Robert,

No, I did not see that post!  Thank you, Thank you, Thank
you.

It is a good thing I'm not follically challenged... a fair
amount of hair hit 
the floor on this one!  The amavisd-maia file was corrupt. 
I downloaded and 
untared a new version and it fired right up (after a small
amount of tweaking 
of the amavisd.conf and local.cf files that I had missed).

Thanks again... I owe you/the list in future!

Best regards,
Tom Booth

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )