From owner-freebsd-questions Thu Apr 10 19:36:17 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA21333 for questions-outgoing; Thu, 10 Apr 1997 19:36:17 -0700 (PDT) Received: from cedb.dpcsys.com (cedb.DPCSYS.com [209.25.4.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA21328 for ; Thu, 10 Apr 1997 19:36:14 -0700 (PDT) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id CAA24953; Fri, 11 Apr 1997 02:36:04 GMT Date: Thu, 10 Apr 1997 19:36:03 -0700 (PDT) From: Dan Busarow To: grog@lemis.de cc: "Patrick S. Gardella" , freebsd-questions@freefall.freebsd.org Subject: Re: Where is Sendmail PID? In-Reply-To: <199704110003.JAA00374@papillon.lemis.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 11 Apr 1997 grog@lemis.de wrote: > 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? No, I'm seeing this too. 2.2-RELEASE ns1:/usr/home/dan $ ps -ax|grep send 6954 ?? Is 0:00.13 sendmail: accepting connections on port 25 (sendmail) ns1:/usr/home/dan $ cd /var/run ns1:/var/run $ ls cron.pid dmesg.boot ld.so.hints msqld.pid syslog.pid dev.db inetd.pid log named.pid utmp ns1:/var/run $ cd /etc ns1:/etc $ ls sendmail.pid ls: sendmail.pid: No such file or directory ns1:/etc $ uname -a FreeBSD ns1.beach.net 2.2-RELEASE FreeBSD 2.2-RELEASE #0: Sun Mar 23 10:59:51 PST 1997 root@ns1.beach.net:/usr/src/sys/compile/BEACH-NS i386 ns1:/etc $ sendmail -d0.10 Version 8.8.5 Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETUNIX NEWDB QUEUE SCANF SMTP USERDB XDEBUG OS Defines: HASFCHMOD HASFLOCK HASGETDTABLESIZE HASGETUSERSHELL HASINITGROUPS HASLSTAT HASSETREUID HASSETRLIMIT HASSETSID HASSETVBUF HASSNPRINTF HASUNAME HASUNSETENV HASWAITPID IDENTPROTO IP_SRCROUTE USESETEUID Kernel symbols: don't use _PATH_UNIX Def Conf file: /etc/sendmail.cf Pid file: /var/run/sendmail.pid canonical name: ns1.beach.net a.k.a.: ns1 safefopen in daemon.c is returning NULL. safefile(/var/run/sendmail.pid, uid=0, gid=0, flags=c6, mode=200): sequence:aliases.files NULL: valid No such file or directory stabapply: trying 1/8bit [final dir /var/run uid 3 mode 40755] Permission denied stabapply: trying 1/binary Creating an empty /var/run/sendmail.pid gets it to work. I haven't tried to figure out why the directory permissions fail. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82