Skip to main content
NetApp Knowledge Base

StorageGRID audit.log is not rotated and /var/local/audit/export/ is full

Views:
249
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

Applies to

StorageGRID 11.4

Issue

  • audit.log is not rotated
  • Use% of /var/local/audit/export/ is 100%

Command: df -h
Result:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdc        200G  200G   28K 100% /var/local/audit/export

  • manage-audit.log shows Unhandled error

 INFO -- clean: starting, with mode "clean" and PID <PID>
 INFO -- clean: attempting to lock audit management
 INFO -- clean: beginning audit log management session (mode clean, pid <PID>)
ERROR -- clean: Unhandled error. Unable to manage audit logs.
ERROR -- clean: Active log /var/local/audit/export/audit.log must be a file (Bycast::Logs::Directory::FileArgumentError)
ERROR -- clean:     /usr/local/sbin/manage_audit_logs.rb:159:in `initialize'
ERROR -- clean:     /usr/local/sbin/manage_audit_logs.rb:632:in `new'
ERROR -- clean:     /usr/local/sbin/manage_audit_logs.rb:632:in `initialize'
ERROR -- clean: Exiting...

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device