Hi All, could you please help on below request. How to delete incident from adrci. While checking the incident in adrci, showing below details. It was an old incident. We have validated the below errors. Daily basis we get alert mail for below error. So we have plan to clean up. can you share how delete.
adrci> show incident
ADR Home = /u01/app/oracle/global/diag/rdbms/dba2mtc/DBA2MTC2:
****************************************************************
INCIDENT_ID PROBLEM_KEY CREATE_TIME
-------------------- ------------- ---------------------------------
7017035 ORA 603 2023-04-04 02:33:08.855000 +08:00
7017579 ORA 603 2023-04-04 14:58:15.828000 +08:00
2 rows fetched
Try this: To delete an incident from ADRCI (Automatic Diagnostic Repository Command Interpreter), you can follow these steps: 1. Open a command prompt or terminal and run the ADRCI utility by typing adrci. 2. Connect to the ADR home where the incident is located. In your case, the ADR Home path is /u01/app/oracle/global/diag/rdbms/dba2mtc/DBA2MTC2. To connect, use the following command:
adrci> set homepath /u01/app/oracle/global/diag/rdbms/dba2mtc/DBA2MTC2
3. List the incidents using the show incident command:
adrci> show incident
This command will display a list of incidents, along with their INCIDENT_ID, PROBLEM_KEY, and CREATE_TIME. 4. Identify the incident you want to delete based on the INCIDENT_ID or PROBLEM_KEY. In your example, you have two incidents with ID 7017035 and 7017579. 5. To delete an incident, use the delete incident command followed by the INCIDENT_ID. For example, to delete the incident with ID 7017035, run the following command:
adrci> delete incident 7017035
Repeat this command for each incident you want to delete.
6. After executing the delete command, ADRCI will prompt you to confirm the deletion. Type 'yes' to confirm and proceed with the deletion. Remember to exercise caution when using these commands, ensure you are deleting the correct incidents, and have validated the errors before proceeding with the deletion.