You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Chris <cp...@earthlink.net> on 2007/02/20 00:50:27 UTC
Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi
This was the output of my sa-update cronjob this morning:
Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi called
at /etc/mail/spamassassin/DBI.pm line 162.
I take it this has to do with the new option --allowplugins?
--
Chris
KeyID 0xE372A7DA98E6705C
Re: Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi
Posted by Nigel Frankcom <ni...@blue-canoe.net>.
On Sat, 24 Feb 2007 23:33:26 +0000, Nigel Frankcom
<ni...@blue-canoe.net> wrote:
>On Sat, 24 Feb 2007 22:45:51 +0100, Michael Monnerie
><mi...@it-management.at> wrote:
>
>>On Dienstag, 20. Februar 2007 06:45 Michael Parker wrote:
>>> Persistent DBI connections.
>>
>>I use it, it worked well until SA 3.1.7, I just updated via CPAN to
>>3.1.8, and now I get the same error message
>># sa-update
>>Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi called
>>at /etc/mail/spamassassin/DBI.pm line 162.
>>
>>> What does grep DBI *.pre say?
>>
>>loadplugin Mail::SpamAssassin::Plugin::DBI /etc/mail/spamassassin/DBI.pm
>>downloaded from
>>http://wiki.apache.org/spamassassin/DBIPlugin
>>
>>> Either a) you have something goofed up there or b) something is
>>> goofed in how we setup the INC path for plugins.
>>
>>Something must have changed that breaks DBIPlugin, because at 3.1.7
>>I don't have that error.
>>
>>mfg zmi
>
>Have you tried installing/reinstalling DBI from yum? IIRC that's what
>fixed things for me a while back. Hard to recall, it was a long while
>back...
>
>yum install perl-DBI.x86_64
>worked here
>
>YMMV (that said it's worked on 4 * 64 bit boxen; if I get really bored
>tomorrow (Sunday) I'll try it on 32 bit
>
>I ran 3.1.7 without problem, and 3.1.8 seemed to go in fine.. tho I
>must read the readme that arrived with today's version.
>
>KR
>
>Nigel
I guess there's a few updates under 32 bit... dunno if it's enough to
screw up SA, but worth a good look at least (imo)
>(1/14): php-common-5.1.6- 100% |=========================| 135 kB 00:00
>(2/14): php-cli-5.1.6-3.e 100% |=========================| 2.0 MB 00:04
>(3/14): perl-DBI-1.53-2.e 100% |=========================| 602 kB 00:01
>(4/14): mysqlclient14-4.1 100% |=========================| 1.2 MB 00:02
>(5/14): mod_perl-2.0.3-1. 100% |=========================| 4.0 MB 00:08
>(6/14): php-ldap-5.1.6-3. 100% |=========================| 31 kB 00:00
>(7/14): perl-DBD-MySQL-3. 100% |=========================| 145 kB 00:00
>(8/14): mysqlclient14-dev 100% |=========================| 93 kB 00:00
>(9/14): php-pear-1.4.11-1 100% |=========================| 345 kB 00:00
>(10/14): perl-5.8.8-4.el4 100% |=========================| 11 MB 00:23
>(11/14): php-5.1.6-3.el4s 100% |=========================| 1.1 MB 00:02
>(12/14): httpd-manual-2.0 100% |=========================| 1.7 MB 00:03
>(13/14): httpd-2.0.59-1.e 100% |=========================| 928 kB 00:01
>(14/14): mod_ssl-2.0.59-1 100% |=========================| 96 kB 00:00
Re: Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi
Posted by Nigel Frankcom <ni...@blue-canoe.net>.
On Sat, 24 Feb 2007 22:45:51 +0100, Michael Monnerie
<mi...@it-management.at> wrote:
>On Dienstag, 20. Februar 2007 06:45 Michael Parker wrote:
>> Persistent DBI connections.
>
>I use it, it worked well until SA 3.1.7, I just updated via CPAN to
>3.1.8, and now I get the same error message
># sa-update
>Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi called
>at /etc/mail/spamassassin/DBI.pm line 162.
>
>> What does grep DBI *.pre say?
>
>loadplugin Mail::SpamAssassin::Plugin::DBI /etc/mail/spamassassin/DBI.pm
>downloaded from
>http://wiki.apache.org/spamassassin/DBIPlugin
>
>> Either a) you have something goofed up there or b) something is
>> goofed in how we setup the INC path for plugins.
>
>Something must have changed that breaks DBIPlugin, because at 3.1.7
>I don't have that error.
>
>mfg zmi
Have you tried installing/reinstalling DBI from yum? IIRC that's what
fixed things for me a while back. Hard to recall, it was a long while
back...
yum install perl-DBI.x86_64
worked here
YMMV (that said it's worked on 4 * 64 bit boxen; if I get really bored
tomorrow (Sunday) I'll try it on 32 bit
I ran 3.1.7 without problem, and 3.1.8 seemed to go in fine.. tho I
must read the readme that arrived with today's version.
KR
Nigel
Re: Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
On 2/24/2007 6:30 PM, Michael Parker wrote:
> Michael Monnerie wrote:
>
>>>Either a) you have something goofed up there or b) something is
>>>goofed in how we setup the INC path for plugins.
>>
>>Something must have changed that breaks DBIPlugin, because at 3.1.7
>>I don't have that error.
>>
>
>
> Please file a bug in Bugzilla. It might be something with the plugin
> but I suspect something with how we are figuring out the INC path.
It's a typo in the plugin.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5358
Daryl
Re: Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi
Posted by Michael Parker <pa...@pobox.com>.
Michael Monnerie wrote:
>> Either a) you have something goofed up there or b) something is
>> goofed in how we setup the INC path for plugins.
>
> Something must have changed that breaks DBIPlugin, because at 3.1.7
> I don't have that error.
>
Please file a bug in Bugzilla. It might be something with the plugin
but I suspect something with how we are figuring out the INC path.
Thanks
Michael
Re: Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi
Posted by Michael Monnerie <mi...@it-management.at>.
On Dienstag, 20. Februar 2007 06:45 Michael Parker wrote:
> Persistent DBI connections.
I use it, it worked well until SA 3.1.7, I just updated via CPAN to
3.1.8, and now I get the same error message
# sa-update
Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi called
at /etc/mail/spamassassin/DBI.pm line 162.
> What does grep DBI *.pre say?
loadplugin Mail::SpamAssassin::Plugin::DBI /etc/mail/spamassassin/DBI.pm
downloaded from
http://wiki.apache.org/spamassassin/DBIPlugin
> Either a) you have something goofed up there or b) something is
> goofed in how we setup the INC path for plugins.
Something must have changed that breaks DBIPlugin, because at 3.1.7
I don't have that error.
mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0676/846 914 666 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi4.asc | gpg --import"
// Fingerprint: EA39 8918 EDFF 0A68 ACFB 11B7 BA2D 060F 1C6F E6B0
// Keyserver: www.keyserver.net Key-ID: 1C6FE6B0
Re: Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi
Posted by Michael Parker <pa...@pobox.com>.
Chris wrote:
> On Monday 19 February 2007 6:06 pm, Theo Van Dinter wrote:
>> On Mon, Feb 19, 2007 at 05:50:27PM -0600, Chris wrote:
>>> This was the output of my sa-update cronjob this morning:
>>>
>>> Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi called
>>> at /etc/mail/spamassassin/DBI.pm line 162.
>>>
>>> I take it this has to do with the new option --allowplugins?
>> Nope. It looks like your setup is just messed up. For instance, what is
>> /etc/mail/spamassassin/DBI.pm and what are you trying to do with it? :)
>
> Uh, you're right, I have no idea why I installed it, I don't even remember
> when. I know thats kind of a lame answer, but its the truth.
>
Persistent DBI connections.
What does grep DBI *.pre say?
Either a) you have something goofed up there or b) something is goofed
in how we setup the INC path for plugins.
Michael
Re: Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi
Posted by Chris <cp...@earthlink.net>.
On Monday 19 February 2007 6:06 pm, Theo Van Dinter wrote:
> On Mon, Feb 19, 2007 at 05:50:27PM -0600, Chris wrote:
> > This was the output of my sa-update cronjob this morning:
> >
> > Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi called
> > at /etc/mail/spamassassin/DBI.pm line 162.
> >
> > I take it this has to do with the new option --allowplugins?
>
> Nope. It looks like your setup is just messed up. For instance, what is
> /etc/mail/spamassassin/DBI.pm and what are you trying to do with it? :)
Uh, you're right, I have no idea why I installed it, I don't even remember
when. I know thats kind of a lame answer, but its the truth.
--
Chris
KeyID 0xE372A7DA98E6705C
Re: Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi
Posted by Theo Van Dinter <fe...@apache.org>.
On Mon, Feb 19, 2007 at 05:50:27PM -0600, Chris wrote:
> This was the output of my sa-update cronjob this morning:
>
> Undefined subroutine &Mail::SpamAssassin::Plugin::DBI::dbi called
> at /etc/mail/spamassassin/DBI.pm line 162.
>
> I take it this has to do with the new option --allowplugins?
Nope. It looks like your setup is just messed up. For instance, what is
/etc/mail/spamassassin/DBI.pm and what are you trying to do with it? :)
--
Randomly Selected Tagline:
"From what I've seen and heard, Texas is an unrepentant meat-lovers
paradise. Any place that worships the almighty beef can't be *all*
that bad, can it...?" - Michael Steeves