New Fresh Install Problems SuSE 9.1

Mike Kercher mike at CAMAROSS.NET
Fri Nov 5 00:33:34 GMT 2004


Nathan P. wrote:
> Ok here's the quick and dirty of what has happened.
>
> We had power surge.  I'm a retard and forgot I didn't have it plugged
> into the UPS.
>
> Well, killed my friggin' hard drive!
>
> Nehoot.
>
> Before all this I was running SuSE 9.0 x86_64 and running mail
> scanner perfectly with no probs.
>
> I put in 2 new SATA drives using RAID mirroring and installed SuSE 9.1
> x86_64 with 2.6 kernel.
>
> Installing this version: MailScanner-4.35.9-1
>
> Install goes fine until the very very end.  Read further and you'll
> see the logged install error.
>
>
> I'm getting notice emails that have this:
> Report: MailScanner: Could not analyze message
>
> But it always seems to be coming from Outlook Express or Outlook
> email programs that get the error.  It doesn't do this on every
> email.  I could be wrong on the Outlook thing.  But I've even tried
> messing with tnef.  Turning it off or using /usr/bin/tnef and
> /usr/bin/file instead of internal.  But still same thing.
>
> Looking through the logs it's giving this error:
> MailScanner[16056]: Cannot parse
> /var/spool/MailScanner/incoming/16056/iA4MbdOj016065.header and ,
> Can't locate object method "init" via package
> "MIME::Decoder::QuotedPrint" at
> /usr/lib/perl5/site_perl/5.8.3/MIME/Decoder.pm line 179.
>
>
> I've tried all sorts of things - anything and everything I could
> think of related to MIME tools and decoder and tnef and all sorts of
> junk.  I would uninstall all rpms then I tried installing the perl
> mods by hand through:
> perl -MCPAN -e shell
>
> But still when I run install.sh I get this error:
>
> Attempting to build and install perl-MIME-tools-5.415-1 Installing
> perl-MIME-tools-5.415-1.src.rpm
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9467
> + umask 022
> + cd /usr/src/packages/BUILD
> + cd /usr/src/packages/BUILD
> + rm -rf MIME-tools-5.415
> + /usr/bin/gzip -dc /usr/src/packages/SOURCES/MIME-tools-5.415.tar.gz
> + tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd MIME-tools-5.415
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chown -Rhf root .
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chgrp -Rhf root .
> + /bin/chmod -Rf a+rX,g-w,o-w .
> + echo 'Patch #0 (mime-tools-5.415-patch1.txt):'
> Patch #0 (mime-tools-5.415-patch1.txt):
> + patch -p1 -s
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9467
> + umask 022
> + cd /usr/src/packages/BUILD
> + /bin/rm -rf /var/tmp/perl-MIME-tools-root
> ++ dirname /var/tmp/perl-MIME-tools-root
> + /bin/mkdir -p /var/tmp
> + /bin/mkdir /var/tmp/perl-MIME-tools-root cd MIME-tools-5.415
> + CFLAGS=-O2 -g
> + perl Makefile.PL PREFIX=/var/tmp/perl-MIME-tools-root/usr
> Checking if your kit is complete...
> Looks good
> Warning: prerequisite MIME::Base64 3.03 not found. We have 2.12.
> Writing Makefile for MIME-tools
> + make
> cp lib/MIME/Body.pm blib/lib/MIME/Body.pm cp
> lib/MIME/Decoder/Gzip64.pm blib/lib/MIME/Decoder/Gzip64.pm cp
> lib/MIME/Field/ContDisp.pm blib/lib/MIME/Field/ContDisp.pm cp
> set-version.pl blib/lib/set-version.pl cp lib/MIME/Parser/Results.pm
> blib/lib/MIME/Parser/Results.pm cp lib/MIME/Field/ContType.pm
> blib/lib/MIME/Field/ContType.pm cp lib/MIME/Decoder/NBit.pm
> blib/lib/MIME/Decoder/NBit.pm cp lib/MIME/Entity.pm
> blib/lib/MIME/Entity.pm cp lib/MIME/Head.pm blib/lib/MIME/Head.pm cp
> lib/MIME/Parser/Filer.pm blib/lib/MIME/Parser/Filer.pm cp
> lib/MIME/Words.pm blib/lib/MIME/Words.pm cp
> lib/MIME/Field/ParamVal.pm blib/lib/MIME/Field/ParamVal.pm cp
> lib/MIME/Decoder/BinHex.pm blib/lib/MIME/Decoder/BinHex.pm cp
> lib/MIME/Tools.pm blib/lib/MIME/Tools.pm cp
> lib/MIME/Field/ConTraEnc.pm blib/lib/MIME/Field/ConTraEnc.pm cp
> lib/MIME/Decoder/Binary.pm blib/lib/MIME/Decoder/Binary.pm cp
> lib/MIME/Decoder.pm blib/lib/MIME/Decoder.pm cp
> lib/MIME/Decoder/UU.pm blib/lib/MIME/Decoder/UU.pm cp
> lib/MIME/Decoder/Base64.pm blib/lib/MIME/Decoder/Base64.pm cp
> lib/MIME/Decoder/QuotedPrint.pm blib/lib/MIME/Decoder/QuotedPrint.pm
> cp lib/MIME/WordDecoder.pm blib/lib/MIME/WordDecoder.pm cp
> lib/MIME/Parser/Reader.pm blib/lib/MIME/Parser/Reader.pm cp
> lib/MIME/Parser.pm blib/lib/MIME/Parser.pm Manifying
> blib/man3/MIME::Decoder::Gzip64.3pm
> Manifying blib/man3/MIME::Body.3pm
> Manifying blib/man3/MIME::Field::ContDisp.3pm
> Manifying blib/man3/MIME::Parser::Results.3pm
> Manifying blib/man3/MIME::Field::ContType.3pm
> Manifying blib/man3/MIME::Decoder::NBit.3pm Manifying
> blib/man3/MIME::Entity.3pm Manifying
> blib/man3/MIME::Parser::Filer.3pm Manifying blib/man3/MIME::Head.3pm
> Manifying blib/man3/MIME::Words.3pm Manifying
> blib/man3/MIME::Field::ParamVal.3pm
> Manifying blib/man3/MIME::Decoder::BinHex.3pm
> Manifying blib/man3/MIME::Tools.3pm
> Manifying blib/man3/MIME::Field::ConTraEnc.3pm
> Manifying blib/man3/MIME::Decoder::Binary.3pm
> Manifying blib/man3/MIME::Decoder.3pm
> Manifying blib/man3/MIME::Decoder::UU.3pm Manifying
> blib/man3/MIME::Decoder::QuotedPrint.3pm
> Manifying blib/man3/MIME::Decoder::Base64.3pm
> Manifying blib/man3/MIME::WordDecoder.3pm Manifying
> blib/man3/MIME::Parser.3pm Manifying
> blib/man3/MIME::Parser::Reader.3pm + make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Body...........ok
> t/Decoder........ok t/Entity.........Can't locate object method
> "init" via package "MIME::Decoder::QuotedPrint" at
> /usr/src/packages/BUILD/MIME-tools-5.415/blib/lib/MIME/Decoder.pm
> line 179.
> t/Entity.........dubious
>         Test returned status 9 (wstat 2304, 0x900) Scalar found where
> operator expected at (eval 155) line 1, near "'int' $__val"
>         (Missing operator before   $__val?)
> DIED. FAILED tests 16-29
>         Failed 14/29 tests, 51.72% okay
> t/Gauntlet.......ok
> t/Head...........ok
> t/Misc...........Too many arguments for MIME::QuotedPrint::encode_qp
> at
>
/usr/src/packages/BUILD/MIME-tools-5.415/blib/lib/MIME/Decoder/QuotedPrint.p
> m line 74, near "shift)"
> Compilation failed in require at t/Misc.t line 73.
> BEGIN failed--compilation aborted at t/Misc.t line 73.
> t/Misc...........dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> t/Parser.........Can't locate object method "init" via package
> "MIME::Decoder::QuotedPrint" at
> /usr/src/packages/BUILD/MIME-tools-5.415/blib/lib/MIME/Decoder.pm
> line 179.
> t/Parser.........dubious
>         Test returned status 25 (wstat 6400, 0x1900) DIED. FAILED
>         tests 8-12 Failed 5/12 tests, 58.33% okay
> t/Ref............FAILED tests 5, 9, 13, 15, 21, 37
>         Failed 6/50 tests, 88.00% okay
> t/WordDecoder....ok
> t/Words..........ok
> Failed Test Stat Wstat Total Fail  Failed  List of Failed
>
----------------------------------------------------------------------------
> ---
> t/Entity.t     9  2304    29   28  96.55%  16-29
> t/Misc.t     255 65280    ??   ??       %  ??
> t/Parser.t    25  6400    12   10  83.33%  8-12
> t/Ref.t                   50    6  12.00%  5 9 13 15 21 37
> Failed 4/10 test scripts, 60.00% okay. 25/217 subtests failed, 88.48%
> okay.
> make: *** [test_dynamic] Error 255
> error: Bad exit status from /var/tmp/rpm-tmp.9467 (%build)
>
>
>
> If you notice in that error you see:
>
> t/Entity.........Can't locate object method "init" via package
> "MIME::Decoder::QuotedPrint" at
> /usr/src/packages/BUILD/MIME-tools-5.415/blib/lib/MIME/Decoder.pm
> line 179.
>
> That's the same error in the mail log.
>
>
> And also I'm sure this has something to do with it too haha:
>
> Warning: prerequisite MIME::Base64 3.03 not found. We have 2.12.
>
>
> So I know I'm close.  I may have screwed this up installing all the
> perl mods by hand but I did that because I was already getting this
> error so I thought that would help.  I tried clean "name of mod" but
> I don't think that deletes them.
>
>
> If anyone can just help me figure this out I'd appreciate it
> greatly!!!
>
>
> PS: Haven't tried installing all perl mods by hand then doing
> ./install.sh nodeps or whatever.  That may not work neways.
>
> Thanks.

Can you rebuild the MIME::Base64 src.rpm and install it manually?

Mike

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).




More information about the MailScanner mailing list