From owner-freebsd-questions Wed Apr 9 22:09:16 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA15593 for questions-outgoing; Wed, 9 Apr 1997 22:09:16 -0700 (PDT) Received: (from grog@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA15586 for freebsd-questions; Wed, 9 Apr 1997 22:09:15 -0700 (PDT) From: Greg Lehey Message-Id: <199704100509.WAA15586@freefall.freebsd.org> Subject: Re: Where is Sendmail PID? To: freebsd-questions Date: Wed, 9 Apr 1997 22:09:15 -0700 (PDT) In-Reply-To: from "Doug White" at Apr 9, 97 09:29:53 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Doug White writes: > > On Wed, 9 Apr 1997, Patrick S. Gardella wrote: > > > This may sound like a very silly question, but we can't find the sendmail > > pid! It's not in /var/run and the find command cant find it. > > > > Is this a new feature of 2.1.7? Sendmail is definitely working! > > I see it in /var/run/sendmail.pid... > > gdi,ttyp2,/var/run,39>cat sendmail.pid > 142 > /usr/sbin/sendmail -bd -q30m > gdi,ttyp2,/var/run,40>ps ax | grep sendmail > 142 ?? Is 0:00.28 sendmail: accepting connections on port 25 > (sendmail) > > (running 2.2.1) Maybe this is a misunderstanding. sendmail only writes a pid file when it's running as a daemon (option -bd). Run it any other way and it works, but it deosn't create a pid file. Greg