RSA Version/Condition: 7.x
When attempting to restore (import) an RSA Identity Governance & Lifecycle database using the RSA-supplied backup script /home/oracle/database/DBA/AVDB/scripts/AVDB_Import_AVUSER.sh, the import fails with the following error:
The directory '/home/oracle/AveksaExportImportDir' must be a valid directory.
This error occurs when /home/oracle/AveksaExportImportDir does not physically exist on the disk.
When a directory is created in the Oracle database, Oracle does not check for the existence of the physical directory on the file system.
The check for its existence is done at runtime, and in most cases the directory itself is created during installation.
1- Run the read-only database query to identify the configured directory path.
Log in to SQL*Plus as SYSDBA and run:
select * from dba_directories where directory_name like 'AVEKSA%';
2- Check whether the resulting DIRECTORY_PATH physically exists on the database host.
An Oracle database directory object is not proof that the operating system directory exists.
Check the Output
The query in step 1 typically returns an entry similar to:
DIRECTORY_NAME DIRECTORY_PATH
------------------------------ ----------------------------------------
AVEKSA_EXPORTIMPORT_DIRECTORY /home/oracle/AveksaExportImportDir
3- If the path does not exist on the file system, switch to the Oracle operating system user and execute:
Bash
cd /home/oracle
mkdir AveksaExportImportDir
(Ensure correct ownership and permissions for the Oracle user on the newly created directory).
4- Verify the Outcome
Resume the restore/import procedure and verify that the import completes without the valid-directory error.
Creating the folder alone is not proof of a completed database restore.
If directory creation fails, or if the import continues to fail with a different error, capture the exact error message and contact RSA Support for further review rather than repeating directory creation.
If the physical directory already exists, or if the observed path differs from the expected path, contact RSA Support to investigate alternative root causes.
Related Articles
How to delete software token from Windows Phone 79Number of Views "Permission denied" or "does not exist or is not a valid file" exporting/importing an RSA Identity Governance & Lifecycle … 94Number of Views ASR fails to generate with an 'ORA-31011: XML parsing failed ORA-06512: at "AVUSER.SYSTEM_REPORT", line 245' error in RSA … 224Number of Views How to Configure Database Backups to write to an NFS File Share instead of Local Directory '/home/oracle/AveksaExportImpor… 445Number of Views The WildFly server.log file is not updated on RSA Identity Governance & Lifecycle 7.1.0 and above 229Number of Views
Trending Articles
RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide User Application Portal The RSA Identity Governance & Lifecycle AD Collector and AD ADC authentication source fail to establish a TLS 1.2 SSL conn… RSA Authentication Manager 8.1 Quick Setup Fails with "Failed to Attach Replica Instance" How to Replace the Web Server Certificate for the RSA Identity Governance & Lifecycle Web Console