Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2004 10:40:03 +0100 (CET)
From:      Piotr Gnyp <toread@discordia.pl>
To:        freebsd-questions@freebsd.org
Subject:   Rotation of ipmon log
Message-ID:  <Pine.BSF.4.58.0402201037220.77718@discordia.pl>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.58.0402201037220.77718>