• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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