Search the VMware Knowledge Base (KB)
View by Article ID

Audit.log file grows and does not rotate automatically (2149278)

  • 0 Ratings

Symptoms

  • 100% capacity used for /dev/sda3.
  • Size of audit.log is too large and /var/log/audit folder consumes majority of the space.
  • Saved logs from log rotate policy reference a date that is not in line with the policy.
  • Unable to connect to the vCenter Server as services are not started.
  • Running /etc/cron.daily/logrotate manually rotates logs as expected.

Purpose

This article provides steps to reduce the audit.log size.

Resolution

To resolve this issue:

  1. Change the root password of the appliance.
  2. Run this command to empty the audit.log.
    Note: This reduces the size to 0 but the log content is lost.
truncate audit.log --size 0

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 0 Ratings
Actions
KB: