000037778 - "Permission denied" or "does not exist or is not a valid file" exporting/importing an RSA Identity Governance & Lifecycle database

Document created by RSA Customer Support Employee on Jul 28, 2019
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000037778
Applies ToRSA Product Set: Identity Governance & Lifecycle
RSA Version/Condition: 7.x
IssueWhen 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.




 
CauseThe 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>


 

Attachments

    Outcomes