Logs filling root partition on Filr appliance

  • 7014626
  • 25-Feb-2014
  • 29-Oct-2014

Environment

Novell Filr 1.0.1
SUSE Linux Enterprise Server 11

Situation

root (/) partition being filled by logs
logs are not cleaned up
disk out of space due to logs

Resolution

Logs are not cleaned up automatically, and need to be removed manually.
Filr 1.1 moves /var to a seperate partition, and handles log rotation much better.

Filr 1.0.x Workaround
Create a script that will remove logs over 7 days old.
  1. cd /etc/cron.daily
  2. vi filr_logRotate.sh
  3. Press 'i' to enter insert mode, and type:
    find /var/opt/novell/tomcat-filr/logs/* -type f -mtime +7 -exec rm {} \;
  4. Press 'Esc' and type ":wq!" without the quotes to save and quit
  5. Type chmod +x filr_logRotate.sh

Status

Reported to Engineering