Error Starting MS in Debug mode

MailScanner Mailbox mailscan at PRIS.CA
Sun Nov 16 16:57:33 GMT 2003


Hello Julian

Right you are, I headed back a directory and it appears as though all the
patches took except for the first one, maybe it was already installed.

smtp:/temp# patch -p0 < mime-tools-patch.txt
  Looks like a new-style context diff.
  The next patch looks like a new-style context diff.
  I can't seem to find a patch in there anywhere.
smtp:/temp# patch -p0 < mime-tools-patch2.txt
  Looks like a unified context diff.
done
smtp:/temp# patch -p0 < mime-tools-patch3.txt
  Looks like a unified context diff.
done
smtp:/temp# patch -p0 < mime-tools-patch4.txt
  Looks like a unified context diff.
done

So I am not getting the ToolUtils error any more, I am getting a new
error:

/opt/MailScanner/bin/check_mailscanner
Starting MailScanner...
In Debugging mode, not forking...
unix dgram connect: Socket operation on non-socket at
/opt/MailScanner/lib/MailScanner/Log.pm line 132
no connection to syslog available at
/opt/MailScanner/lib/MailScanner/Log.pm line 132

sorry for all these problems.

Rick


On Sun, 16 Nov 2003, Julian Field wrote:

> At 16:00 16/11/2003, you wrote:
> >I am running it exactly as Julian had posted a while back
> >
> >tar xzf MIME-tools-5.411.tar.gz
> >cd MIME-tools-5.411  <====== This is wrong. Shouldn't do that.
> >patch -p0 < mime-tools-patch.txt
> >patch -p0 < mime-tools-patch2.txt
> >patch -p0 < mime-tools-patch3.txt
> >patch -p0 < mime-tools-patch4.txt
> >cd MIME-tools-5.411
> >perl Makefile.PL
> >make
> >make test
> >make install
> >
> >Rick
> >
> >On Sun, 16 Nov 2003, Michele Neylon :: Blacknight Solutions wrote:
> >
> > > Are you running that command in the directory where you are supposed to?
> > > Silly question possibly, but .. ...
> > >
> > > Mr. Michele Neylon
> > > Blacknight Internet Solutions Ltd
> > > http://www.blacknightsolutions.ie/
> > > http://www.search.ie/
> > > Tel. + 353 (0)59 9139897
> > >
> > > > -----Original Message-----
> > > > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> > > > Behalf Of MailScanner Mailbox
> > > > Sent: 16 November 2003 15:47
> > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > Subject: Re: Error Starting MS in Debog mode
> > > >
> > > >
> > > > Hello
> > > >
> > > > Well it looks like I had MIME::Tools 6.200_02 installed.
> > > > I removed it and downloaded 5.411a as well as the patches.
> > > >
> > > > Now when installing the patches "patch -p0 < mime-tools-patch.txt" I get
> > > > the prompt:
> > > >
> > > >   Looks like a new-style context diff.
> > > > File to patch:
> > > >
> > > > I have no idea which file should be patched.
> > > >
> > > > Sorry if this as been done to death
> > > >
> > > >
> > > > Rick
> > > >
> > > > On Sun, 16 Nov 2003, Julian Field wrote:
> > > >
> > > > > At 14:40 16/11/2003, you wrote:
> > > > > >Hello
> > > > > >
> > > > > >Yes Mime::Tools is installed.
> > > > > >
> > > > > >cpan> install MIME::Tools
> > > > > >MIME::Tools is up to date.
> > > > >
> > > > > In which case you have either
> > > > > (a) the wrong version
> > > > > or
> > > > > (b) a version without any of the necessary security patches.
> > > > Please install
> > > > > it as per the instructions on the MailScanner website, this
> > > > will apply some
> > > > > very important security patches.
> > > > >
> > > > > MailScanner itself certainly doesn't require MIME::ToolUtils, it's not
> > > > > installed on my systems at all.
> > > > >
> > > > > >Also it is in the same path as all the other required modules,
> > > > I even went
> > > > > >as far as to try and create a link between MIME::ToolUtils and
> > > > MIME::Tools
> > > > > >
> > > > > >Rick
> > > > > >
> > > > > >On Sun, 16 Nov 2003, Julian Field wrote:
> > > > > >
> > > > > > > At 22:47 15/11/2003, you wrote:
> > > > > > > >Hello
> > > > > > > >
> > > > > > > >I have perl 5.8.1
> > > > > > > >MS 4.24-5
> > > > > > > >SA 2.60
> > > > > > > >
> > > > > > > >AFAIK I have all required modules installed, MS appears to
> > start ok
> > > > > > > >however nothing is written to the log files and the mail
> > > > in the queue is
> > > > > > > >un-touched. It does show that MailScanner is running:
> > > > > > > >
> > > > > > > >root   665     1  0 14:23:27 ?        0:00 /usr/lib/sendmail -bd
> > > > > > > >-ODeliveryMode=queueonly -OQueueDirectory=/var/spool/mqueue.in
> > > > > > >
> > > > > > > As it says, that is sendmail and not MailScanner itself.
> > > > > > >
> > > > > > > >When I try running MS in de-bugging mode I get the following
> > error:
> > > > > > > >
> > > > > > > >./check_mailscanner.solaris
> > > > > > > >Starting MailScanner...
> > > > > > > >In Debugging mode, not forking...
> > > > > > > >Can't locate object method "config" via package
> > > > "MIME::ToolUtils" at
> > > > > > > >/opt/MailScanner/bin/MailScanner line 571.
> > > > > > > >
> > > > > > > >I do not have a ToolUtils package and could not seem to
> > > > find one via cpan.
> > > > > > > >Or am I getting sidetracked away form the original problem
> > > > by going after
> > > > > > > >the debugging problem?
> > > > > > >
> > > > > > > In which case you have not installed MIME-tools. Please
> > > > read and follow the
> > > > > > > installation instructions on the web site
> > > > > > > http://www.sng.ecs.soton.ac.uk/mailscanner/install/other.shtml
> > > > > > >
> > > > > > > --
> > > > > > > Julian Field
> > > > > > > www.MailScanner.info
> > > > > > > Professional Support Services at www.MailScanner.biz
> > > > > > > MailScanner thanks transtec Computers for their support
> > > > > > > PGP footprint: EE81 D763 3DB0 0BFD E1DC  7222 11F6 5947 1415 B654
> > > > > > >
> > > > >
> > > > > --
> > > > > Julian Field
> > > > > www.MailScanner.info
> > > > > Professional Support Services at www.MailScanner.biz
> > > > > MailScanner thanks transtec Computers for their support
> > > > > PGP footprint: EE81 D763 3DB0 0BFD E1DC  7222 11F6 5947 1415 B654
> > > > >
> > > >
> > > >
> > >
> > >
> > > #########################################################
> > > This message (and any attachment) is intended only for the
> > > recipient and may contain confidential and/or privileged
> > > material.  If you have received this in error, please contact the
> > > sender and delete this message immediately.  Disclosure, copying
> > > or other action taken in respect of this email or in
> > > reliance to it is prohibited.
> > >
>
> --
> Julian Field
> www.MailScanner.info
> Professional Support Services at www.MailScanner.biz
> MailScanner thanks transtec Computers for their support
> PGP footprint: EE81 D763 3DB0 0BFD E1DC  7222 11F6 5947 1415 B654
>



More information about the MailScanner mailing list