Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article Creating logfile archives with logrotate:


p0f files don't rotate
Posted by Anonymous (206.176.xx.xx) on Mon 25 Jul 2005 at 23:43
I could use some help:

I'm running p0f as root and it writes its output to /var/log/p0f.log. I have p0f.log in my logrotate.conf but when logrotate is run via cron, a new p0f file gets created but nothing gets written to it. It stays empty until I kill the process and re-run it from the command line. What I am doing wrong?

Here's the listing of my logrotate.conf file:

/var/log/p0f.log {
rotate 7
daily
delaycompress
missingok
create 0666 root root
}

I tried changing the create mask and the user and group but it doesn't seem to make a difference. Should I try cron as the owner?

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search