SpamAssassin installation failure

Shawn Iverson iversons at rushville.k12.in.us
Thu Dec 14 19:06:28 UTC 2017


Not yet, I am going to look into it more this evening.  I am thinking cpanm
not doing a force may be the culprit as you suggest.  It is only called
when using the flags to automate cpan perl module compilation.  SA tests
can fail for stupid reasons that won't actually affect the installation.

On Wed, Dec 13, 2017 at 9:01 PM, Eoin Kim <Eoin.Kim at rcst.com.au> wrote:

> Hi Shawn,
>
>
>
> Just wonder if you require further information regarding this. Thanks.
>
>
>
> Eoin
>
>
>
> *From:* Eoin Kim
> *Sent:* Thursday, 14 December 2017 7:32 AM
> *To:* MailScanner Discussion <mailscanner at lists.mailscanner.info>
> *Subject:* RE: SpamAssassin installation failure
>
>
>
> Hi Shawn,
>
>
>
> The installation without flags looks different but I am not sure if this
> is successful or not. I’ll attach the installation log file. Thanks.
>
>
>
> Eoin
>
>
>
> *From:* MailScanner [mailto:mailscanner-bounces+
> eoin.kim=rcst.com.au at lists.mailscanner.info
> <mailscanner-bounces+eoin.kim=rcst.com.au at lists.mailscanner.info>] *On
> Behalf Of *Shawn Iverson
> *Sent:* Wednesday, 13 December 2017 10:05 PM
> *To:* MailScanner Discussion <mailscanner at lists.mailscanner.info>
> *Subject:* Re: SpamAssassin installation failure
>
>
>
> Eoin,
>
>
>
> If you install without using the flags for install.sh and answer the
> prompts, does spamassassin install successfully?
>
>
>
> On Tue, Dec 12, 2017 at 8:12 PM, Eoin Kim <Eoin.Kim at rcst.com.au> wrote:
>
> Hi Shawn,
>
>
>
> I checked the install.sh script and it looks like --force options is
> missing.
>
>
>
> #Install SpamaAssassin, use standard cpan in normail install, or
> App::cpanminus in unattended install
>
>     perldoc -l ${MODSA} >/dev/null 2>&1
>
>     if [ $? != 0 ]; then
>
>         clear
>
>         echo "${MODSA} is missing. Installing via CPAN ..."; echo;
>
>         timewait 1
>
>         if [ $AUTOCPAN -eq 0 ]; then
>
>             perl -MCPAN -e "CPAN::Shell->force(qw(install ${MODSA} ));"
>
>         else
>
>             cpanm --no-interactive ${MODSA}
>
>         fi
>
>     fi
>
>
>
> 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 9:09 AM
> *To:* MailScanner Discussion <mailscanner at lists.mailscanner.info>
> *Subject:* RE: SpamAssassin installation failure
>
>
>
> 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
> <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
> <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>
> *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$ 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
> <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>
> *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> 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
>
>
>
> [image: RCST logo drop shadow]
>
>
>
>
>
>
> --
> MailScanner mailing list
> 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 <(765)%20932-3901>
>
> iversons at rushville.k12.in.us
>
>
>
> [image: Image removed by sender.][image: Image removed by sender.]
>
>
>
>
> --
> MailScanner mailing list
> 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 <(765)%20932-3901>
>
> iversons at rushville.k12.in.us
>
>
>
> [image: Image removed by sender.][image: Image removed by sender.]
>
>
>
> --
> MailScanner mailing list
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20171214/d09d7f0a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20171214/d09d7f0a/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3384 bytes
Desc: not available
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20171214/d09d7f0a/attachment-0001.jpg>


More information about the MailScanner mailing list