Skip to main content
NetApp Knowledge Base

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

Views:
476
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

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.