<div dir="ltr">Eoin,<div><br></div><div>If you install without using the flags for install.sh and answer the prompts, does spamassassin install successfully?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 12, 2017 at 8:12 PM, Eoin Kim <span dir="ltr"><<a href="mailto:Eoin.Kim@rcst.com.au" target="_blank">Eoin.Kim@rcst.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-AU" link="blue" vlink="purple">
<div class="m_4775080264235706929WordSection1">
<p class="MsoNormal"><span>Hi Shawn,<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>I checked the install.sh script and it looks like --force options is missing.<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>#Install SpamaAssassin, use standard cpan in normail install, or App::cpanminus in unattended install<u></u><u></u></span></p>
<p class="MsoNormal"><span> perldoc -l ${MODSA} >/dev/null 2>&1<u></u><u></u></span></p>
<p class="MsoNormal"><span> if [ $? != 0 ]; then<u></u><u></u></span></p>
<p class="MsoNormal"><span> clear<u></u><u></u></span></p>
<p class="MsoNormal"><span> echo "${MODSA} is missing. Installing via CPAN ..."; echo;<u></u><u></u></span></p>
<p class="MsoNormal"><span> timewait 1<u></u><u></u></span></p>
<p class="MsoNormal"><span> if [ $AUTOCPAN -eq 0 ]; then<u></u><u></u></span></p>
<p class="MsoNormal"><span> perl -MCPAN -e "CPAN::Shell->force(qw(install ${MODSA} ));"<u></u><u></u></span></p>
<p class="MsoNormal"><span> else<u></u><u></u></span></p>
<p class="MsoNormal"><span> cpanm --no-interactive ${MODSA}<u></u><u></u></span></p>
<p class="MsoNormal"><span> fi<u></u><u></u></span></p>
<p class="MsoNormal"><span> fi<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Eoin<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> MailScanner [mailto:<a href="mailto:mailscanner-bounces%2Beoin.kim" target="_blank">mailscanner-bounces+<wbr>eoin.kim</a>=<a href="mailto:rcst.com.au@lists.mailscanner.info" target="_blank">rcst.com.au@lists.<wbr>mailscanner.info</a>]
<b>On Behalf Of </b>Eoin Kim<br>
<b>Sent:</b> Wednesday, 13 December 2017 9:09 AM<br>
<b>To:</b> MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.<wbr>mailscanner.info</a>><br>
<b>Subject:</b> RE: SpamAssassin installation failure<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span>Hi Shawn,<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>My apologies for messy emails but I’d like to make things clear. So, here’s what I did step by step:<u></u><u></u></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoNormal"><span>Installed Debian Jessie and upgraded (sudo apt-get update && sudo apt-get upgrade && sudo reboot).<u></u><u></u></span></li><li class="MsoNormal"><span>Installed few packages: ca-certificates, libgeo-ip-perl, libnet-patricia-perl<u></u><u></u></span></li><li class="MsoNormal"><span>Downloaded the MailScanner installer.<u></u><u></u></span></li><li class="MsoNormal"><span>Ran the command - ./install.sh --MTA=postfix --installClamav=Y --installCPAN=Y --ignoreDeps=N --ramdiskSize=0<u></u><u></u></span></li></ol>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>During the procedure, I watched the log and this showed up.<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>--> Working on Digest::SHA1<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Fetching
<a href="http://www.cpan.org/authors/id/G/GA/GAAS/Digest-SHA1-2.13.tar.gz" target="_blank">http://www.cpan.org/authors/<wbr>id/G/GA/GAAS/Digest-SHA1-2.13.<wbr>tar.gz</a> ... OK<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Configuring Digest-SHA1-2.13 ... OK<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Building and testing Digest-SHA1-2.13 ... OK<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Successfully installed Digest-SHA1-2.13<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>1 distribution installed<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Mail::SpamAssassin is missing. Installing via CPAN ...<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>--> Working on Mail::SpamAssassin<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Fetching
<a href="http://www.cpan.org/authors/id/K/KM/KMCGRAIL/SpamAssassin/Mail-SpamAssassin-3.4.1.tar.gz" target="_blank">
http://www.cpan.org/authors/<wbr>id/K/KM/KMCGRAIL/SpamAssassin/<wbr>Mail-SpamAssassin-3.4.1.tar.gz</a> ... OK<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Configuring Mail-SpamAssassin-3.004001 ... OK<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Building and testing Mail-SpamAssassin-3.004001 ... ! Installing Mail::SpamAssassin failed. See /root/.cpanm/work/1513044980.<wbr>46831/build.log for details. Retry with --force
to force install it.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>FAIL<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>It kept going and installation finished. And when I looked the /root/.cpanm/work/1513044980.<wbr>46831/build.log file, at the end this shows.<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Test Summary Report<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>-------------------<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>t/sa_compile.t <wbr> (Wstat: 512 Tests: 2 Failed: 2)<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span> Failed tests: 1-2<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span> Non-zero exit status: 2<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span> Parse errors: Bad plan. You planned 5 tests but ran 2.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Files=168, Tests=3014, 333 wallclock secs ( 0.69 usr 0.09 sys + 67.79 cusr 5.12 csys = 73.69 CPU)<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Result: FAIL<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Failed 1/168 test programs. 2/3014 subtests failed.<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Makefile:1582: recipe for target 'test_dynamic' failed<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>make: *** [test_dynamic] Error 255<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>-> FAIL Installing Mail::SpamAssassin failed. See /root/.cpanm/work/1513044980.<wbr>46831/build.log for details. Retry with --force to force install it.<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Eoin<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> MailScanner [<a href="mailto:mailscanner-bounces+eoin.kim=rcst.com.au@lists.mailscanner.info" target="_blank">mailto:mailscanner-bounces+<wbr>eoin.kim=rcst.com.au@lists.<wbr>mailscanner.info</a>]
<b>On Behalf Of </b>Eoin Kim<br>
<b>Sent:</b> Wednesday, 13 December 2017 8:23 AM<br>
<b>To:</b> MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.<wbr>mailscanner.info</a>><br>
<b>Subject:</b> RE: SpamAssassin installation failure<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span>Sorry for flying emails but I used this file -
<a href="https://s3.amazonaws.com/msv5/release/MailScanner-5.0.6-5.deb.tar.gz" target="_blank">https://s3.amazonaws.com/msv5/<wbr>release/MailScanner-5.0.6-5.<wbr>deb.tar.gz</a><u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>I didn’t clone Github. Thanks.<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Eoin<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> MailScanner [<a href="mailto:mailscanner-bounces+eoin.kim=rcst.com.au@lists.mailscanner.info" target="_blank">mailto:mailscanner-bounces+<wbr>eoin.kim=rcst.com.au@lists.<wbr>mailscanner.info</a>]
<b>On Behalf Of </b>Eoin Kim<br>
<b>Sent:</b> Wednesday, 13 December 2017 8:18 AM<br>
<b>To:</b> MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.<wbr>mailscanner.info</a>><br>
<b>Subject:</b> RE: SpamAssassin installation failure<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span>Thanks Shawn,<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>I am using the latest kernel for your information (I did sudo apt-get update && sudo apt-get upgrade && sudo reboot).<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span><a href="mailto:sysadmin@mx1.bne.lab.boof.com:/usr/local/src/MailScanner-5.0.6-5$" target="_blank">sysadmin@mx1.bne.lab.boof.com:<wbr>/usr/local/src/MailScanner-5.<wbr>0.6-5$</a> uname -a<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span>Linux <a href="http://mx1.bne.lab.boof.com" target="_blank">mx1.bne.lab.boof.com</a> 3.16.0-4-amd64 #1 SMP Debian 3.16.51-2 (2017-12-03) x86_64 GNU/Linux<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Thanks again.<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Eoin<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> MailScanner [<a href="mailto:mailscanner-bounces+eoin.kim=rcst.com.au@lists.mailscanner.info" target="_blank">mailto:mailscanner-bounces+<wbr>eoin.kim=rcst.com.au@lists.<wbr>mailscanner.info</a>]
<b>On Behalf Of </b>Shawn Iverson<br>
<b>Sent:</b> Wednesday, 13 December 2017 8:15 AM<br>
<b>To:</b> MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.<wbr>mailscanner.info</a>><br>
<b>Subject:</b> Re: SpamAssassin installation failure<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Eoin,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I am spinning up a Jessie instance to see if i can reproduce the issue.<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Dec 12, 2017 at 5:01 PM, Eoin Kim <<a href="mailto:Eoin.Kim@rcst.com.au" target="_blank">Eoin.Kim@rcst.com.au</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">Hi all,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
Test Summary Report<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
-------------------<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
t/sa_compile.t <wbr> (Wstat: 512 Tests: 2 Failed: 2)<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
Failed tests: 1-2<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
Non-zero exit status: 2<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
Parse errors: Bad plan. You planned 5 tests but ran 2.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
Files=168, Tests=3014, 333 wallclock secs ( 0.69 usr 0.09 sys + 67.79 cusr 5.12 csys = 73.69 CPU)<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
Result: FAIL<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
Failed 1/168 test programs. 2/3014 subtests failed.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
Makefile:1582: recipe for target 'test_dynamic' failed<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
make: *** [test_dynamic] Error 255<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">
-> FAIL Installing Mail::SpamAssassin failed. See /root/.cpanm/work/1513044980.<wbr>46831/build.log for details. Retry with --force to force install it.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I used this command - ./install.sh --MTA=postfix --installClamav=Y --installCPAN=Y --ignoreDeps=N --ramdiskSize=0<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">What is the possible cause of this error and how can I rectify this? Thanks a lot.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><b><span lang="EN-GB" style="color:#0070c0">Eoin Kim</span></b><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">Systems Administrator</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="color:black">RCS Telecommunications
</span></b><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Level 1 – The Annexe</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">133 Mary Street</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Brisbane, QLD, 4000
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Office: 07 3228 0843</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="FR" style="font-size:10.0pt;color:black">Mobile: 0419 726 231</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="FR" style="font-size:12.0pt;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#1f497d"><img border="0" width="148" height="75" style="width:1.5416in;height:.7812in" id="m_4775080264235706929m_6788064526444317142Picture_x0020_1" src="cid:image001.jpg@01D37403.3388BEC0" alt="RCST logo drop shadow"></span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Shawn Iverson, CETL<u></u><u></u></p>
<div>
<p class="MsoNormal">Director of Technology<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Rush County Schools<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="tel:(765)%20932-3901" value="+17659323901" target="_blank">765-932-3901 x1171</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="border:solid windowtext 1.0pt;padding:0cm"><img border="0" width="96" height="96" style="width:1.0in;height:1.0in" id="m_4775080264235706929_x0000_i1026" src="cid:image002.jpg@01D37403.3388BEC0" alt="Image removed by sender."><img border="0" width="100" height="100" style="width:1.0416in;height:1.0416in" id="m_4775080264235706929_x0000_i1027" src="cid:image002.jpg@01D37403.3388BEC0" alt="Image removed by sender."></span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br><br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Shawn Iverson, CETL<div>Director of Technology</div><div>Rush County Schools</div><div>765-932-3901 x1171</div><div><a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ" width="96" height="96" style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ"><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>