• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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