From owner-freebsd-questions@FreeBSD.ORG Fri Feb 20 05:12:08 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90E0416A4CE for ; Fri, 20 Feb 2004 05:12:08 -0800 (PST) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C39243D1D for ; Fri, 20 Feb 2004 05:12:08 -0800 (PST) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.119]) by mta10.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040220131208.YORA12673.mta10.adelphia.net@barbish>; Fri, 20 Feb 2004 08:12:08 -0500 From: "JJB" To: "Piotr Gnyp" , Date: Fri, 20 Feb 2004 08:12:07 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: Rotation of ipmon log X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 13:12:08 -0000 Ipfs is the wrong prefix for the IPFILTER rc.conf statements. You also have to define the log in /etc/syslog.conf file -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Piotr Gnyp Sent: Friday, February 20, 2004 4:40 AM To: freebsd-questions@freebsd.org Subject: Rotation of ipmon log Hi, when i`m trying to rotate log file from ipmon i get these messages: newsyslog: can't notify daemon, pid 40948: No such process newsyslog: log /var/log/ipmon.log.0 not compressed because daemon(s) not notified My settings - rc.conf: ipmon_enable="YES" # Set to YES for ipmon; needs ipfilter, too! ipmon_program="/sbin/ipmon" # where the ipfilter monitor program lives ipmon_flags="-o S -D /var/log/ipmon.log" ipfs_enable="YES" ipfs_program="/sbin/ipfs" ipfs_flag="-Dsvn" newsyslog.conf: /var/log/ipmon.log 644 7 * @T00 J /var/run/ipmon.pid [10:39] [toread@discordia]:/home/toread>> ps -auwx | grep ipmon root 290 0,0 0,3 1888 1404 ?? Ss Sob13 1:59,34 /sbin/ipmon -o S -D /var/log/ipmon.log What I`m missing? Why newsyslog can`t rotate log? I`m using FreeBSD 5.2.1-RC2 #18. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"