From owner-freebsd-questions Thu Apr 10 18:12:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA16601 for questions-outgoing; Thu, 10 Apr 1997 18:12:35 -0700 (PDT) Received: from papillon.lemis.de ([203.239.92.5]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA16568; Thu, 10 Apr 1997 18:12:09 -0700 (PDT) Received: (grog@localhost) by papillon.lemis.de (8.8.4/8.6.12) id JAA00374; Fri, 11 Apr 1997 09:03:27 +0900 (KST) From: grog@lemis.de Message-Id: <199704110003.JAA00374@papillon.lemis.de> Subject: Re: Where is Sendmail PID? In-Reply-To: from "Patrick S. Gardella" at "Apr 10, 97 12:54:07 pm" To: patrick@ChristianWord.org (Patrick S. Gardella) Date: Fri, 11 Apr 1997 09:03:26 +0900 (KST) Cc: grog@freefall.freebsd.org, freebsd-questions@freefall.freebsd.org Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Reply-to: grog@lemis.de (Greg Lehey) WWW-Home-Page: http://www.FreeBSD.org/~grog X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Patrick S. Gardella writes: > On Wed, 9 Apr 1997, Greg Lehey wrote: > >> 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. > > It is running as a daemon. Unless, the standard install runs it > differently...but the sysconfig file file has the -bd option in sendmail > flags. Could it be that you're running a different version of sendmail? The standard place is /etc/sendmail.pid. If it's not in either of these places, are you sure that sendmail is really running? Greg