SpamAssassin installation failure
Eoin Kim
Eoin.Kim at rcst.com.au
Tue Dec 12 23:09:11 UTC 2017
Hi Shawn,
My apologies for messy emails but I’d like to make things clear. So, here’s what I did step by step:
1. Installed Debian Jessie and upgraded (sudo apt-get update && sudo apt-get upgrade && sudo reboot).
2. Installed few packages: ca-certificates, libgeo-ip-perl, libnet-patricia-perl
3. Downloaded the MailScanner installer.
4. Ran the command - ./install.sh --MTA=postfix --installClamav=Y --installCPAN=Y --ignoreDeps=N --ramdiskSize=0
During the procedure, I watched the log and this showed up.
--> Working on Digest::SHA1
Fetching http://www.cpan.org/authors/id/G/GA/GAAS/Digest-SHA1-2.13.tar.gz ... OK
Configuring Digest-SHA1-2.13 ... OK
Building and testing Digest-SHA1-2.13 ... OK
Successfully installed Digest-SHA1-2.13
1 distribution installed
Mail::SpamAssassin is missing. Installing via CPAN ...
--> Working on Mail::SpamAssassin
Fetching http://www.cpan.org/authors/id/K/KM/KMCGRAIL/SpamAssassin/Mail-SpamAssassin-3.4.1.tar.gz ... OK
Configuring Mail-SpamAssassin-3.004001 ... OK
Building and testing Mail-SpamAssassin-3.004001 ... ! Installing Mail::SpamAssassin failed. See /root/.cpanm/work/1513044980.46831/build.log for details. Retry with --force to force install it.
FAIL
It kept going and installation finished. And when I looked the /root/.cpanm/work/1513044980.46831/build.log file, at the end this shows.
Test Summary Report
-------------------
t/sa_compile.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 2.
Files=168, Tests=3014, 333 wallclock secs ( 0.69 usr 0.09 sys + 67.79 cusr 5.12 csys = 73.69 CPU)
Result: FAIL
Failed 1/168 test programs. 2/3014 subtests failed.
Makefile:1582: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
-> FAIL Installing Mail::SpamAssassin failed. See /root/.cpanm/work/1513044980.46831/build.log for details. Retry with --force to force install it.
Eoin
From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Eoin Kim
Sent: Wednesday, 13 December 2017 8:23 AM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: RE: SpamAssassin installation failure
Sorry for flying emails but I used this file - https://s3.amazonaws.com/msv5/release/MailScanner-5.0.6-5.deb.tar.gz
I didn’t clone Github. Thanks.
Eoin
From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Eoin Kim
Sent: Wednesday, 13 December 2017 8:18 AM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>>
Subject: RE: SpamAssassin installation failure
Thanks Shawn,
I am using the latest kernel for your information (I did sudo apt-get update && sudo apt-get upgrade && sudo reboot).
sysadmin at mx1.bne.lab.boof.com:/usr/local/src/MailScanner-5.0.6-5$<mailto:sysadmin at mx1.bne.lab.boof.com:/usr/local/src/MailScanner-5.0.6-5$> uname -a
Linux mx1.bne.lab.boof.com 3.16.0-4-amd64 #1 SMP Debian 3.16.51-2 (2017-12-03) x86_64 GNU/Linux
Thanks again.
Eoin
From: MailScanner [mailto:mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info] On Behalf Of Shawn Iverson
Sent: Wednesday, 13 December 2017 8:15 AM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>>
Subject: Re: SpamAssassin installation failure
Eoin,
I am spinning up a Jessie instance to see if i can reproduce the issue.
On Tue, Dec 12, 2017 at 5:01 PM, Eoin Kim <Eoin.Kim at rcst.com.au<mailto:Eoin.Kim at rcst.com.au>> wrote:
Hi all,
I am trying to install MailScanner (v.5.0.6-5) on my Debian Jessie and it looks like installing SpamAssassin is failed. Below is the end of log message.
Test Summary Report
-------------------
t/sa_compile.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
Parse errors: Bad plan. You planned 5 tests but ran 2.
Files=168, Tests=3014, 333 wallclock secs ( 0.69 usr 0.09 sys + 67.79 cusr 5.12 csys = 73.69 CPU)
Result: FAIL
Failed 1/168 test programs. 2/3014 subtests failed.
Makefile:1582: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
-> FAIL Installing Mail::SpamAssassin failed. See /root/.cpanm/work/1513044980.46831/build.log for details. Retry with --force to force install it.
I used this command - ./install.sh --MTA=postfix --installClamav=Y --installCPAN=Y --ignoreDeps=N --ramdiskSize=0
What is the possible cause of this error and how can I rectify this? Thanks a lot.
Eoin Kim
Systems Administrator
RCS Telecommunications
Level 1 – The Annexe
133 Mary Street
Brisbane, QLD, 4000
Office: 07 3228 0843
Mobile: 0419 726 231
[RCST logo drop shadow]
--
MailScanner mailing list
mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>
http://lists.mailscanner.info/mailman/listinfo/mailscanner
--
Shawn Iverson, CETL
Director of Technology
Rush County Schools
765-932-3901 x1171
iversons at rushville.k12.in.us<mailto:iversons at rushville.k12.in.us>
[Image removed by sender.][Image removed by sender.]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20171212/c9fd4b0e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3384 bytes
Desc: image001.jpg
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20171212/c9fd4b0e/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 823 bytes
Desc: image002.jpg
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20171212/c9fd4b0e/attachment-0003.jpg>
More information about the MailScanner
mailing list