Aria Operations for Logs /var/log/messages file sized to high and root partition is full
search cancel

Aria Operations for Logs /var/log/messages file sized to high and root partition is full

book

Article ID: 375186

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article provides steps to reduce the sizes of /var/log/messages

Symptoms:

  • You are unable to access Aria Operations for Logs user interface
  • You notice high capacity used on /dev/sda-x (where x is typically 4 or 5).
Note: Run this command to check disk space:
du -hc | sort -n
 

Environment

VMware Aria Operations for Logs 8.X

Resolution

  1. Create a snapshot without memory on each node that shows this problem
  2. SHH the node using root credentials
  3. Run this command truncate -s 0 /path/filename to  clear the content of the messages file,

example: truncate -s 0 /var/log/messages