RSA Version/Condition: 7.1.x
11/14/2019 12:31:56.230 WARN (default task-47) [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] SQL Error: 22285, SQLState: 99999 11/14/2019 12:31:56.232 ERROR (default task-47) [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] ORA-22285: non-existent directory or file for FILEEXISTS operation ORA-06512: at "SYS.DBMS_LOB", line 786 ORA-06512: at "AVUSER.ARCHIVEPURGE_PKG", line 1451 ORA-06512: at line 1 ... Caused by: Error : 22285, Position : 0, Sql = BEGIN :1 := ArchivePurge_Pkg.DBServer_FileExists(:2 ); END;, OriginalSql = {? = call ArchivePurge_Pkg.DBServer_FileExists(?)}, Error Msg = ORA-22285: non-existent directory or file for FILEEXISTS operation ORA-06512: at "SYS.DBMS_LOB", line 786 ORA-06512: at "AVUSER.ARCHIVEPURGE_PKG", line 1451 ORA-06512: at line 1 at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:498) ... 92 more
During the Data Archiving process, the system uses the AVUSER connection to create a backup in the Export/Import directory. However in this scenario, the AVUSER does not have the correct privileges to access the Export/Import directory, hence it is throwing the ORA-22285: non-existent directory or file for FILEEXISTS operation error.
To solve this, run below SQL as AVUSER:
- Check if AVEKSA_EXPORTIMPORT_DIRECTORY directory name points to a correct path:
SELECT * FROM all_directories;
The output should be similar to the below displaying your directory_path. The example below shows the Export/Import directory mapped to /home/oracle/AveksaExportImportDir as created during the database setup.
If the above SQL returns 0 row(s), you must create the directory in the file system on the database server, map the directory variable to the physical directories, and grant AVUSER the Read-Write permissions to the Export/Import directory. Refer to the below sub-sections of "Create the Required Objects" in the RSA Identity Governance & Lifecycle Database Setup and Management Guide V7.1:
Create the Export/Import Database Directory
Map the Export/Import Directory
Configure the User Schema Privilege Grants
SELECT table_name, grantee, privilege, grantor FROM user_tab_privs WHERE type='DIRECTORY' AND table_name='AVEKSA_EXPORTIMPORT_DIRECTORY';
$ SQLPLUS / AS SYSDBA SQL> grant read, write on directory AVEKSA_EXPORTIMPORT_DIRECTORY to AVUSER;
After granting AVUSER the Read-Write permissions to the Export/Import directory, it should show:
Related Articles
Data Purging process (as part of Data Archiving) fails with ORA-01722 in RSA Identity Governance & Lifecycle 209Number of Views AFX Requests fails to process as the Usage Store Manager is full in RSA Governance & Lifecycle 190Number of Views What is the Return Merchandise Authorization (RMA) process for SID800 tokens? 139Number of Views RSA Authentication Manager 8.2 SP1 Vulnerabilities in the Linux kernel – False Positive 4Number of Views Startup fails with 'Job for aveksa_server.service failed because the control process exited with error code' when starting… 524Number of Views
Trending Articles
Troubleshooting RSA SecurID Access Identity Router to RSA Authentication Manager test connection failures RSA SecurID Software Token 5.0.2 Downloads for Microsoft Windows RSA Authentication Manager 8.9 Release Notes (January 2026) Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory RSA Authentication Manager 8.8 Setup and Configuration Guide