From owner-freebsd-stable Mon Aug 20 23: 2:17 2001 Delivered-To: freebsd-stable@freebsd.org Received: from server1.wojo.com (server1.wojo.com [216.42.139.184]) by hub.freebsd.org (Postfix) with ESMTP id DA18837B407 for ; Mon, 20 Aug 2001 23:02:12 -0700 (PDT) (envelope-from robertw@wojo.com) Received: from moe.wojo.net (localhost [127.0.0.1]) by server1.wojo.com (Postfix) with ESMTP id E8EF8AFE5 for ; Tue, 21 Aug 2001 02:02:10 -0400 (EDT) Subject: Missing ipmon pid file on startup only MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Tue, 21 Aug 2001 02:01:50 -0400 Message-ID: <16DC0F334516F5478EC60CADEDB6A684CAE8@moe.wojo.net> X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 X-MS-Has-Attach: content-class: urn:content-classes:message X-MS-TNEF-Correlator: Thread-Topic: Missing ipmon pid file on startup only Thread-Index: AcEqBsTrrxTd+DokR/OM3wAGl984fg== From: "Robert S. Wojciechowski Jr." To: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm having a problem with ipmon on startup, here are the relevant /etc/rc.conf settings: ipfilter_enable=3D"YES" ipfilter_rules=3D"/etc/ipf.rules" ipfilter_flags=3D"" ipmon_enable=3D"YES" ipmon_flags=3D"-Dv -P /var/run/ipmon.pid /var/log/firewall" When I reboot the machine and check /var/run, there is no ipmon.pid = file. Killing ipmon and restarting with the flags in ipmon_flags then starts = it correctly with the pid file created. I noticed this problem when newsyslog was e-mailing me with the = following error: newsyslog: can't open /var/run/ipmon.pid pid file to restart a daemon: = No such file or directory newsyslog: log /var/log/firewall not compressed because daemon not = notified Any reason why the pid file doesn't get created when the system starts = up? Thank! - Robert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message