• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Spam Training

V

Vengent

Guest
Having a weird error on trying to train spam assasin via the psa cp.

Cannot exec 'spammng Array':

Empty error message from utilty.

Any ideas?
 
Originally posted by hardweb
By any chance do you use Plesk 7.5.1?

Why? Will this cause us problems with Spam Guardian, Total Backup or Clean Server if we upgrade from 7.50 to 7.51?
 
I had an issue with Spam Guardian and not doing spam training after going from 7.1.5 to 7.1.6 and was told to reinstall Spam Guardian and it works like a champ now again.
 
Thanks ClayCulver;
Re-installing both spamassassin rpm's done the trick :)

rpm -Uvh --force Third_Party.RH9/spamassassin-2.63-0.2.i386.rpm
rpm -Uvh --force rpm_RedHat_9/opt/mail/psa-spamassassin-7.1.6-rh9.build71041118.17.i586.rpm
 
Strange, it doesn't work anymore... it worked yesterday when i re-installed the rpm's.

It also worked immediatly after the PSA-install.
 
By any chance did you reboot the server? I have an issue after upgrading to 7.1.6 that Dr. Web tries to run twice and just stops things dead until Dr. Web is stopped, I am not sure if Dr. Web is apart of 7.5.x but it is worth a try if you do not use it.
 
No, I didn't...

[root@server02 plesk]# rpm -Uvh --force Third_Party.RH9/spamassassin-2.63-0.2.i386.rpm
Preparing... ########################################### [100%]
1:spamassassin ########################################### [100%]
[root@server02 plesk]# rpm -Uvh --force rpm_RedHat_9/opt/mail/psa-spamassassin-7.1.6-rh9.build71041118.17.i586.rpm
Preparing... ########################################### [100%]
Shutting down psa-spamassassin service: [ OK ]
1:psa-spamassassin ########################################### [100%]
===> Reading /etc/tomcat4/tomcat4.conf ...
===> Updating /etc/psa/psa.conf...
===> Reading /etc/psa/psa.conf ...

Starting psa-spamassassin service: [ OK ]
[root@server02 plesk]#
[root@server02 plesk]# service psa start
===> Reading /etc/psa/psa.conf ...
Starting psa-spamassassin service: [ OK ]
/usr/local/psa/admin/bin/httpsdctl start: httpd (pid 6416) already running
Starting Plesk: [ OK ]
[root@server02 plesk]# setup
[root@server02 plesk]# rpm -qa | grep ssass
spamassassin-2.63-0.2
psa-spamassassin-7.1.6-rh9.build71041118.17
[root@server02 plesk]#
[root@server02 plesk]# service psa-spamassassin status
is running
[root@server02 plesk]# service spamassassin status
spamd (pid 32518 32501 32389) is running...
[root@server02 plesk]#

Starting psa-spamassassin service: [ OK ]
[root@server02 plesk]#
[root@server02 plesk]# service psa start
===> Reading /etc/psa/psa.conf ...
Starting psa-spamassassin service: [ OK ]
/usr/local/psa/admin/bin/httpsdctl start: httpd (pid 6416) already running
Starting Plesk: [ OK ]
Does this mean that psa-spamassassin-service had crashed?
 
Spamassassin seems to have crashed again.

Reason:
Code:
[root@server02 root]# service psa-spamassassin status
serviCan't locate Mail/SpamAssassin/NoMailAudit.pm in @INC (@INC contains: lib /usr/local/psa/lib/perl5/site_perl/5.8.0/mach /usr/local/psa/lib/perl5/site_perl/5.8.0 /usr/local/psa/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/CmdManage.pm line 14.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/CmdManage.pm line 14.
Compilation failed in require at /usr/local/psa/admin/sbin/spammng line 58.
[root@server02 root]# service spamassassin status
spamd is stopped
[root@server02 root]#
Anybody? Any idea?
 
[root@server02 root]# rpm -qa | grep spa
spamassassin-3.0.1-2.rh90.art
psa-spamassassin-7.1.6-rh9.build71041118.17
[root@server02 root]#

[root@server02 cron.daily]# ls -al /etc/cron.daily/yum.cron
-rwxr-xr-x 1 root root 136 Oct 5 18:29 /etc/cron.daily/yum.cron
[root@server02 cron.daily]# cat /etc/cron.daily/yum.cron
#!/bin/sh

if [ -f /var/lock/subsys/yum ]; then
/usr/bin/yum -R 10 -e 0 -d 0 -y update yum
/usr/bin/yum -R 120 -e 0 -d 0 -y update
fi
[root@server02 cron.daily]#

Removed the yum-cronjob and removed spamassassin-3.0.1-2.rh90.art.

We'll see if psa-spamassassin crashed again tomorrow.
 
Back
Top