MS busted! Please Help

Martin.Hepworth martinh at solidstatelogic.com
Tue Jul 22 10:36:54 IST 2008


I'd suggest something upgraded some perl modules behind mailscanner's back.

Normal way around this is, uninstall mailscanner and reinstall mailscanner to make sure proper perl mods are installed and not 'old' centos ones.

Could also be the bad DNS update that RH pushed out (over-writes resolv.conf with w new default one).

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> Of lists at openenterprise.ca
> Sent: 22 July 2008 10:12
> To: MailScanner discussion
> Subject: Re: MS busted! Please Help
>
> Yes I do run mailwatch and have tested the connection from
> the MS server to the mysql server (not on same machine). I
> took the same credntials right from MW's conf.php and tested
> the connection to mysql and it works fine...
>
> root at gateway:~# mysql -h 192.168.1.3 -u mailwatch -p Enter password:
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 9696
> Server version: 5.0.51a-community-log MySQL Community Edition (GPL)
>
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
> mysql>
>
>
> I also had many errors on the MW install/upgrade dealing with
> various perl modules like below.
>
>
> file /usr/share/man/man3/Test::Builder::Tester::Color.3pm.gz
> from install of perl-Test-Simple-0.70-1 conflicts with file
> from package
> perl-5.8.8-10.el5_2.3
>
>
> The full list of the ones returning errors when running the
> MW install script are
>
> perl-ExtUtils-MakeMaker
> perl-MIME-Base64
> perl-Scalar-List-Utils
> perl-Storable
> perl-Getopt-Long
> perl-Time-HiRes
> perl-Test-Harness
> perl-Test-Simple
> perl-Sys-Syslog
> perl-IO
> perl-Math-BigInt
> perl-Math-BigRat
> perl-bignum
>
>
> I tried to uninstall most and re-run the installer but for
> some reason "rpm -e" seemd to think that some were not installed?
>
> I dont know where to go from here?
>
>
>
>
> On Tue, 22 Jul 2008 10:01:03 +0100, Peter Farrow
> <peter at farrows.org> wrote:
> >
> >
> > lists at openenterprise.ca wrote:
> >> MailScanner --lint
> >>
> >> Trying to setlogsock(unix)
> >> Read 826 hostnames from the phishing whitelist Read 2928 hostnames
> >> from the phishing blacklist
> >> Config: calling custom init function SQLBlacklist Starting up SQL
> >> Blacklist Read 2 blacklist entries
> >> Config: calling custom init function MailWatchLogging Started SQL
> >> Logging child
> >> Config: calling custom init function SQLWhitelist Starting up SQL
> >> Whitelist
> >>
> >>
> >> And just hangs here.......until I ctl-c
> >>
> >>
> >> MailScanner --debug just hangs but in /var/log/maillog I
> see all the
> >> "normal" lines of MailScanner after hitting ctl-c and the
> last line
> >> is
> > also
> >> "Starting up SQL Whitelist"
> >>
> >>
> >> Jul 22 01:48:57 gateway MailScanner[10830]: Starting up
> SQL Blacklist
> >> Jul 22 01:48:57 gateway MailScanner[10830]: Read 2
> blacklist entries
> >> Jul 22 01:48:57 gateway MailScanner[10830]: Config: calling custom
> >> init function MailWatchLogging Jul 22 01:48:57 gateway
> >> MailScanner[10830]: Started SQL Logging child Jul 22
> 01:48:57 gateway
> >> MailScanner[10830]: Config: calling custom init function
> SQLWhitelist
> >> Jul 22 01:48:57 gateway MailScanner[10830]: Starting up
> SQL Whitelist
> >>
> >>
> >> Seems like something related to "SQL Whitelist" but I have not
> >> changed anything on the system?
> >>
> >>
> >>
> >>
> >> On Tue, 22 Jul 2008 09:18:54 +0100, Jason Ede
> >> <J.Ede at birchenallhowden.co.uk> wrote:
> >>
> >>> ________________________________________
> >>> From: mailscanner-bounces at lists.mailscanner.info
> >>> [mailscanner-bounces at lists.mailscanner.info] On Behalf Of
> >>> lists at openenterprise.ca [lists at openenterprise.ca]
> >>> Sent: 22 July 2008 09:09
> >>> To: mailscanner at lists.mailscanner.info
> >>> Subject: MS busted! Please Help
> >>>
> >>> I am not sure what happened but after a reboot of my CentOS 5.2
> >>> system, the bootup process stops at loading MailScanner
> and I need
> >>> to manually
> > reset.
> >>> I
> >>> disabled the service from autostarting and even when I run
> >>> "MailScanner -v"
> >>> from the shell it just hangs there!! I beleive I updated
> CentOS from
> > 5.1
> >>> or
> >>> something to 5.2 a few weeks back but I dont think I rebooted the
> > system.
> >>>
> >>> I also downloaded the latest MailScanner tarball and
> updated but it
> > still
> >>> wont start?
> >>>
> >>> Can anyone please suggest some options or things to try?
> >>>
> >>> I dont see anything in the /var/log/maillog either and
> when I ctl-c
> >>> the stalled shell where I tried to run "MailScanner -v".
> I then see
> >>> the
> > usual
> >>> "MailScanner" lines in /var/log/maillog (see below), but
> it does not
> > seem
> >>> to be working and no mail is getting through?
> >>>
> >>> Thanks
> >>>
> >>>
> >>> Jul 22 01:06:31 gateway MailScanner[2402]: MailScanner
> E-Mail Virus
> >>> Scanner version 4.70.7 starting...
> >>> Jul 22 01:06:31 gateway MailScanner[2402]: Read 826
> hostnames from
> >>> the phishing whitelist Jul 22 01:06:31 gateway MailScanner[2402]:
> >>> Read 2926 hostnames from the phishing blacklist Jul 22 01:06:31
> >>> gateway MailScanner[2402]: Config: calling custom init function
> >>> SQLBlacklist Jul 22 01:06:31 gateway MailScanner[2402]:
> Starting up
> >>> SQL Blacklist Jul 22 01:06:31 gateway MailScanner[2402]: Read 2
> >>> blacklist entries Jul 22 01:06:31 gateway
> MailScanner[2402]: Config:
> >>> calling custom init function MailWatchLogging Jul 22 01:06:31
> >>> gateway MailScanner[2402]: Started SQL Logging child Jul
> 22 01:06:31
> >>> gateway MailScanner[2402]: Config: calling custom init function
> >>> SQLWhitelist Jul 22 01:06:31 gateway MailScanner[2402]:
> Starting up
> >>> SQL Whitelist Jul 22 01:06:36 gateway MailScanner[2406]:
> MailScanner
> >>> E-Mail Virus Scanner version 4.70.7 starting...
> >>> Jul 22 01:06:36 gateway MailScanner[2406]: Read 826
> hostnames from
> >>> the phishing whitelist Jul 22 01:06:36 gateway MailScanner[2406]:
> >>> Read 2926 hostnames from the phishing blacklist Jul 22 01:06:36
> >>> gateway MailScanner[2406]: Config: calling custom init function
> >>> SQLBlacklist Jul 22 01:06:36 gateway MailScanner[2406]:
> Starting up
> >>> SQL Blacklist Jul 22 01:06:36 gateway MailScanner[2406]: Read 2
> >>> blacklist entries Jul 22 01:06:36 gateway
> MailScanner[2406]: Config:
> >>> calling custom init function MailWatchLogging Jul 22 01:06:36
> >>> gateway MailScanner[2406]: Started SQL Logging child Jul
> 22 01:06:36
> >>> gateway MailScanner[2406]: Config: calling custom init function
> >>> SQLWhitelist Jul 22 01:06:36 gateway MailScanner[2406]:
> Starting up
> >>> SQL Whitelist Jul 22 01:06:41 gateway MailScanner[2409]:
> MailScanner
> >>> E-Mail Virus Scanner version 4.70.7 starting...
> >>> Jul 22 01:06:41 gateway MailScanner[2409]: Read 826
> hostnames from
> >>> the phishing whitelist Jul 22 01:06:41 gateway MailScanner[2409]:
> >>> Read 2926 hostnames from the phishing blacklist Jul 22 01:06:41
> >>> gateway MailScanner[2409]: Config: calling custom init function
> >>> SQLBlacklist Jul 22 01:06:41 gateway MailScanner[2409]:
> Starting up
> >>> SQL Blacklist Jul 22 01:06:41 gateway MailScanner[2409]: Read 2
> >>> blacklist entries Jul 22 01:06:41 gateway
> MailScanner[2409]: Config:
> >>> calling custom init function MailWatchLogging Jul 22 01:06:41
> >>> gateway MailScanner[2409]: Started SQL Logging child Jul
> 22 01:06:41
> >>> gateway MailScanner[2409]: Config: calling custom init function
> >>> SQLWhitelist Jul 22 01:06:41 gateway MailScanner[2409]:
> Starting up
> >>> SQL Whitelist Jul 22 01:06:46 gateway MailScanner[2413]:
> MailScanner
> >>> E-Mail Virus Scanner version 4.70.7 starting...
> >>> Jul 22 01:06:46 gateway MailScanner[2413]: Read 826
> hostnames from
> >>> the phishing whitelist Jul 22 01:06:46 gateway MailScanner[2413]:
> >>> Read 2926 hostnames from the phishing blacklist Jul 22 01:06:46
> >>> gateway MailScanner[2413]: Config: calling custom init function
> >>> SQLBlacklist Jul 22 01:06:46 gateway MailScanner[2413]:
> Starting up
> >>> SQL Blacklist Jul 22 01:06:46 gateway MailScanner[2413]: Read 2
> >>> blacklist entries Jul 22 01:06:46 gateway
> MailScanner[2413]: Config:
> >>> calling custom init function MailWatchLogging Jul 22 01:06:46
> >>> gateway MailScanner[2413]: Started SQL Logging child Jul
> 22 01:06:46
> >>> gateway MailScanner[2413]: Config: calling custom init function
> >>> SQLWhitelist Jul 22 01:06:46 gateway MailScanner[2413]:
> Starting up
> >>> SQL Whitelist Jul 22 01:06:51 gateway MailScanner[2416]:
> MailScanner
> >>> E-Mail Virus Scanner version 4.70.7 starting...
> >>> Jul 22 01:06:51 gateway MailScanner[2416]: Read 826
> hostnames from
> >>> the phishing whitelist Jul 22 01:06:51 gateway MailScanner[2416]:
> >>> Read 2926 hostnames from the phishing blacklist Jul 22 01:06:51
> >>> gateway MailScanner[2416]: Config: calling custom init function
> >>> SQLBlacklist Jul 22 01:06:51 gateway MailScanner[2416]:
> Starting up
> >>> SQL Blacklist Jul 22 01:06:51 gateway MailScanner[2416]: Read 2
> >>> blacklist entries Jul 22 01:06:51 gateway
> MailScanner[2416]: Config:
> >>> calling custom init function MailWatchLogging Jul 22 01:06:51
> >>> gateway MailScanner[2416]: Started SQL Logging child Jul
> 22 01:06:51
> >>> gateway MailScanner[2416]: Config: calling custom init function
> >>> SQLWhitelist Jul 22 01:06:51 gateway MailScanner[2416]:
> Starting up
> >>> SQL Whitelist Jul 22 01:06:56 gateway MailScanner[2419]:
> MailScanner
> >>> E-Mail Virus Scanner version 4.70.7 starting...
> >>> Jul 22 01:06:56 gateway MailScanner[2419]: Read 826
> hostnames from
> >>> the phishing whitelist Jul 22 01:06:56 gateway MailScanner[2419]:
> >>> Read 2926 hostnames from the phishing blacklist Jul 22 01:06:56
> >>> gateway MailScanner[2419]: Config: calling custom init function
> >>> SQLBlacklist Jul 22 01:06:56 gateway MailScanner[2419]:
> Starting up
> >>> SQL Blacklist Jul 22 01:06:56 gateway MailScanner[2419]: Read 2
> >>> blacklist entries Jul 22 01:06:56 gateway
> MailScanner[2419]: Config:
> >>> calling custom init function MailWatchLogging Jul 22 01:06:56
> >>> gateway MailScanner[2419]: Started SQL Logging child Jul
> 22 01:06:56
> >>> gateway MailScanner[2419]: Config: calling custom init function
> >>> SQLWhitelist Jul 22 01:06:56 gateway MailScanner[2419]:
> Starting up
> >>> SQL Whitelist Jul 22 01:07:01 gateway MailScanner[2422]:
> MailScanner
> >>> E-Mail Virus Scanner version 4.70.7 starting...
> >>> Jul 22 01:07:01 gateway MailScanner[2422]: Read 826
> hostnames from
> >>> the phishing whitelist Jul 22 01:07:01 gateway
> >>> update.virus.scanners: Delaying cron job up to
> >>>
> >> 600
> >>
> >>> seconds
> >>> Jul 22 01:07:01 gateway MailScanner[2422]: Read 2928
> hostnames from
> >>> the phishing blacklist Jul 22 01:07:01 gateway MailScanner[2422]:
> >>> Config: calling custom init function SQLBlacklist Jul 22 01:07:01
> >>> gateway MailScanner[2422]: Starting up SQL Blacklist Jul
> 22 01:07:01
> >>> gateway MailScanner[2422]: Read 2 blacklist entries Jul
> 22 01:07:01
> >>> gateway MailScanner[2422]: Config: calling custom init function
> >>> MailWatchLogging Jul 22 01:07:01 gateway
> MailScanner[2422]: Started
> >>> SQL Logging child Jul 22 01:07:01 gateway
> MailScanner[2422]: Config:
> >>> calling custom init function SQLWhitelist Jul 22 01:07:01 gateway
> >>> MailScanner[2422]: Starting up SQL Whitelist Jul 22
> 01:07:06 gateway
> >>> MailScanner[2445]: MailScanner E-Mail Virus Scanner
> version 4.70.7
> >>> starting...
> >>> Jul 22 01:07:06 gateway MailScanner[2445]: Read 826
> hostnames from
> >>> the phishing whitelist Jul 22 01:07:06 gateway MailScanner[2445]:
> >>> Read 2928 hostnames from the phishing blacklist Jul 22 01:07:06
> >>> gateway MailScanner[2445]: Config: calling custom init function
> >>> SQLBlacklist Jul 22 01:07:06 gateway MailScanner[2445]:
> Starting up
> >>> SQL Blacklist Jul 22 01:07:06 gateway MailScanner[2445]: Read 2
> >>> blacklist entries Jul 22 01:07:06 gateway
> MailScanner[2445]: Config:
> >>> calling custom init function MailWatchLogging Jul 22 01:07:06
> >>> gateway MailScanner[2445]: Started SQL Logging child Jul
> 22 01:07:06
> >>> gateway MailScanner[2445]: Config: calling custom init function
> >>> SQLWhitelist Jul 22 01:07:06 gateway MailScanner[2445]:
> Starting up
> >>> SQL Whitelist Jul 22 01:07:11 gateway MailScanner[2448]:
> MailScanner
> >>> E-Mail Virus Scanner version 4.70.7 starting...
> >>> Jul 22 01:07:11 gateway MailScanner[2448]: Read 826
> hostnames from
> >>> the phishing whitelist Jul 22 01:07:11 gateway MailScanner[2448]:
> >>> Read 2928 hostnames from the phishing blacklist Jul 22 01:07:11
> >>> gateway MailScanner[2448]: Config: calling custom init function
> >>> SQLBlacklist Jul 22 01:07:11 gateway MailScanner[2448]:
> Starting up
> >>> SQL Blacklist Jul 22 01:07:11 gateway MailScanner[2448]: Read 2
> >>> blacklist entries Jul 22 01:07:11 gateway
> MailScanner[2448]: Config:
> >>> calling custom init function MailWatchLogging Jul 22 01:07:11
> >>> gateway MailScanner[2448]: Started SQL Logging child Jul
> 22 01:07:11
> >>> gateway MailScanner[2448]: Config: calling custom init function
> >>> SQLWhitelist Jul 22 01:07:11 gateway MailScanner[2448]:
> Starting up
> >>> SQL Whitelist Jul 22 01:07:16 gateway MailScanner[2451]:
> MailScanner
> >>> E-Mail Virus Scanner version 4.70.7 starting...
> >>> Jul 22 01:07:16 gateway MailScanner[2451]: Read 826
> hostnames from
> >>> the phishing whitelist Jul 22 01:07:16 gateway MailScanner[2451]:
> >>> Read 2928 hostnames from the phishing blacklist Jul 22 01:07:16
> >>> gateway MailScanner[2451]: Config: calling custom init function
> >>> SQLBlacklist Jul 22 01:07:16 gateway MailScanner[2451]:
> Starting up
> >>> SQL Blacklist Jul 22 01:07:16 gateway MailScanner[2451]: Read 2
> >>> blacklist entries Jul 22 01:07:16 gateway
> MailScanner[2451]: Config:
> >>> calling custom init function MailWatchLogging Jul 22 01:07:16
> >>> gateway MailScanner[2451]: Started SQL Logging child Jul
> 22 01:07:16
> >>> gateway MailScanner[2451]: Config: calling custom init function
> >>> SQLWhitelist Jul 22 01:07:16 gateway MailScanner[2451]:
> Starting up
> >>> SQL Whitelist
> >>>
> >>>
> >>> What happens when you run MailScanner --lint? or
> MailScanner --debug?
> >>>
> >>> Jason
> >>> --
> >>> MailScanner mailing list
> >>> mailscanner at lists.mailscanner.info
> >>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >>>
> >>> Before posting, read http://wiki.mailscanner.info/posting
> >>>
> >>> Support MailScanner development - buy the book off the website!
> >>>
> >>
> >>
> >
> > Are you using MailWatch?
> >
> > If use is your (My)sql server running and contactable?
> >
> > If is Mysql
> >
> > service mysql status
> >
> > Pete
> >
> >
> > --
> > This message has been scanned for viruses and dangerous
> content by the
> > Inexcom system Scanner, and is believed to be clean.
> > Advanced heuristic mail scanning server [-].
> > http://www.inexcom.co.uk
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>




**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.
Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.
Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 
Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom
**********************************************************************



More information about the MailScanner mailing list