<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 5.50.4916.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=765060013-21062002><FONT face=Arial color=#0000ff size=2>looks
to me that status failed the first time then second it worked..Before the first
time around, maybe a SIGHUP to sendmail was forgotten or kill -9 sendmail before
running the new script .</FONT></SPAN></DIV>
<DIV><SPAN class=765060013-21062002><FONT face=Arial color=#0000ff size=2>Looks
to me the second time around was perfect.. then again im a newbie
:-)</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Dan Leavitt
[mailto:dll@SCITOOLS.COM]<BR><B>Sent:</B> Friday, June 21, 2002 9:15
AM<BR><B>To:</B> MAILSCANNER@JISCMAIL.AC.UK<BR><B>Subject:</B> Re: mailscanner
status command<BR><BR></FONT></DIV>This [sendmail] reference is apparently a
symptom of the problem that I <BR>reported yesterday when the 'status' command
twice indicated FAILED. Below <BR>are both the 'status' output and a 'ps ax'
output. <BR><BR>[root-dll@server1 ~]$ service mailscanner status <BR>Checking
MailScanner daemons: <BR>MailScanner: [ OK ] <BR>incoming sendmail: [ OK ]
<BR>outgoing sendmail: [FAILED] <BR>[root-dll@server1 ~]$ ps ax |grep -i mail
<BR>6472 ? S 0:00 sendmail: accepting connections <BR>6475 ? S 0:00 [sendmail]
<BR>15233 ? S 0:05 perl /usr/local/MailScanner/bin/mailscanner <BR>/usr/loca
<BR>16960 ? S 0:00 sendmail: ./g5HEGoW29244 softwaremodeling.com.: <BR>user
<BR><BR>Then, a stop, start, status and ps again. Note that it stopped the
<BR>processes ok so it's not dependant on the 'ps ax' output for that.
<BR><BR>[root-dll@server1 ~]$ service mailscanner stop <BR>Shutting down
MailScanner daemons: <BR>MailScanner: [ OK ] <BR>incoming sendmail: [ OK ]
<BR>outgoing sendmail: [ OK ] <BR>[root-dll@server1 ~]$ service mailscanner
start <BR>Starting MailScanner daemons: <BR>incoming sendmail: [ OK ]
<BR>outgoing sendmail: [ OK ] <BR>MailScanner: [ OK ] <BR>[root-dll@server1
~]$ service mailscanner status <BR>Checking MailScanner daemons:
<BR>MailScanner: [ OK ] <BR>incoming sendmail: [ OK ] <BR>outgoing sendmail: [
OK ] <BR>[root-dll@server1 ~]$ !ps <BR>ps ax | grep -i mail <BR>17325 ? S 0:00
sendmail: accepting connections <BR>17328 ? S 0:00 /usr/sbin/sendmail -q15m
<BR>17331 ? S 0:00 sendmail: ./g5HEGoW29244 alpha.armillaire.com.: <BR>user
<BR>17337 ? S 0:00 perl /usr/local/MailScanner/bin/mailscanner <BR>/usr/loca
<BR>[root-dll@server1 ~]$ <BR><BR>Dan <BR><BR><BR>----- Original Message -----
<BR>From: "Dave Horsfall" <dave@ESI.COM.AU> <BR>To:
<MAILSCANNER@JISCMAIL.AC.UK> <BR>Sent: Friday, June 21, 2002 7:50 AM
<BR>Subject: Re: mailscanner status command <BR><BR><BR>> On Fri, 21 Jun
2002, Nick Phillips wrote: <BR>> <BR>> > > 679 ? S 0:00 [sendmail]
<BR>> > <BR>> > In a situation where you've asked ps to show
arguments etc., it goes <BR>like <BR>> > that to indicate that it can't,
for whatever reason. That's what POSIX <BR>> > says it's supposed to do,
anyway... <BR>> <BR>> Mostly because it's been swapped out. <BR>>
<BR>> > Today is National Existential Ennui Awareness Day. <BR>>
<BR>> Who cares :-) <BR>> <BR>> -- <BR>> Dave Horsfall DTM VK2KFU
dave@esi.com.au Ph: +61 2 9906-3377 Fx: <BR>9906-3468 <BR>> (Unix Guru)
Pacific ESI, Unit 22, 8 Campbell St, Artarmon, NSW 2065, <BR>Australia
<BR>> <BR><BR></BLOCKQUOTE></BODY></HTML>