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.

Apache SpamAssassin Install Failed

Discussion in 'EasyApache' started by TJCooper, Aug 17, 2005.

  1. TJCooper

    TJCooper Member

    Joined:
    Sep 21, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    St. Louis, MO
    Been having problems with spamassassin on my server.
    Server info is
    WHM 10.3.1 cPanel 10.5.0-C64
    Fedora i686 - WHM X v3.1.0

    I can't get spamassassin to work properly. I noticed these errors throughout trying to troubleshoot the problem...
    Code:
    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.
    
    Code:
    Warning: prerequisite Digest::SHA1 0 not found.
    
    These seem to be displayed during update of cpanel.

    Also I went to Install a perl mod and this is the info it displayed...
    Code:
    spawn /scripts/perlinstaller Digest::SHA1
    Method: Perl Expect
    Unable to locate working spamd! Please check your installation.
    
    Unable to locate working spamassassin! Please check your installation.
    
    Unable to locate working spamc! Please check your installation.
    
    Testing connection speed...(this could take a while)....Done
    
    Three usable mirrors located
    
    Mirror Check passed for www.uberlan.net
    
    commit: wrote /usr/lib/perl5/5.8.1/CPAN/Config.pm
    
    CPAN: Storable loaded ok
    
    Going to read /home/.cpan/Metadata
    
      Database was generated on Wed, 17 Aug 2005 03:09:05 GMT
    
    Digest::SHA1 is up to date.
    
    perlmod--Install done
    
     
    #1 TJCooper, Aug 17, 2005
    Last edited: Aug 17, 2005
  2. elix

    elix Well-Known Member

    Joined:
    Jan 18, 2005
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    I am by no means an expert but, try:

    /scripts/fixspamassassinfailedupdate
    /scripts/eximup --force

    If all fails:
    /scripts/upcp --force will do a complete reinstall of cPanel.

    Regards,
     
  3. TJCooper

    TJCooper Member

    Joined:
    Sep 21, 2003
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    St. Louis, MO
    Near the end got this
    Code:
    The error was:
    version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: Digest::SHA1 object version 2.01 does not match bootstrap parameter 2.10 at /usr/lib/perl5/5.8.1/i386-linux-thread-multi/DynaLoader.pm line 249.
    Compilation failed in require at ../lib/Mail/SpamAssassin/EvalTests.pm line 33.
    BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/EvalTests.pm line 33.
    Compilation failed in require at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
    BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
    Compilation failed in require at ../lib/Mail/SpamAssassin.pm line 74.
    BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin.pm line 74.
    Compilation failed in require at version.h.pl line 27.
    make: *** [spamc/Makefile] Error 2
    
      /usr/bin/make  -- NOT OK
    Running make install
      make had returned bad status, install seems impossible
    perlmod--Install done
    
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Try:

    /scripts/perlinstaller --force Digest::SHA1
    /scripts/perlinstaller --force Mail::SpamAssassin


    It's not related to exim, so reinstalling that won't help.
     
  5. MeGaMASTER

    MeGaMASTER Well-Known Member

    Joined:
    May 24, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    First sorry to post in a two months old thread but I'm also having the same problem and the above commands did not solve it. Any other suggestion?
     
    #5 MeGaMASTER, Oct 28, 2005
    Last edited: Oct 28, 2005
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You need to post exactly what error message(s) you're seeing.
     
  7. MeGaMASTER

    MeGaMASTER Well-Known Member

    Joined:
    May 24, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Here are the error messages after running /scripts/perlinstaller --force Mail::SpamAssassin:


     
  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
    It's all in the error then:

    /scripts/perlinstaller --force HTML::Parser
     
  9. MeGaMASTER

    MeGaMASTER Well-Known Member

    Joined:
    May 24, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    I have succeeded at installing SpamAssassin but now I'm having a big problem. Exim and spamd won't start.

    I did execute command /scripts/eximup --force and /scripts/reseteximtodefaults but still fail.
     
  10. gomes

    gomes Member

    Joined:
    Oct 21, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    india
    am also having the same problem, Have tried many ways as you mentioned but still the same.


    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.

    how can i proceed further.
     
  11. iko

    iko Well-Known Member
    PartnerNOC

    Joined:
    Jan 29, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Install manually any perl module to create a configuration for CPAN e.g.

    perl -MCPAN -e 'install Net::AIM'

    Answer all questions asked and wait for the install of the module to complete.

    Run /scripts/upcp and check for errors. It should complete and install cPanel correctly.
     
  12. tgibobby

    tgibobby Active Member

    Joined:
    Apr 12, 2004
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Hi ,

    I am sorry to reopn this. But I have the same issue with "Mail::SpamAssassin" . Note sure which perl module is to be reinstalled. This is where the make shows error. Please give some advise.

    Thank you.

    -----------------------------
    Mail-SpamAssassin-3.1.3/t/data/whitelists/action.eff.org
    Mail-SpamAssassin-3.1.3/t/data/whitelists/linuxplanet
    Mail-SpamAssassin-3.1.3/t/data/whitelists/mlist_mailman_message
    Mail-SpamAssassin-3.1.3/t/data/whitelists/mypoints
    Mail-SpamAssassin-3.1.3/t/data/whitelists/sf.net
    Mail-SpamAssassin-3.1.3/t/data/whitelists/oracle_net_techblast
    Mail-SpamAssassin-3.1.3/t/data/whitelists/yahoo-inc.com
    Mail-SpamAssassin-3.1.3/t/data/whitelists/register.com_password
    Mail-SpamAssassin-3.1.3/t/data/whitelists/winxpnews.com
    Mail-SpamAssassin-3.1.3/t/data/whitelists/netcenter-direct_de
    Removing previously used /home/.cpan/build/Mail-SpamAssassin-3.1.3
    Package came without SIGNATURE


    CPAN.pm: Going to build F/FE/FELICITY/Mail-SpamAssassin-3.1.3.tar.gz

    What email address or URL should be used in the suspected-spam report
    text for users who want more information on your filter installation?
    (In particular, ISPs should change this to a local Postmaster contact)
    default text: [the administrator of that system]

    NOTE: settings for "make test" are now controlled using "t/config.dist".
    See that file if you wish to customise what tests are run, and how.

    checking module dependencies and their versions...

    ***************************************************************************
    NOTE: the optional DB_File module is installed,
    but is not an up-to-date version.

    Used to store data on-disk, for the Bayes-style logic and
    auto-whitelist. *Much* more efficient than the other standard Perl
    database packages. Strongly recommended.

    make: *** No targets specified and no makefile found. Stop.
    /usr/bin/make -- NOT OK
    Running make install
    make had returned bad status, install seems impossible
    perlmod--Install done
    --------------------------
     
Loading...

Share This Page