• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Spamfilter Training

M

MarcV

Guest
Hi,

I can't train spamassassin

I get the following error logs:

[Thu May 20 22:12:42 2010] [apc-warning] apc failed to locate locales/de-DE/Spamfiltertraining_messages_de-DE.php - bailing
[Thu May 20 22:12:42 2010] [apc-warning] apc failed to locate locales/en-US/Spamfiltertraining_messages_en-US.php - bailing

Any hints?
 
First of all try to find broken handlers with following script:

Code:
find /usr/local/psa/handlers/before-* -type f | while read h ; do [ ! -d /usr/local/psa/handlers/info/$(basename $h) ] && echo $h  ; done

And remove broken handlers.
After that run

# /etc/init.d/psa restart1

and check logs.
 
find /opt/psa/handlers/before-* -type f | while read h ; do [ ! -d /opt/psa/handlers/info/$(basename $h) ] && echo $h ; done

has no output.
 
Try to re-install spamassassin with removing first:

rpm -e spamassassin psa-spamassassin

and then installing it back with /usr/local/psa/admin/sbin/autoinstaller

Rebuilding mailsettings with

/usr/local/psa/admin/sbin/mchk --with-spam

also would be useful.
 
I've done this several times, the files above are missing and not installed
 
hello, yes i have since 9.2 the same error ...

[Tue May 25 06:39:42 2010] [apc-warning] apc failed to locate locales/de-DE/Spamfiltertraining_messages_de-DE.php - bailing
[Tue May 25 06:39:42 2010] [apc-warning] apc failed to locate locales/en-US/Spamfiltertraining_messages_en-US.php - bailing
[Tue May 25 06:39:43 2010] [apc-warning] apc failed to locate locales/de-DE/Spamfiltertraining_messages_de-DE.php - bailing
[Tue May 25 06:39:43 2010] [apc-warning] apc failed to locate locales/en-US/Spamfiltertraining_messages_en-US.php - bailing
[Tue May 25 06:39:57 2010] [apc-warning] apc failed to locate locales/de-DE/Spamfiltertraining_messages_de-DE.php - bailing
[Tue May 25 06:39:57 2010] [apc-warning] apc failed to locate locales/en-US/Spamfiltertraining_messages_en-US.php - bailing
[Tue May 25 06:40:08 2010] [apc-warning] apc failed to locate locales/de-DE/Spamfiltertraining_messages_de-DE.php - bailing
[Tue May 25 06:40:08 2010] [apc-warning] apc failed to locate locales/en-US/Spamfiltertraining_messages_en-US.php - bailing
[Tue May 25 06:40:16 2010] [apc-warning] apc failed to locate locales/de-DE/Spamfiltertraining_messages_de-DE.php - bailing
[Tue May 25 06:40:16 2010] [apc-warning] apc failed to locate locales/en-US/Spamfiltertraining_messages_en-US.php - bailing
[Tue May 25 06:40:20 2010] [apc-warning] apc failed to locate locales/de-DE/Spamfiltertraining_messages_de-DE.php - bailing
[Tue May 25 06:40:20 2010] [apc-warning] apc failed to locate locales/en-US/Spamfiltertraining_messages_en-US.php - bailing
 
this files does not exist
Spamfiltertraining_messages_de-DE.php
Spamfiltertraining_messages_en-US.php
 
Back
Top