Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2019 13:39:12 -0500
From:      Andy Firman <firmdog@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   perl confusion --> failed to start spamd
Message-ID:  <CAHcg-UEuiCv_NHuDFUsBwePCf=xmbJ=6dCExevhayKqoHvcFXA@mail.gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi,

I recently updated a "php" package due to security vulns. This caused a
problem with Apache, and (thanks to this mailing list) I was told I need to
upgrade package "apr". During that process, something happened with perl,
and I now have 2 versions installed. Now I am unable to use spamassassin.
How do I troubleshoot this?

FreeBSD 12.0-RELEASE-p10

#pkg info |grep perl

perl5-5.30.0                   Practical Extraction and Report Language
perl5.28-5.28.2                Practical Extraction and Report Language

# /usr/local/etc/rc.d/sa-spamd start
Starting spamd.
Can't locate NetAddr/IP.pm in @INC (you may need to install the NetAddr::IP
module) (@INC contains: /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/5.30/mach
/usr/local/lib/perl5/5.30) at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Util.pm line 70.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Util.pm line 70.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Conf.pm line 85.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin/Conf.pm line 85.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin.pm line 71.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin.pm line 71.
Compilation failed in require at /usr/local/bin/spamd line 240.
BEGIN failed--compilation aborted at /usr/local/bin/spamd line 240.
/usr/local/etc/rc.d/sa-spamd: WARNING: failed to start spamd



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAHcg-UEuiCv_NHuDFUsBwePCf=xmbJ=6dCExevhayKqoHvcFXA>