Backend tmp directory is full with .failed files
search cancel

Backend tmp directory is full with .failed files

book

Article ID: 333508

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

apg user cannot write into DBs, disk full at <BASEDIR_APG>/Backends/APG-Backend/*/tmp/ with .failed files.

Environment

Watch4Net/M&R 7.x

Resolution

  • Check Backend tmp directory for files with *.failed extension. These files contain the polled data that was collected while the database connection was unavailable.

<BASEDIR_APG>/Backends/APG-Backend/Default/tmp

  • Changed files with the .failed extension as follows 

 group-xxxxxxxx.failed change to extension to .atf
 property-xxxxxxx.failed change extension to .mysql
 variable-xxxxxxx.failed changed extension to .mysql

  • Now check if the files get processed and data is visible in Frontend reports.

Additional Information

If the .failed files are more in number then use below command to update the extension of all files at once:

for file in group*.failed; do mv -- "$file" "${file%.failed}.atf"; done
for file in variable*.failed; do mv -- "$file" "${file%.failed}.mysql"; done
for file in property*.failed; do mv -- "$file" "${file%.failed}.mysql"; done