ESXi hosts may become unresponsive or display limited functionality with the following symptoms:
This issue has multiple related causes, all stemming from audit logging configuration:
When any of these conditions occur:
In the error logs, there may be messages similar to:
vmsyslog.loggers.audit: ERROR] Files are missing from the audit record storage directory
Or in vCenter logs:
Failed to complete filtering of stickybit files
To resolve this issue, follow these steps:
Access the ESXi host through any available method:
Disable and then re-enable the local audit record storage:
esxcli system auditrecords local disable
esxcli system auditrecords local enable
Check if the vmsyslogd service is running:
/etc/init.d/vmsyslogd status
If vmsyslogd is not running, start it:
/etc/init.d/vmsyslogd start
If host is still not responding, perform a complete power drain:
After the host is back online, properly configure audit logging with the following steps: a. Ensure no audit logging directory exists yet at the target location (verify the folder doesn't exist) b. Configure the audit record storage location:
esxcli system auditrecords local set --directory /vmfs/volumes/datastore_name/audit/hostname
Note: Do not manually create this directory - let the system create it c. Enable audit logging:
esxcli system auditrecords local enable
d. Verify vmsyslogd is running:
/etc/init.d/vmsyslogd status
e. Check that logging is functioning correctly
For STIG hardening compliance, ensure that audit logs are stored on persistent storage, but follow the steps above carefully to avoid this issue.
To prevent this issue from occurring:
For more information on related topics, see: