Restore database script does not load the data
3 years ago
Originally Published: 2009-05-27
Article Number
000047370
Applies To
RSA Key Manager Appliance
Issue
Restore database script does not load the data
Log file of restore_database.sh shows:

ORA-39000: bad dump file specification
ORA-31640: unable to open dump file "/opt/KMS/backup/data/database_dmp_20090522150001.dmp" for read
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Cause
The file provided as the first argument does not exists
The first argument provided to restore_database.sh was passed as a relative path instead of absolute path
Resolution
When running restore_database.sh, make sure that the first argument provided, which is the location of the database dump file, exists, and is provided as an absolute path.