Error using parfile [message #592876] |
Mon, 12 August 2013 16:19  |
 |
suhasdba
Messages: 141 Registered: April 2013 Location: INDIA
|
Senior Member |
|
|
Hi,
When i try to run datapump export using parfile, i get following errors.
ORA-31694: master table "SYSTEM"."SYS_EXPORT_SCHEMA_02" failed to load/unload
ORA-31617: unable to open dump file "/u01/app/oracle/product/11.2.0/DB1/rdbms/log/schema_expdp04.dmp" for write
ORA-19505: failed to identify file "/u01/app/oracle/product/11.2.0/DB1/rdbms/log/schema_expdp04.dmp"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
ORA-19505: failed to identify file "/u01/app/oracle/product/11.2.0/DB1/rdbms/log/schema_expdp04.dmp"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
Job "SYSTEM"."SYS_EXPORT_SCHEMA_02" stopped due to fatal error at 20:12:20
FYI
The command that i used is expdp parfile=expdp.par
Here is the content of parfile.
userid=system/pwd
DIRECTORY=DATA_PUMP_DIR
DUMPFILE=schema_expdp%U.dmp
LOGFILE=schema_expdp.log
FILESIZE=4G
COMPRESSION=ALL
PARALLEL=4
CONTENT=ALL
SCHEMAS=schema
CONSISTENT=Y
Schema size is 20 MB
Parfile name is parfile=expdp.par is created under /home/oracle directory
I ran the parfile under /home/oracle directory.
Pls help me to fix this error.
Thanks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Error using parfile [message #593278 is a reply to message #593276] |
Thu, 15 August 2013 08:45   |
gazzag
Messages: 1119 Registered: November 2010 Location: Bedwas, UK
|
Senior Member |
|
|
Just telling us what you're doing isn't much use. You need to open a command window and repeat the process you are getting until you get the behaviour you have been experiencing. Then, COPY and PASTE the whole session (from start to finish) into one post.
|
|
|
Re: Error using parfile [message #593280 is a reply to message #593278] |
Thu, 15 August 2013 09:00   |
 |
suhasdba
Messages: 141 Registered: April 2013 Location: INDIA
|
Senior Member |
|
|
Michel/gazzag,
Here is the output.
[oracle@RAC02 ~]$ expdp parfile=expdp.par
Export: Release 11.2.0.3.0 - Production on Thu Aug 15 13:52:28 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Legacy Mode Active due to the following parameters:
Legacy Mode Parameter: "consistent=TRUE" Location: Parameter File, Replaced with: "flashback_time=TO_TIMESTAMP('2013-08-15 13:52:28', 'YYYY-MM-DD HH24:MI:SS')"
Legacy Mode has set reuse_dumpfiles=true parameter.
Starting "SYSTEM"."SYS_EXPORT_SCHEMA_06": system/******** parfile=expdp.par reuse_dumpfiles=true
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 11.43 MB
. . exported "BG"."WSI_REQUEST" 71.39 KB 1388 rows
. . exported "BG"."BULK_REGISTRATION_CONFIG" 5.742 KB 8 rows
. . exported "BG"."ENROLMENT_STATE" 5.226 KB 0 rows
Processing object type SCHEMA_EXPORT/USER
. . exported "BG"."GFC_REQUEST_DATA" 559.8 KB 82594 rows
. . exported "BG"."MBANKING_SMS_PROPERTIES" 5.304 KB 8 rows
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
. . exported "BG"."SEQUENCE" 4.804 KB 3 rows
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
Processing object type SCHEMA_EXPORT/PASSWORD_HISTORY
. . exported "BG"."USSDGW_MESSAGE" 6.601 KB 56 rows
. . exported "BG"."USSD_PROMPT" 941.3 KB 31668 rows
. . exported "BG"."USSDGW_MSGTEMPLATE" 5.523 KB 46 rows
. . exported "BG"."USSDGW_MSGTEMPLATEFIELD" 12.09 KB 734 rows
. . exported "BG"."USSDGW_PROP" 5.5 KB 21 rows
. . exported "BG"."USSD_MSGCONTENTMAPPING" 8.101 KB 260 rows
. . exported "BG"."USSD_SERVICE" 5.031 KB 3 rows
. . exported "BG"."WSI_INTERCEPTOR_PROPERTY" 5.382 KB 19 rows
. . exported "BG"."XMLSMS_PROPERTY" 5.992 KB 39 rows
. . exported "BG"."XMLSMS_TRANSLATION" 8.570 KB 56 rows
. . exported "BG"."XMLSMS_XPATH_EXPR" 7.117 KB 102 rows
. . exported "BG"."BULK_FILE_DETAIL" 0 KB 0 rows
. . exported "BG"."BULK_FILE_RECORDS" 0 KB 0 rows
. . exported "BG"."BULK_RECORD_DATA" 0 KB 0 rows
. . exported "BG"."USSDGW_PUSHMESSAGE" 0 KB 0 rows
. . exported "BG"."USSD_USERSESSION" 0 KB 0 rows
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
ORA-31694: master table "SYSTEM"."SYS_EXPORT_SCHEMA_06" failed to load/unload
ORA-31617: unable to open dump file "/u01/app/oracle/product/11.2.0/DB1/rdbms/log/schema_expdp04.dmp" for write
ORA-19505: failed to identify file "/u01/app/oracle/product/11.2.0/DB1/rdbms/log/schema_expdp04.dmp"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
ORA-19505: failed to identify file "/u01/app/oracle/product/11.2.0/DB1/rdbms/log/schema_expdp04.dmp"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
Job "SYSTEM"."SYS_EXPORT_SCHEMA_06" stopped due to fatal error at 13:53:18
[oracle@RAC02 ~]$
[oracle@sl73usircd02 ~]$ ps -eaf | grep pmon | grep $ORACLE_SID
oracle 5634 1 0 Jul28 ? 00:10:59 ora_pmon_DB2
|
|
|
|
|
|
Re: Error using parfile [message #593327 is a reply to message #593326] |
Thu, 15 August 2013 12:07   |
 |
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
expdp help=yes does NOT show CONSISTENT as be a valid option
what happens if you remove it from the control file.
[oracle@localhost ~]$ expdp help=yes
Export: Release 11.2.0.2.0 - Production on Thu Aug 15 10:05:38 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
The Data Pump export utility provides a mechanism for transferring data objects
between Oracle databases. The utility is invoked with the following command:
Example: expdp scott/tiger DIRECTORY=dmpdir DUMPFILE=scott.dmp
You can control how Export runs by entering the 'expdp' command followed
by various parameters. To specify parameters, you use keywords:
Format: expdp KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
Example: expdp scott/tiger DUMPFILE=scott.dmp DIRECTORY=dmpdir SCHEMAS=scott
or TABLES=(T1:P1,T1:P2), if T1 is partitioned table
USERID must be the first parameter on the command line.
------------------------------------------------------------------------------
The available keywords and their descriptions follow. Default values are listed within square brackets.
ATTACH
Attach to an existing job.
For example, ATTACH=job_name.
CLUSTER
Utilize cluster resources and distribute workers across the Oracle RAC.
Valid keyword values are: [Y] and N.
COMPRESSION
Reduce the size of a dump file.
Valid keyword values are: ALL, DATA_ONLY, [METADATA_ONLY] and NONE.
CONTENT
Specifies data to unload.
Valid keyword values are: [ALL], DATA_ONLY and METADATA_ONLY.
DATA_OPTIONS
Data layer option flags.
Valid keyword values are: XML_CLOBS.
DIRECTORY
Directory object to be used for dump and log files.
DUMPFILE
Specify list of destination dump file names [expdat.dmp].
For example, DUMPFILE=scott1.dmp, scott2.dmp, dmpdir:scott3.dmp.
ENCRYPTION
Encrypt part or all of a dump file.
Valid keyword values are: ALL, DATA_ONLY, ENCRYPTED_COLUMNS_ONLY, METADATA_ONLY and NONE.
ENCRYPTION_ALGORITHM
Specify how encryption should be done.
Valid keyword values are: [AES128], AES192 and AES256.
ENCRYPTION_MODE
Method of generating encryption key.
Valid keyword values are: DUAL, PASSWORD and [TRANSPARENT].
ENCRYPTION_PASSWORD
Password key for creating encrypted data within a dump file.
ESTIMATE
Calculate job estimates.
Valid keyword values are: [BLOCKS] and STATISTICS.
ESTIMATE_ONLY
Calculate job estimates without performing the export.
EXCLUDE
Exclude specific object types.
For example, EXCLUDE=SCHEMA:"='HR'".
FILESIZE
Specify the size of each dump file in units of bytes.
FLASHBACK_SCN
SCN used to reset session snapshot.
FLASHBACK_TIME
Time used to find the closest corresponding SCN value.
FULL
Export entire database [N].
HELP
Display Help messages [N].
INCLUDE
Include specific object types.
For example, INCLUDE=TABLE_DATA.
JOB_NAME
Name of export job to create.
LOGFILE
Specify log file name [export.log].
NETWORK_LINK
Name of remote database link to the source system.
NOLOGFILE
Do not write log file [N].
PARALLEL
Change the number of active workers for current job.
PARFILE
Specify parameter file name.
QUERY
Predicate clause used to export a subset of a table.
For example, QUERY=employees:"WHERE department_id > 10".
REMAP_DATA
Specify a data conversion function.
For example, REMAP_DATA=EMP.EMPNO:REMAPPKG.EMPNO.
REUSE_DUMPFILES
Overwrite destination dump file if it exists [N].
SAMPLE
Percentage of data to be exported.
SCHEMAS
List of schemas to export [login schema].
SERVICE_NAME
Name of an active Service and associated resource group to constrain Oracle RAC resources.
SOURCE_EDITION
Edition to be used for extracting metadata.
STATUS
Frequency (secs) job status is to be monitored where
the default [0] will show new status when available.
TABLES
Identifies a list of tables to export.
For example, TABLES=HR.EMPLOYEES,SH.SALES:SALES_1995.
TABLESPACES
Identifies a list of tablespaces to export.
TRANSPORTABLE
Specify whether transportable method can be used.
Valid keyword values are: ALWAYS and [NEVER].
TRANSPORT_FULL_CHECK
Verify storage segments of all tables [N].
TRANSPORT_TABLESPACES
List of tablespaces from which metadata will be unloaded.
VERSION
Version of objects to export.
Valid keyword values are: [COMPATIBLE], LATEST or any valid database version.
------------------------------------------------------------------------------
The following commands are valid while in interactive mode.
Note: abbreviations are allowed.
ADD_FILE
Add dumpfile to dumpfile set.
CONTINUE_CLIENT
Return to logging mode. Job will be restarted if idle.
EXIT_CLIENT
Quit client session and leave job running.
FILESIZE
Default filesize (bytes) for subsequent ADD_FILE commands.
HELP
Summarize interactive commands.
KILL_JOB
Detach and delete job.
PARALLEL
Change the number of active workers for current job.
REUSE_DUMPFILES
Overwrite destination dump file if it exists [N].
START_JOB
Start or resume current job.
Valid keyword values are: SKIP_CURRENT.
STATUS
Frequency (secs) job status is to be monitored where
the default [0] will show new status when available.
STOP_JOB
Orderly shutdown of job execution and exits the client.
Valid keyword values are: IMMEDIATE.
[oracle@localhost ~]$
|
|
|
|
|
|
|