You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Paolo De Marco <pa...@realcomm.it> on 2008/07/11 11:17:20 UTC

Install mysq for bayes

I want to migrate to mysql form my bayes.
I have installed perl modules, mysql and modify local.cf.
When i run amavisd debug i see this lines:

Had to create DBD::mysql::dr::imp_data_size unexpectedly at 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 937.
Use of uninitialized value in subroutine entry at 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 937.
Had to create DBD::mysql::db::imp_data_size unexpectedly at 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 937.
Use of uninitialized value in subroutine entry at 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 937.
Jul 11 11:16:36 mail.ial.fvg.it /usr/local/sbin/amavisd[17564]: 
(!!)TROUBLE in pre_loop_hook: Undefined subroutine 
&DBD::mysql::db::_login called at 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBD/mysql.pm 
line 128.
Suicide () TROUBLE in pre_loop_hook: Undefined subroutine 
&DBD::mysql::db::_login called at 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBD/mysql.pm 
line 128.
Driver has not implemented the disconnect_all method. at 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBI.pm line 575
END failed--call queue aborted.


-- 
Paolo De Marco



Re: Install mysq for bayes

Posted by Michael Parker <pa...@pobox.com>.
On Jul 15, 2008, at 4:04 AM, Alex Woick wrote:

> Paolo De Marco schrieb am 11.07.2008 11:17:
>> I want to migrate to mysql form my bayes.
>> I have installed perl modules, mysql and modify local.cf.
>> When i run amavisd debug i see this lines:
>> Jul 11 11:16:36 mail.ial.fvg.it /usr/local/sbin/amavisd[17564]:  
>> (!!)TROUBLE in pre_loop_hook: Undefined subroutine  
>> &DBD::mysql::db::_login called at /usr/lib/perl5/vendor_perl/5.8.0/ 
>> i386-linux-thread-multi/DBD/mysql.pm line 128.
>
> You have DBI installed, but probably you are missing the DBD::mysql  
> perl module. On my system (Fedora) it is contained in the perl-DBD- 
> MySQL package.
>

Another guess is that the version of DBI that you have installed is  
not compatible with the version of DBD::mysql.

Check your version numbers and what they depend on.

Michael


Re: Install mysq for bayes

Posted by Alex Woick <al...@wombaz.de>.
Paolo De Marco schrieb am 11.07.2008 11:17:
> I want to migrate to mysql form my bayes.
> I have installed perl modules, mysql and modify local.cf.
> When i run amavisd debug i see this lines:
> 
> Jul 11 11:16:36 mail.ial.fvg.it /usr/local/sbin/amavisd[17564]: 
> (!!)TROUBLE in pre_loop_hook: Undefined subroutine 
> &DBD::mysql::db::_login called at 
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/DBD/mysql.pm 
> line 128.

You have DBI installed, but probably you are missing the DBD::mysql 
perl module. On my system (Fedora) it is contained in the perl-DBD-MySQL 
package.

Tschau
Alex