From owner-freebsd-questions@FreeBSD.ORG Fri Feb 20 01:40:09 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 67FA516A4CE for ; Fri, 20 Feb 2004 01:40:09 -0800 (PST) Received: from discordia.pl (discordia.pl [212.160.154.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BC3443D1D for ; Fri, 20 Feb 2004 01:40:09 -0800 (PST) (envelope-from toread@discordia.pl) Received: from localhost (localhost.discordia.pl [127.0.0.1]) by discordia.pl (Postfix) with ESMTP id 2E18973812 for ; Fri, 20 Feb 2004 10:40:07 +0100 (CET) Received: from discordia.pl ([127.0.0.1]) by localhost (discordia.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 77072-05-3 for ; Fri, 20 Feb 2004 10:40:03 +0100 (CET) Received: by discordia.pl (Postfix, from userid 1001) id 79F307381A; Fri, 20 Feb 2004 10:40:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by discordia.pl (Postfix) with ESMTP id 6FE1973812 for ; Fri, 20 Feb 2004 10:40:03 +0100 (CET) Date: Fri, 20 Feb 2004 10:40:03 +0100 (CET) From: Piotr Gnyp To: freebsd-questions@freebsd.org Message-ID: Organization: The Golden Apple Corp MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new (DrWeb at discordia.pl) Subject: Rotation of ipmon log X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 09:40:09 -0000 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.