StorageGRID audit.log is not rotated and /var/local/audit/export/ is full
Applies to
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
showsUnhandled 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...