SpamAssassin installation failure

Mark Sapiro mark at msapiro.net
Wed Dec 13 22:50:58 UTC 2017


On 12/13/2017 01:32 PM, Eoin Kim wrote:
> 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]
> *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
> <mailto: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
>     <mailto:mailscanner-bounces%2Beoin.kim>=rcst.com.au at lists.mailscanner.info
>     <mailto: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
>     <mailto: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]
>     *On Behalf Of *Eoin Kim
>     *Sent:* Wednesday, 13 December 2017 8:23 AM
>     *To:* MailScanner Discussion <mailscanner at lists.mailscanner.info
>     <mailto: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 <http://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 <tel:(765)%20932-3901>
> 
>     iversons at rushville.k12.in.us <mailto:iversons at rushville.k12.in.us>
> 
>      
> 
>     Image removed by sender.Image removed by sender.
> 
> 
> 
> 
>     --
>     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.
> 
> 
> 
> 
> 


-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list