Skip to content

Month: May 2012

Logrotate Limitations Revisited

The more I use logrotate the less I like it. If you recall from my previous post on logrotate, I choose to leverage the copytruncate option. While this configuration seemed to work well when I tested it, I have now experienced some significant limitations that are not documented in the man page:

  1. After rotation, high volume logs files remained the same size and continued to grow
  2. Pre and post rotated high volume log files contained NUL characters
  3. Large sized log files lost messages during logrotate operation

So what caused the issues, what was the impact, and how can you rotate logs messages and not experience these issues?

Starting Vyatta router: configure failed!

Since I have experienced this issue several times before and I can never remember the commands needed to figure out what is wrong, I figured I would write a quick post. The issue is upon reboot of a Vyatta firewall you receive a ‘configure failed!’ error message. The exact error message depends on which features you have enabled on your device, but one example is:

Starting Vyatta router: migrate r1-system firewall configure failed!

So how do you check what changed / what is causing the issue?