How to clear FMA faults log in SynetoOS 4

Written By Christian Castagna (Administrator)

Updated at December 24th, 2024

Table of Contents

→ Applies to: SynetoOS 4.x

 

Symptom

When you mark an old fault as "Mark as Repaired", the action is not performed.

 

Solution

Step 1. Connect to SynetoOS appliance via SSH as admin

ssh admin@<your_ip_address_or_hostname>

 

Step 2. Remove bash_profile

rm ~admin/.bash_profile

After running the command, you need to perform logout and login again.

 

Step 3. Become Super User

sudo su

 

Step 4. Disable the FMD service

svcadm disable -s svc:/system/fmd:default

 

Step 5. Navigate to the FMD directory

cd /var/fm/fmd

 

Step 6. List all files to be removed

find /var/fm/fmd -type f -exec ls {} \;

 

Step 7. Remove the identified files

find /var/fm/fmd -type f -exec rm {} \;

 

Step 8. Re-enable the FMD service

svcadm enable svc:/system/fmd:default