I got ” ORA-39001: invalid argument value ” error in Oracle database.
ORA-39001: invalid argument value
Details of error are as follows.
ORA-39001: invalid argument value ORA-39000: bad dump file specification ORA-31640: unable to open dump file "<FILE PATH>EXPORT.dmp" for read ORA-27037: unable to obtain file status Linux-x86_64 Error: 2: No such file or directory Additional information: 3
The parameters used are: userid=system/<passwd> DIRECTORY=my_dir DUMPFILE=EXPORT.dmp LOGFILE=my_logdir:EXPORT.log
invalid argument value
This ORA-39001 error is related to the invalid argument value
DataPump export with parameters:
userid=username/<passwd>
DIRECTORY=my_dir
DUMPFILE=EXPORT.DMP
LOGFILE=EXPORT.log
content=metadata_only
VERSION=10.2.0
DIRECTORY=my_dir
DUMPFILE=EXPORT.DMP
LOGFILE=EXPORT.log
content=metadata_only
VERSION=10.2.0
was successful:
Master table “EXPORT”.”SYS_EXPORT_SCHEMA_01″ successfully loaded/unloaded
******************************************************************************
Dump file set for EXPORT.SYS_EXPORT_SCHEMA_01 is:
<FILE PATH>/EXPORT.DMP
Job “EXPORT”.”SYS_EXPORT_SCHEMA_01″ successfully completed at 20:41:12
******************************************************************************
Dump file set for EXPORT.SYS_EXPORT_SCHEMA_01 is:
<FILE PATH>/EXPORT.DMP
Job “EXPORT”.”SYS_EXPORT_SCHEMA_01″ successfully completed at 20:41:12
At first glance, this appears to be an exact match to the note 784566.1 How to Prevent ORA-39000 ORA-31640 ORA-27037 Errors When Performing Data Pump Export/Import
If you have already read that note, tried the solution and are still getting the errors, then the problem may be with the actual export.dmp file.
In this case, as you can see from the export par file and import par file the name of the export dump is not the same:
Export: DUMPFILE=EXPORT.DMP
Import: DUMPFILE=EXPORT.dmp
Once the import parameter was changed to DUMPFILE=EXPORT.DMP the import completes successfully.
Do you want to learn Oracle Database for Beginners, then read the following articles.
Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )