SpamAssassin missing library

bsasninja

Well-Known Member
Sep 2, 2004
527
0
166
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
 

logicsupport

Well-Known Member
Jun 5, 2007
138
0
166
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"
 

allpar

Well-Known Member
Sep 16, 2005
53
3
158
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.
 
Last edited: