MailScanner not starting error
Kaplan, Andrew H.
AHKAPLAN at PARTNERS.ORG
Thu Jun 16 21:40:37 IST 2011
Hi there --
I ran the commands listed in the previous e-mail, with special attention
paid to the sh -x and tail commands. The output of the maillog file is
shown below:
Jun 16 16:34:19 hadron sendmail[6594]: alias database /etc/aliases rebuilt by
ahk
Jun 16 16:34:19 hadron sendmail[6594]: /etc/aliases: 104 aliases, longest 29
bytes, 1526 bytes total
Jun 16 16:34:19 hadron sendmail[6602]: starting daemon (8.13.8): SMTP
Jun 16 16:34:19 hadron sm-msp-queue[6606]: starting daemon (8.13.8):
queueing at 00:15:00
Jun 16 16:34:19 hadron sendmail[6610]: starting daemon (8.13.8):
queueing at 00:15:00
There is no apparent error being listed here.
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Stephen Swaney
Sent: Thursday, June 16, 2011 3:52 PM
To: MailScanner discussion
Subject: Re: MailScanner not starting error
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
--
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!
More information about the MailScanner
mailing list