The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SpamAssassin disabled in Service Manager

Discussion in 'cPanel Developers' started by JColvard, Dec 2, 2005.

  1. JColvard

    JColvard Member

    Joined:
    May 15, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Anyone else finding spamd to be a constant headache?

    this /scripts/fixspamassassinfailedupdate

    errors with : SpamAssassin disabled in Service Manager its not. i can see the process running as well as having all appropriate settings (as of last week) configured.

    this rpm -e spamassassin

    errors with : error: package spamassassin is not installed


    the process is running under the wrong user account... running as root, failing the write process on every incoming... seems like the user shouldnt change...

    Spam assasin is now just a rouge process running its course, killing my incoming email and basically costing money wasteing time. kind of like sorbs list, and about every other offering from ISUX! who would name anything ISUX?

    what aree some straight forward alternitives, and how do i get this garbage off the server?

    again, its installed, its running, it reports it is niether.


    also, why do spamd and clamd conflict at times? arent they made by the same developers?

    so many irritations, so little to show.

    thanks for any info...

    ps, yes, i have a bad additude towards the SORBS project, i loath them in the way many laoth microsoft.
     
  2. JColvard

    JColvard Member

    Joined:
    May 15, 2005
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    spam assassin...

    Ok, i'm going to try Chirpys mailscanner.

    Sorry if anyone was offended by my vent(s).

    Honestly, although i hate SORBS, at least they make an effort to help make the net/world a better, cleaner place.

    i appreciate the efforts put forth by people, often for free, to help and resolve problems, be it on forums, or by writing software/scripts, whatever. I may not appreciate the methods, but i appreciate the investment.

    as i learn more, i hope to provide the same level of generosity and knoweldge as those who taught me.

    thanks for the thought...

    peace; j
     
  3. hari_anj

    hari_anj Member

    Joined:
    Jun 24, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    I too facing same problem.

    /scripts/fixspamassassinfailedupdate
    SpamAssassin disabled in Service Manager

    But SpamAssassin is enabled in Service Manager.

    The result of /scripts/restartsrv spamd is
    Waiting for spamd to restart..............finished.
    spamd has failed, please contact the sysadmin (result was "Spamd is not running").


    I tried rpm -e spamassassin but getting
    error: package spamassassin is not installed

    The result of /scripts/installspam is
    Method: Perl Expect
    Unable to locate working spamc! Please check your installation.
    Unable to locate working spamd! Please check your installation.
    Unable to locate working spamassassin! Please check your installation.

    Also same result with /scripts/perlinstaller Digest::SHA1
    Method: Perl Expect
    Unable to locate working spamc! Please check your installation.
    Unable to locate working spamd! Please check your installation.
    Unable to locate working spamassassin! Please check your installation.

    Please help me!
     
  4. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    I had spamassasin running OK I think, but I still went to Chirpy's mailscanner service eventually. It made a huge improvement, well worth the small fee (and he provides much info on his site if you want to try it yourself)
     
  5. hari_anj

    hari_anj Member

    Joined:
    Jun 24, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    spamassassin was not installed on the server :D
    Installed spamassassin and the perl modules Digest::SHA1, Mail::SpamAssassin and Mail::SpamAssassin::NoMailAudit. Also enabled WHM -> tweek settings -> spamassassin and
    WHM -> Service Manager: spamd
     
  6. noox

    noox Active Member

    Joined:
    Mar 19, 2003
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Are the perl modules installed with:

    perl -MCPAN -e 'install Digest::SHA1;'
    perl -MCPAN -e 'install Mail::SpamAssassin;'
    perl -MCPAN -e 'install Mail::SpamAssassin::NoMailAudit;'

    Is this ok? They seem all to be up to date.

    And how can I install Spamassassin. It ran flawlessly up to the nightly automated cpanel update yesterday. See: http://forums.cpanel.net/showthread.php?p=240328

    Spamd is activated.

    When I ran /scripts/fixspamassassinfailedupdate it says 'SpamAssassin disabled in Service Manager'.
    When I ran /scripts/installspam it says:
    Unable to locate working spamc! Please check your installation.
    Unable to locate working spamd! Please check your installation.
    Unable to locate working spamassassin! Please check your installation.
    (Sames as when I ran /scripts/upcp)

    Strange thing is that the error message in the output form cpanel Update (/scripts/upcp) when spamd stopped working was:
    /usr/bin/perl: relocation error: /usr/lib/perl5/site_perl/5.6.1/i686-linux/auto/Net/DNS/DNS.so: undefined symbol: perl_get_sv
    Spamassassin Update Failed, reinstalling!
    Method: Perl Expect
    Unable to locate working spamc! Please check your installation.
    Unable to locate working spamd! Please check your installation.
    Unable to locate working spamassassin! Please check your installation.

    My perl version is 5.8.7 (in the error message it was 5.6.1)
    But in the following cpanel update outputs this error was gone - only the "Unable to locate ... " messages are still there.


    Could somebody give a hint what else I could do? Thanks.
     
  7. hari_anj

    hari_anj Member

    Joined:
    Jun 24, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    It seems that the spamassassin installation is not complete. Yu can install spamassassin through "WHM >> Software >> Install a RPM". It will create a file named /usr/bin/spamd. It is a perl script. Try to execute this script and it wil show the exact error line number if there is any.
     
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Installing the rpm isn't a good idea as cPanel expects the latest version of cPanel which is installed from cpan as a perl module. Usually, the OS vendor rpms are too old for the way cPanel uses SA.
     
Loading...
Similar Threads - SpamAssassin disabled Service
  1. Kevin Hands
    Replies:
    3
    Views:
    557

Share This Page