You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by sp...@joshuatipton.com on 2005/07/27 22:08:40 UTC

spamd wont start with bayesd on mysql

[root@router BayesStore]# spamd -D
trying to connect to syslog/unix...
no error connecting to syslog/unix
logging enabled:
        facility: mail
        socket:   unix
        output:   syslog
creating INET socket:
        Listen: 128
        LocalAddr: 127.0.0.1
        LocalPort: 783
        Proto: 6
        ReuseAddr: 1
        Type: 1
debug: SpamAssassin version 3.0.4
debug: Score set 0 chosen.
debug: Storable module v2.13 found
debug: Preloading modules with HOME=/tmp/spamd-20935-init
debug: ignore: test message to precompile patterns and load modules
debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre
debug: config: read file /etc/mail/spamassassin/init.pre
debug: using "/usr/share/spamassassin" for default rules dir
debug: config: read file /usr/share/spamassassin/10_misc.cf
debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf
debug: config: read file /usr/share/spamassassin/20_body_tests.cf
debug: config: read file /usr/share/spamassassin/20_compensate.cf
debug: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
debug: config: read file /usr/share/spamassassin/20_drugs.cf
debug: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf
debug: config: read file /usr/share/spamassassin/20_head_tests.cf
debug: config: read file /usr/share/spamassassin/20_html_tests.cf
debug: config: read file /usr/share/spamassassin/20_meta_tests.cf
debug: config: read file /usr/share/spamassassin/20_phrases.cf
debug: config: read file /usr/share/spamassassin/20_porn.cf
debug: config: read file /usr/share/spamassassin/20_ratware.cf
debug: config: read file /usr/share/spamassassin/20_uri_tests.cf
debug: config: read file /usr/share/spamassassin/23_bayes.cf
debug: config: read file /usr/share/spamassassin/25_body_tests_es.cf
debug: config: read file /usr/share/spamassassin/25_hashcash.cf
debug: config: read file /usr/share/spamassassin/25_spf.cf
debug: config: read file /usr/share/spamassassin/25_uribl.cf
debug: config: read file /usr/share/spamassassin/30_text_de.cf
debug: config: read file /usr/share/spamassassin/30_text_fr.cf
debug: config: read file /usr/share/spamassassin/30_text_nl.cf
debug: config: read file /usr/share/spamassassin/30_text_pl.cf
debug: config: read file /usr/share/spamassassin/50_scores.cf
debug: config: read file /usr/share/spamassassin/60_whitelist.cf
debug: using "/etc/mail/spamassassin" for site rules dir
debug: config: read file /etc/mail/spamassassin/cc-tweaks.cf
debug: config: read file /etc/mail/spamassassin/local.cf
debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
debug: plugin: registered
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x921f3f8)
debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
debug: plugin: registered
Mail::SpamAssassin::Plugin::Hashcash=HASH(0x9a37164)
debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x9a06928)
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x921f3f8)
implements 'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x9a37164)
implements 'parse_config'
Can't locate Mail/Spamassassin/BayesStore/SQL.pm in @INC (@INC contains:
../lib /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at (eval 24)
line 2.



Re: spamd wont start with bayesd on mysql

Posted by Matt Kettler <mk...@comcast.net>.
At 04:08 PM 7/27/2005, spamass@joshuatipton.com wrote:
>Can't locate Mail/Spamassassin/BayesStore/SQL.pm

Is said file missing from your /usr/lib/perl5 tree? It should probably be 
somewhere under site_perl/<some version>/.

Also, in general I'd suggest not being within any part of SA's tarball or 
perl install directories when starting spamd. SA's code will check around 
the current working directory and above it (to facilitate mass-check 
testing) for modules and can sometimes get a bit confused, particularly if 
you are in a tarball for a different SA version...


Re: spamd wont start with bayesd on mysql

Posted by Michael Parker <pa...@pobox.com>.
spamass@joshuatipton.com wrote:

>How would I fix this issue.  Is it in a script?
>
>  
>
>>spamass@joshuatipton.com wrote:
>>
>>    
>>
>>>Can't locate Mail/Spamassassin/BayesStore/SQL.pm in @INC (@INC contains:
>>>
>>>
>>>      
>>>
>>It is SpamAssassin, notice the uppercase A in Assassin.
>>
>>Michael
>>
>>    
>>

Check your bayes_store_module config option.

Michael

Re: spamd wont start with bayesd on mysql

Posted by sp...@joshuatipton.com.
How would I fix this issue.  Is it in a script?

> spamass@joshuatipton.com wrote:
>
>>Can't locate Mail/Spamassassin/BayesStore/SQL.pm in @INC (@INC contains:
>>
>>
>
> It is SpamAssassin, notice the uppercase A in Assassin.
>
> Michael
>



Re: spamd wont start with bayesd on mysql

Posted by Michael Parker <pa...@pobox.com>.
spamass@joshuatipton.com wrote:

>Can't locate Mail/Spamassassin/BayesStore/SQL.pm in @INC (@INC contains:
>  
>

It is SpamAssassin, notice the uppercase A in Assassin.

Michael

Re: spamd wont start with bayesd on mysql

Posted by Michael Parker <pa...@pobox.com>.
mouss wrote:

> spamass@joshuatipton.com wrote:
>
>> Can't locate Mail/Spamassassin/BayesStore/SQL.pm in @INC (@INC contains:
>
>
> did you install the perl DBD-mysql module?
>

I thought I made it clear when I first answered, but perhaps not.

It's just a typo Spamassassin should be SpamAssassin in the
bayes_store_module config option.

Nothing to see here, move along, the original poster has already
reported that it works just fine.

Michael

Re: spamd wont start with bayesd on mysql

Posted by mouss <us...@free.fr>.
spamass@joshuatipton.com wrote:
> Can't locate Mail/Spamassassin/BayesStore/SQL.pm in @INC (@INC contains:

did you install the perl DBD-mysql module?