/etc/rc.d/init.d/mailscanner: kill: (25184) - No such pidupon restarting mailscanner

Matt Doherty Matthew_doherty at DATAWATCH.COM
Tue Jun 25 21:26:25 IST 2002

Thanks much!
  -----Original Message-----
  From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
  Sent: Tuesday, June 25, 2002 5:01 PM
  Subject: Re: /etc/rc.d/init.d/mailscanner: kill: (25184) - No such pidupon
restarting mailscanner

  I have just changed the init.d script to not print those error messages.

  They are caused (I believe) by sendmail's child processes, which it finds
  when working out the pids but which have finished by the time it comes to
  try to kill them. On a heavily-loaded server this delay could be a couple
  of seconds, which is quite long enough for some of the children to

  As per your suggestion, I have added a short "sleep" in the restart code.

  Thanks for the ideas!

  At 20:07 25/06/2002, you wrote:
  > What file should I look at to see if the path to the pid file is
  > incorrect? the mailscanner script or config?
  >Has anyone had this problem after installing the rpm for RH7.2??
  >BTW... ,This mailscanner script is the new one Julian posted 4 or five
  >days ago for replacement of the one that came with 3.20.6.
  > [root at datawatch root]# /etc/rc.d/init.d/mailscanner restart
  >Shutting down MailScanner daemons:
  > MailScanner: [ OK ]
  > incoming sendmail: [ OK ]
  > outgoing sendmail: /etc/rc.d/init.d/mailscanner: kill:
  > (10575) - No such pid
  >/etc/rc.d/init.d/mailscanner: kill: (25184) - No such pid
  > [ OK ]
  >Starting MailScanner daemons:
  > incoming sendmail: [ OK ]
  > outgoing sendmail: [ OK ]
  > MailScanner: [ OK ]
  >[root at datawatch root]#
  >P.S. would it be a good idea to add a "sleep 3" in the script before
  >starting the daemon just after it was stopped?

  Julian Field Teaching Systems Manager
  jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
  Tel. 023 8059 2817 University of Southampton
  Southampton SO17 1BJ

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20020625/2f11f5ab/attachment.html

More information about the MailScanner mailing list