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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Piotr Gnyp
Sent: Friday, February 20, 2004 4:40 AM
To: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]:/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.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to