1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

Spam Training

Discussion in 'Plesk for Linux - 8.x and Older' started by Vengent, Dec 17, 2004.

  1. Vengent

    Vengent Guest

    0
     
    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?
     
  2. hardweb

    hardweb Guest

    0
     
    By any chance do you use Plesk 7.5.1?
     
  3. Pagemakers

    Pagemakers Silver Pleskian

    31
    80%
    Joined:
    Dec 19, 2007
    Messages:
    664
    Likes Received:
    7
    Why? Will this cause us problems with Spam Guardian, Total Backup or Clean Server if we upgrade from 7.50 to 7.51?
     
  4. DennisCitus

    DennisCitus Guest

    0
     
    Same issue here, on PSA 7.1.6
     
  5. ClayCulver

    ClayCulver Guest

    0
     
    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.
     
  6. DennisCitus

    DennisCitus Guest

    0
     
    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
     
  7. ClayCulver

    ClayCulver Guest

    0
     
    Not a problem.
     
  8. DennisCitus

    DennisCitus Guest

    0
     
    Strange, it doesn't work anymore... it worked yesterday when i re-installed the rpm's.

    It also worked immediatly after the PSA-install.
     
  9. ClayCulver

    ClayCulver Guest

    0
     
    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.
     
  10. DennisCitus

    DennisCitus Guest

    0
     
    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]#

    Does this mean that psa-spamassassin-service had crashed?
     
  11. DennisCitus

    DennisCitus Guest

    0
     
    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?
     
  12. DennisCitus

    DennisCitus Guest

    0
     
    [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.
     
Loading...