"Permission denied" or "does not exist or is not a valid file" exporting/importing an RSA Identity Governance & Lifecycle database
2 years ago
Originally Published: 2019-07-28
Article Number
000040989
Applies To
RSA Product Set: Identity Governance & Lifecycle
RSA Version/Condition: 7.x
Issue
When attempting to backup (export) an RSA Identity Governance & Lifecycle database using the RSA-supplied backup script home/oracle/database/DBA/AVDB/scripts/AVDB_Export_AVUSER.sh, the export fails with the following error:
 
Error: /home/oracle/AveksaExportImportDir/Export_AVDB_avuser_History-<date of import>.log (Permission denied)


or, 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:
 
Error: The input File 'Export_ADB_avuser_<optional added information>.dmp' does not exist or is not a valid file.



 
Cause
The export and/or import can fail with the Permission denied error when the file permissions on the backup directory are incorrect. The import can fail with the input File .... does not exist or is not a valid file error if the file permissions on the backup file are incorrect.


 
Resolution
  1. Check that the file permissions and ownership on the backup directory allow the Oracle user access to the backup directory. As the root user, execute the following linux commands:
# ls -l AveksaExportImportDir
# chmod 755 AveksaExportImportDir
# chown oracle:oinstall AveksaExportImportDir
 
  1. If this is an import, also check the file permissions and ownership on the backup file:
# ls -l <backup dump file>
# chmod 755 <backup dump file>
# chown oracle:oinstall <backup dump file>