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 missing library

Discussion in 'General Discussion' started by bsasninja, Aug 24, 2009.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    16
    Today I was looking at spamassasin and I found an error when I checked the version:

    spamd --version
    SpamAssassin Server version 3.2.4
    running on Perl 5.8.8
    [27398] error: Can't locate Socket6.pm in @INC (@INC contains: /usr/local/cpanel/spamassassin_sandbox /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/local/cpanel /usr/local/cpanel/spamassassin_sandbox /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl) at /usr/lib/perl5/site_perl/5.8.8/IO/Socket/SSL.pm line 61.
    with SSL support (IO::Socket::SSL 1.30)
    with zlib support (Compress::Zlib 2.017)

    How can I fix this?

    Thank you
     
  2. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    Did you try

    /scripts/checkperlmodules
    /scripts/upcp --force

    Or you may locate Socket6.pm . May be its the path where the module located is not correct

    You can also try install this as a normal Perl module, using
    "perl -MCPAN -e shell"
     
  3. allpar

    allpar Active Member

    Joined:
    Sep 16, 2005
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Followup

    I've had the same problem.
    Socket6 is indeed a Perl module and I've installed it. Had to restart spamd ... now it wants INET6... which had been installed but I reinstalled. And now it's happy! Thought I should add the resolution. I added the modules through the WHM interface.
     
    #3 allpar, Oct 11, 2009
    Last edited: Oct 11, 2009
Loading...

Share This Page