Re: [AMaViS-user] Can't coerce GLOB to string in entersub

This is a discussion on Re: [AMaViS-user] Can't coerce GLOB to string in entersub within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Leo, > Using amavisd-new-2.6.0, amavisd-nanny gives me: > > Can't coerce GLOB to string ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-25-2008
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] Can't coerce GLOB to string in entersub

Leo,

> Using amavisd-new-2.6.0, amavisd-nanny gives me:
>
> Can't coerce GLOB to string in entersub at
> /usr/lib/perl5/vendor_perl/5.8.8/i386 -linux-thread-multi/BerkeleyDB.pm
> line 737.
>
> It seems that
> $env = BerkeleyDB::Env->new(
> -Home => $db_home, -Flags => DB_INIT_CDB | DB_INIT_MPOOL,
> -ErrFile => *STDOUT, -Verbose => 1);
> should read
> $env = BerkeleyDB::Env->new(
> -Home => $db_home, -Flags => DB_INIT_CDB | DB_INIT_MPOOL,
> -Verbose => 1);
> to fix that for me.
>
> I'm using: perl-BerkeleyDB-0.31-2, perl-5.8.8


Strange. The '-ErrFile => *STDOUT' was introduced with BerkeleyDB 0.26:

* -Errfile will now accept a filehandle as well as a filename
This means that -ErrFile => *STDOUT will get all extended error
messages displayed directly on screen.

It works fine here (using BerkeleyDB 0.34).

Removing the option is also a valid workaround.

Mark



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:57 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0