• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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