Install mysq for bayes - SpamAssassin

This is a discussion on Install mysq for bayes - SpamAssassin ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Install mysq for bayes

  1. 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


  2. Re: Install mysq for bayes

    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


+ Reply to Thread