MailScanner not starting error

Stephen Swaney steve at fsl.com
Thu Jun 16 20:51:39 IST 2011


On Jun 16, 2011, at 3:31 PM, Kaplan, Andrew H. wrote:

> Hi there --
> 
> I ran the commands listed in your e-mail, and for good measure I confirmed 
> that sendmail was not configured to start on system boot. After that, I did
> reboot the server.
> 
> After the server came up I checked for an instance of MailScanner running, 
> and there was none. When I ran the MailScanner script with the status option,
> MailScanner continued to appear as failed. 
> 
> As far as running sendmail processes are concerned, here is a listing of them:
> 
> root      2828     1  0 15:26 ?        00:00:00 sendmail: accepting connections
> 
> smmsp     2832     1  0 15:26 ?        00:00:00 sendmail: Queue runner at 00:15:00
> for /var/spool/clientmqueue
> root      2836     1  0 15:26 ?        00:00:00 sendmail: Queue runner at 00:15:00
> for /var/spool/mqueue
> 
> 
> 
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Chris Stone
> Sent: Thursday, June 16, 2011 3:11 PM
> To: MailScanner discussion
> Subject: Re: MailScanner not starting error
> 
> Andrew,
> 
> On Thu, Jun 16, 2011 at 12:21 PM, Kaplan, Andrew H.
> <AHKAPLAN at partners.org> wrote:
>> I ran the nslookup command on the server, and it was able to resolve the
>> phsmgout.partners.org hostname. After that I stopped MailScanner via the
>> /etc/init.d/MailScanner script, and followed up with the killall sendmail
>> command. When I ran the ps -ef command immediately thereafter, I observed
>> two defunct sendmail processes.
>> 
>> After I restarted MailScanner, the two defunct processes were still present
>> along with two 'regular' sendmail processes. The first of the two defunct
>> processes disappeared after ten minutes, while the second one as of this
>> e-mail continues to exist.
> 
> Try running:
> 
> service MailScanner stop
> service sendmail stop
> chkconfig MailScanner on
> chkconfig sendmail off
> killall -TERM sendmail
> service MailScanner start
> 
> The MailScanner init script starts sendmail for you, so you need to
> make sure the the 'normal' sendmail init script is disabled. The above
> commands should do that all for you and after the last, you should
> then see MailScanner (with sendmail) starting up successfully.
> 
> 
> Chris
> -- 
> 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! 
> 
> 
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in error
> but does not contain patient information, please contact the sender and properly
> dispose of the e-mail.
> 
> --
> 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!


Stop all the processes again:

	service MailScanner stop
	service sendmail stop
	 MailScanner on
	chkconfig sendmail off
	killall -TERM sendmail

Then try running in one login session window:

	sh -x /etc/init/MailScanner start 

and in second login session window:

	tail -f /var/log/maillog

and look for errors or problems. You should see something that will give you a clue to where things are going left.

Best regards,

Steve
-- 
Steve Swaney
steve at fsl.com
www.fsl.com
The most accurate and cost effective anti-spam solutions available



More information about the MailScanner mailing list