My Oracle Support Banner

DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL failed with "OS system dependent operation:FindNextFile failed with status: 0" (Doc ID 2399210.1)

Last updated on MARCH 13, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)

Symptoms

 

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner. 

 

DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL failed with "OS system dependent operation:FindNextFile failed with status: 0"

When executing DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL, ORA-27300 can be caused
and CLEAN_AUDIT_TRAIL is failed.

ex)
SQL> BEGIN DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL(dbms_audit_mgmt.AUDIT_TRAIL_XML,
TRUE); END;
2 /
BEGIN DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL(dbms_audit_mgmt.AUDIT_TRAIL_XML,
TRUE); END;
*
ERROR at line 1:
ORA-46260: Error during audit trail cleanup
ORA-27300: OS system dependent operation:FindNextFile failed with status: 0
ORA-27301: OS failure message: The operation completed successfully.
ORA-27302: failure occurred at: szaudgflst:6
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 3567
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 1193
ORA-06512: at line 1

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.