• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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