Export error ORA-08186
Hello gurus,
Please help me with below export.
Here is the para file of export.
Cat expdp.par
tables=USER1.TMP_01,USER1.TMP_02,USER1.TEMP_03
directory=DATAPUMP
dumpfile=expdp_%u.dmp
logfile=expdp.log
JOB_NAME=expdp_job
FILESIZE=4G
VERSION=LATEST
FLASHBACK_SCN=61281521
select current_scn from v$database;
61292504Here is my export log
expdp "'/ as sysdba'" parfile=expdp_dsatrn.par
Export: Release 11.2.0.2.0 - Production on Thu Apr 18 12:17:11 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Starting "SYS"." EXPDP_JOB": "/******** AS SYSDBA" parfile=expdp.par
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 384 KB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
ORA-31693: Table data object "USER1"."TMP_01" failed to load/unload and is being skipped due to error:
ORA-02354: error in exporting/importing data
ORA-08186: invalid timestamp specified
ORA-06512: at "SYS.TIMESTAMP_TO_SCN", line 1
ORA-31693: Table data object "USER1"."TMP_02" failed to load/unload and is being skipped due to error:
ORA-02354: error in exporting/importing data
ORA-08186: invalid timestamp specified
ORA-06512: at "SYS.TIMESTAMP_TO_SCN", line 1
. . exported "USER1"."TEM_03" 6.648 KB 0 rows
Master table "SYS"." EXPDP_JOB" successfully loaded/unloaded
Dump file set for SYS. EXPDP_JOB is:
/db1/rdbm7/expdp_01.dmp
Job "SYS"." EXPDP_JOB" completed with 2 error(s) at 12:17:41According to below suggestion, I increased my undo from 2 Gig to 8Gig, still no result.
Expdp fails with errors when using flashback_scnI tried blow also got error as followed
flashback_time=\"TO_TIMESTAMP \(TO_CHAR \(SYSDATE, \'YYYY-MM-DD HH24:MI:SS\'\), \'YYYY-MM-DD HH24:MI:SS\'\)\"
LRM-00112: multiple values not allowed for parameter 'flashback_time'
LRM-00113: error when processing file 'expdp_dsatrn.par'
and
FLASHBACK_TIME=TO_TIMESTAMP(TO_CHAR(SYSDATE,'YYYY-MM-DD HH24:MI:SS'),'YYYY-MM-DD HH24:MI:SS')
LRM-00116: syntax error at ')' following 'YYYY-MM-DD HH24:'
LRM-00113: error when processing file 'expdp.par'Edited by: user3636719 on Apr 18, 2013 10:15 AM
Edited by: user3636719 on Apr 18, 2013 12:36 PM
I tried blow also got error as followed
flashback_time=\"TO_TIMESTAMP \(TO_CHAR \(SYSDATE, \'YYYY-MM-DD HH24:MI:SS\'\), \'YYYY-MM-DD HH24:MI:SS\'\)\"
LRM-00112: multiple values not allowed for parameter 'flashback_time'
LRM-00113: error when processing file 'expdp_dsatrn.par'
and
FLASHBACK_TIME=TO_TIMESTAMP(TO_CHAR(SYSDATE,'YYYY-MM-DD HH24:MI:SS'),'YYYY-MM-DD HH24:MI:SS')
LRM-00116: syntax error at ')' following 'YYYY-MM-DD HH24:'
LRM-00113: error when processing file 'expdp.par'
No need to complicate it.
FLASHBACK_TIME=SYSTIMESTAMP
Try this way.
Similar Messages
-
Import Export Error (ORA-06502)
All,
We are trying to migrate the code from windows 2000 HTMLDB 1.5.0.00.33 to solaris 9 HTMLDB 1.5.0.00.33 by using the export/import function. After migration, one report went wrong with the following message.
report error:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
The tables definition are identical and there's no data in the production table. When we try to reduce the query length from 3000 to 2500 characters, the error message disappears on production.
Is there any HTMLDB global variable controls the maximum length of the report "region source"?
Any response would be appreciate.
Thanks,
Tony
===========================================
PS: Here's our query:
select
x.supreq_id,
DECODE(x.pk, null, 'Add new record:', ''||'<img src="#IMAGE_PREFIX#edit.gif" border="0" alt="Edit Icon">') edit,
x.pk,
x.request,
x.subject,
x.severity,
x.priority,
x.status,
x.request_type,
x.response,
x.username,
x.created_date,
x.note,
x.cks
from (
select
htmldb_item.hidden(1,supreq_id) supreq_id,
supreq_id edit,
supreq_id pk,
htmldb_item.text(3, request,'','','onFocus="javascript:window.status=this.value" onBlur="javascript:window.status=''Done''"') request,
htmldb_item.select_list_from_lov(4,subject,'REQUEST_SUBJECT','','NO') subject,
htmldb_item.select_list(5, severity, '3,2,1', 'style="width:40px"','NO') severity,
htmldb_item.select_list_from_lov(6,priority,'REQUEST_PRIORITY','','NO') priority,
htmldb_item.select_list_from_lov(7,status,'REQUEST_STATUS','','NO') status,
htmldb_item.select_list_from_lov(8, request_type, 'SUPPORT_REQUEST_TYPE','', 'NO') request_type,
htmldb_item.text(9, response,'','','onFocus=javascript:window.status=this.value;') response,
htmldb_item.select_list_from_lov(10, username, 'USER_EMPLOYEE', 'style="width:100px"','NO') username,
htmldb_item.date_popup(11, rownum,created_date, 'mm/dd/yyyy', 8) created_date,
htmldb_item.text(12, note,'','','onFocus=javascript:window.status=this.value;') note,
htmldb_item.md5_checksum(request, subject, severity, priority, status, request_type, response, username, created_date,note) cks
from
art_sup_requests
where
(:P319_PRIORITY IS NULL OR :P319_PRIORITY ='%' OR
INSTR(UPPER(ART_SUP_REQUESTS.PRIORITY),UPPER(:P319_PRIORITY)) > 0)
AND
(:P319_SEVERITY IS NULL OR :P319_SEVERITY ='%' OR
INSTR(UPPER(ART_SUP_REQUESTS.SEVERITY),UPPER(:P319_SEVERITY)) > 0)
AND
(:P319_SUBJECT IS NULL OR :P319_SUBJECT ='%' OR
INSTR(UPPER(ART_SUP_REQUESTS.SUBJECT),UPPER(:P319_SUBJECT)) > 0)
AND (:P319_CREATED_DATE IS NULL OR
TRUNC(ART_SUP_REQUESTS.CREATED_DATE)=TO_DATE(:P319_CREATED_DATE,'MM/DD/YYYY'))
AND (:P319_REQUEST_TYPE IS NULL OR :P319_REQUEST_TYPE ='%' OR
INSTR(UPPER(ART_SUP_REQUESTS.REQUEST_TYPE),UPPER(:P319_REQUEST_TYPE)) > 0)
AND (:P319_REQUEST IS NULL OR
INSTR(UPPER(ART_SUP_REQUESTS.REQUEST),UPPER(:P319_REQUEST)) > 0)
AND (:P319_USERNAME IS NULL OR :P319_USERNAME ='%' OR
INSTR(UPPER(ART_SUP_REQUESTS.USERNAME),UPPER(:P319_USERNAME)) > 0)
AND (:P319_ID IS NULL OR ART_SUP_REQUESTS.SUPREQ_ID = :P319_ID)
union all
select
htmldb_item.hidden(1,null) supreq_id,
null edit,
null pk,
htmldb_item.text(3, null) request,
htmldb_item.select_list_from_lov(4,null,'REQUEST_SUBJECT','','NO') subject,
htmldb_item.select_list(5, null, '3,2,1', 'style="width:40px"','NO') severity,
htmldb_item.select_list_from_lov(6,null,'REQUEST_PRIORITY','','NO') priority,
htmldb_item.select_list_from_lov(7,null,'REQUEST_STATUS','','NO') status,
htmldb_item.select_list_from_lov(8, null, 'SUPPORT_REQUEST_TYPE','', 'NO') request_type,
htmldb_item.text(9, null) response,
htmldb_item.select_list_from_lov(10, null,
'USER_EMPLOYEE','style="width:100px"','NO') username,
htmldb_item.date_popup(11, null, sysdate,'mm/dd/yyyy', 8) created_date,
htmldb_item.text(12, null) note,
htmldb_item.md5_checksum(null,null, null, null, null, null, null, null, null, null) cks
from dual) xScott,
Thanks for the response. We've applied HTMLDB version 1.5.1.00.12 on both develop and production servers yesterday but the ORA-06502 error still persist. We've also tried to use package and "pl/sql return sql" instead of a long sql query but received the same result.
The solaris instance is using "Western European ISO-8859-1" as the file character set and the windows is using "Western European Windows 1252". Is there any easy way to change the DAD character set on the production box?
Thanks,
Tony -
Portal Import/Export errors ORA-01653
When doing a security export after a few attempts we are getting the following error
ORA-01653: unable to extend table PORTAL30.WWUTL_SEC_TX_PERSON$ by 2362205 in tablespace PORTAL
Details below
We referred the note related to ORA-01653 on metalink Note:151994.1 and tried the approaches mentioned but nothing seems to fix it.
Is there an isssue with the way the Portal scripts clean up the transport tables.
We are using pORTAL V 3.0.9.8.1 WITH 8.1.7 release of database
Connected to:
Oracle8i Enterprise Edition Release 8.1.7.1.0 - Production
With the Partitioning option
JServer Release 8.1.7.1.0 - Production
Extracting Security Data to transport tables...
Activity Log:
Clearing any existing security data from transport tables
Truncating table WWUTL_SEC_TX_GROUP$
Truncating table WWUTL_SEC_TX_MEMBER$
Truncating table WWUTL_SEC_TX_SYS_PRIV$
Truncating table WWUTL_SEC_TX_PERSON$
Truncating table WWUTL_SEC_TRANSPORT_TABLE$
Begin extracting security data of Portal
Extracting Security Data...
Global Privilege export flag set to: on... (ON = export global privilege, OFF =
do not export global privilege)
...Extracting Users...
WWUTL_API_SecurityTransport.ExtractPerson: ORA-01653: unable to exte
nd table PORTAL30.WWUTL_SEC_TX_PERSON$ by 2362205 in tablespace PORTAL
Disconnected from Oracle8i Enterprise Edition Release 8.1.7.1.0 - Production
With the Partitioning option
JServer Release 8.1.7.1.0 - Production
Export of Security Data CompleteThis seems to be purely a database related issue. You need to extend the tablespace PORTAL to solve the problem. Please contact your DBA for this.
-
Portal security import/export errors ORA-01653
When doing a security export after a few attempts we are getting the following error
ORA-01653: unable to extend table PORTAL30.WWUTL_SEC_TX_PERSON$ by 2362205 in tablespace PORTAL
Details below
We referred the note related to ORA-01653 on metalink Note:151994.1 and tried the approaches mentioned but nothing seems to fix it.
Is there an isssue with the way the Portal scripts clean up the transport tables.
We are using pORTAL V 3.0.9.8.1 WITH 8.1.7 release of database
Connected to:
Oracle8i Enterprise Edition Release 8.1.7.1.0 - Production
With the Partitioning option
JServer Release 8.1.7.1.0 - Production
Extracting Security Data to transport tables...
Activity Log:
Clearing any existing security data from transport tables
Truncating table WWUTL_SEC_TX_GROUP$
Truncating table WWUTL_SEC_TX_MEMBER$
Truncating table WWUTL_SEC_TX_SYS_PRIV$
Truncating table WWUTL_SEC_TX_PERSON$
Truncating table WWUTL_SEC_TRANSPORT_TABLE$
Begin extracting security data of Portal
Extracting Security Data...
Global Privilege export flag set to: on... (ON = export global privilege, OFF =
do not export global privilege)
...Extracting Users...
WWUTL_API_SecurityTransport.ExtractPerson: ORA-01653: unable to exte
nd table PORTAL30.WWUTL_SEC_TX_PERSON$ by 2362205 in tablespace PORTAL
Disconnected from Oracle8i Enterprise Edition Release 8.1.7.1.0 - Production
With the Partitioning option
JServer Release 8.1.7.1.0 - Production
Export of Security Data CompleteSudip,
Ravi is the authority in this area. I understand he is already working with you on this issue.
Thanks,
PE -
Full export error (ORA-01031) (Oracle 8.1.7)
Hello all,
Please provide any hint/help on the following.
My environment is: Windows 2000 Professional, Oracle 8i rel. 3 (8.1.7) Enterprise Ed.
I use "Administrator" account which is part of ORA_DBA group.
Please note that Security properties of the folder "F:\oracle\oradata\oraavl", where the database files are located, is set for Administrator user, System group, ORA_DBA group to have full control.
I'm trying to do a full export using these commands:
F:\>set ORACLE_SID=oraavl
F:\>set BACKUP_DIR=F:\oracle\backup
F:\>exp 'sys/avlman as sysdba' full=yes file=%BACKUP_DIR%\%ORACLE_SID%.dmp
The error I get is:
. . exporting table VEHICLES 1 rows exported
. . exporting table VEHICLE_CREWS 0 rows exported
. exporting referential integrity constraints
. exporting synonyms
. exporting views
. exporting stored procedures
EXP-00084: Unexpected DbmsJava error -1031 at step 6661
EXP-00008: ORACLE error 1031 encountered
ORA-01031: insufficient privileges
EXP-00000: Export terminated unsuccessfully
Thanks in advance.
--NikosRun the export as the SYS user instead of connecting with the "as sysdba" in your connect string. This is a bug and related directly to the Java. It would take too long to explain the details and I'm not sure if it even matters to you because I'm sure all you want is to export your data and move on.
EC -
I'm on a redhat linux oracle 9.2.0.1.0
I try to export a shema
the ora-00942 appears
ora-00942 tables or views does not exist
exp-00-24 export views not installed...
I run de catexp7.sql and catexp.sql but the message
appears again .
could you help me ?I'm a new Oracle user so take heed but ...
I think you didn't need to run catexp7.sql since it appears to be specifically for creating v7 style views against v8 RDBMS or vice versa. You stated you are using 9.2.0.1.
Did you run it when connected as SYS or Internal? -
Error ORA-02375 while trying to export/import JTF.JTF_PF_REPOSITORY table
We have already created an SR, In the mean time, trying to see whether anyone else has come across this issue. Thanks.
On : 11.2.0.3 version, Data Pump Import
Error ORA-02375 while trying to import JTF.JTF_PF_REPOSITORY table
We are getting the below error while performing the full db
import.
ORA-02375: conversion error loading table
"JTF"."JTF_PF_REPOSITORY" partition "EBIZ"
ORA-22337: the type of accessed
object has been evolved
ORA-02372: data for row: SYS_NC00040$ :
0X'8801FE000004AD0313FFFF0009198401190A434F4E4E454354'
This issue is
stopping our upgrade of database from 10.2.0.4 to 11.2.0.3. This is very
critical for us to be resolved.Hi,
seems this is Character set issue fo source and Target DB check this doc:Unable to Export Table WF_ITEM_ATTRIBUTE_VALUES due to errors ORA-02374, ORA-22337, and ORA-02372 (Doc ID 1522761.1)
HTH -
Error ORA-39125 and ORA-04063 during export for transportable tablespace
I'm using the Oracle Enterprise Manager (browser is IE) to create a tablespace transport file. Maintenance...Transport Tablespaces uses the wizard to walk me through each step. The job gets created and submitted.
The 'Prepare' and 'Convert Datafile(s)' job steps complete successfully. The Export step fails with the following error. Can anyone shed some light on this for me?
Thank you in advance!
=======================================================
Output Log
Export: Release 10.2.0.2.0 - Production on Sunday, 03 September, 2006 19:31:34
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Username:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Starting "SYS"."GENERATETTS000024": SYS/******** AS SYSDBA dumpfile=EXPDAT_GENERATETTS000024.DMP directory=EM_TTS_DIR_OBJECT transport_tablespaces=SIEBEL job_name=GENERATETTS000024 logfile=EXPDAT.LOG
Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
Processing object type TRANSPORTABLE_EXPORT/TABLE
Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA while calling DBMS_METADATA.FETCH_XML_CLOB [TABLE_STATISTICS]
ORA-04063: view "SYS.KU$_IOTABLE_VIEW" has errors
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.KUPW$WORKER", line 6241
----- PL/SQL Call Stack -----
object line object
handle number name
2CF48130 14916 package body SYS.KUPW$WORKER
2CF48130 6300 package body SYS.KUPW$WORKER
2CF48130 2340 package body SYS.KUPW$WORKER
2CF48130 6861 package body SYS.KUPW$WORKER
2CF48130 1262 package body SYS.KUPW$WORKER
2CF0850C 2 anonymous block
Job "SYS"."GENERATETTS000024" stopped due to fatal error at 19:31:44More information:
Using SQL Developer, I checked the view SYS.KU$_IOTABLE_VIEW referred to in the error message, and it does indeed report a problem with that view. The following code is the definition of that view. I have no idea what it's supposed to be doing, because it was part of the default installation. I certainly didn't write it. I did, however, execute the 'Test Syntax' button (on the Edit View screen), and the result was this error message:
=======================================================
The SQL syntax is valid, however the query is invalid or uses functionality that is not supported.
Unknown error(s) parsing SQL: oracle.javatools.parser.plsql.syntax.ParserException: Unexpected token
=======================================================
The SQL for the view looks like this:
REM SYS KU$_IOTABLE_VIEW
CREATE OR REPLACE FORCE VIEW "SYS"."KU$_IOTABLE_VIEW" OF "SYS"."KU$_IOTABLE_T"
WITH OBJECT IDENTIFIER (obj_num) AS
select '2','3',
t.obj#,
value(o),
-- if this is a secondary table, get base obj and ancestor obj
decode(bitand(o.flags, 16), 16,
(select value(oo) from ku$_schemaobj_view oo, secobj$ s
where o.obj_num=s.secobj#
and oo.obj_num=s.obj#),
null),
decode(bitand(o.flags, 16), 16,
(select value(oo) from ku$_schemaobj_view oo, ind$ i, secobj$ s
where o.obj_num=s.secobj#
and i.obj#=s.obj#
and oo.obj_num=i.bo#),
null),
(select value(s) from ku$_storage_view s
where i.file# = s.file_num
and i.block# = s.block_num
and i.ts# = s.ts_num),
ts.name, ts.blocksize,
i.dataobj#, t.bobj#, t.tab#, t.cols,
t.clucols, i.pctfree$, i.initrans, i.maxtrans,
mod(i.pctthres$,256), i.spare2, t.flags,
t.audit$, t.rowcnt, t.blkcnt, t.empcnt, t.avgspc, t.chncnt, t.avgrln,
t.avgspc_flb, t.flbcnt, t.analyzetime, t.samplesize, t.degree,
t.instances, t.intcols, t.kernelcols, t.property, 'N', t.trigflag,
t.spare1, t.spare2, t.spare3, t.spare4, t.spare5, t.spare6,
decode(bitand(t.trigflag, 65536), 65536,
(select e.encalg from sys.enc$ e where e.obj#=t.obj#),
null),
decode(bitand(t.trigflag, 65536), 65536,
(select e.intalg from sys.enc$ e where e.obj#=t.obj#),
null),
(select c.name from col$ c
where c.obj# = t.obj#
and c.col# = i.trunccnt and i.trunccnt != 0
and bitand(c.property,1)=0),
cast( multiset(select * from ku$_column_view c
where c.obj_num = t.obj#
order by c.col_num, c.intcol_num
) as ku$_column_list_t
(select value(nt) from ku$_nt_parent_view nt
where nt.obj_num = t.obj#),
cast( multiset(select * from ku$_constraint0_view con
where con.obj_num = t.obj#
and con.contype not in (7,11)
) as ku$_constraint0_list_t
cast( multiset(select * from ku$_constraint1_view con
where con.obj_num = t.obj#
) as ku$_constraint1_list_t
cast( multiset(select * from ku$_constraint2_view con
where con.obj_num = t.obj#
) as ku$_constraint2_list_t
cast( multiset(select * from ku$_pkref_constraint_view con
where con.obj_num = t.obj#
) as ku$_pkref_constraint_list_t
(select value(ov) from ku$_ov_table_view ov
where ov.bobj_num = t.obj#
and bitand(t.property, 128) = 128), -- IOT has overflow
(select value(etv) from ku$_exttab_view etv
where etv.obj_num = o.obj_num)
from ku$_schemaobj_view o, tab$ t, ind$ i, ts$ ts
where t.obj# = o.obj_num
and t.pctused$ = i.obj# -- For IOTs, pctused has index obj#
and bitand(t.property, 32+64+512) = 64 -- IOT but not overflow
-- or partitioned (32)
and i.ts# = ts.ts#
AND (SYS_CONTEXT('USERENV','CURRENT_USERID') IN (o.owner_num, 0) OR
EXISTS ( SELECT * FROM session_roles
WHERE role='SELECT_CATALOG_ROLE' ));
GRANT SELECT ON "SYS"."KU$_IOTABLE_VIEW" TO PUBLIC; -
EXPORT MEET ORA-O3113 ERROR!
In my database there are two scheama t1 ,t2.
When I use the command 'export' to export the
data in 'USER' mode,one of the scheama t1 meet the oracle error ORA-3113,but the other t2 is ok!
the error occured when t1's tables are exported and would be exported its synonyms!
I will be appricated if anyone can help me!
nullhi
This error is caused usually when a connection has broken for some reason.
Is it reproduceable error or did u get it only once.
Pelase check the trace files .
thanks
devi -
Export meet ora-3113 error!
In my database there are two scheama t1 ,t2.
When I use the command 'export' to export the
data in 'USER' mode,one of the scheama t1 meet the oracle error ORA-3113,but the other t2 is ok!
the error occured when t1's tables are exported and would be exported its synonyms!
I will be appricated if anyone can help me!
nullORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle support
-
Export/Import error : ORA-31609: error loading file "kualter.xsl"
Hi ,
I was exporting the database , I got the following error after that I found that dbms_metadata_util.load_stylesheets needs to run . Please assit me how to procced further .
C:\Users\379164>expdp import1/import1 directory=dmp_dir dumpfile=dump.dmp full=
Export: Release 10.2.0.1.0 - Production on Friday, 15 October, 2010 14:50:45
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
ORA-39006: internal error
ORA-39213: Metadata processing is not available
====================================================================
SQL> execute dbms_metadata_util.load_stylesheets
BEGIN dbms_metadata_util.load_stylesheets; END;
ERROR at line 1:
ORA-31609: error loading file "kualter.xsl" from file system directory
"C:\oraclexe\app\oracle\product\10.2.0\server\rdbms\xml\xsl"
ORA-06512: at "SYS.DBMS_METADATA_UTIL", line 1793
ORA-06512: at line 1
Please help me on this ....
ThanksRefer following MOS note (even though the error number is different in header)
Ora-39213 Using Data Pump Export (Doc ID 402242.1) -
Hi
We are having 11.2.0.2 database on Linux 5. From last two days the export backup is getting failed with the below error.
. exporting post-schema procedural objects and actions
EXP-00008: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_i
. exporting statistics
Export terminated successfully with warnings.
When I checked the status of this package DBMS_CUBE_EXP its showing invalid. I tried to compile the body of the package. But it was throwing below error.
SQL> show errors
Errors for PACKAGE BODY DBMS_CUBE_EXP:
LINE/COL ERROR
53/5 PL/SQL: SQL Statement ignored
54/10 PL/SQL: ORA-04045: errors during recompilation/revalidation of
SYS.DBA_XDS_INSTANCE_SETS
ORA-01422: exact fetch returns more than requested number of rows
I tried to query this view or describe the above view. But it was throwing the same error.
ERROR at line 1:
ORA-04045: errors during recompilation/revalidation of
SYS.DBA_XDS_INSTANCE_SETS
ORA-01422: exact fetch returns more than requested number of rows
I couldnt get a proper solution from google regarding this view or to compile the above package.
Now we are stcuked without the backups. It would be great if you guys look into it.
Thanks
SHIYAS MYes I tried with take the export with SYS user. This time it thrown the error in the first and last too same as before.
About to export specified users ...
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 4063 encountered
ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_info_exp
. exporting foreign function library names for user U_20102
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user U_20102
About to export U_20102's objects ...
I ran below scripts as per u provided the link
@$ORACLE_HOME/rdbms/admin/catdpb.sql and utlrp.sql
Still it didnt get compiled.
One more thing I tried running expdp. It totally got failed by throwing the similar error. It didnt even export the tables too.
===============================================================================
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
ORA-31642: the following SQL statement fails:
BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_METADATA", line 1245
ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPW$WORKER", line 8353
----- PL/SQL Call Stack -----
object line object
handle number name
0x1a3257060 19208 package body SYS.KUPW$WORKER
0x1a3257060 8385 package body SYS.KUPW$WORKER
0x1a3257060 12748 package body SYS.KUPW$WORKER
0x1a3257060 2546 package body SYS.KUPW$WORKER
0x1a3257060 9054 package body SYS.KUPW$WORKER
0x1a3257060 1688 package body SYS.KUPW$WORKER
0x1a8bc1630 2 anonymous block
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []
ORA-31642: the following SQL statement fails:
BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_METADATA", line 1245
ORA-04063: package body "SYS.DBMS_CUBE_EXP" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_CUBE_EXP"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.KUPW$WORKER", line 8353
----- PL/SQL Call Stack -----
object line object
handle number name
0x1a3257060 19208 package body SYS.KUPW$WORKER
0x1a3257060 8385 package body SYS.KUPW$WORKER
0x1a3257060 12748 package body SYS.KUPW$WORKER
0x1a3257060 2546 package body SYS.KUPW$WORKER
0x1a3257060 9054 package body SYS.KUPW$WORKER
0x1a3257060 1688 package body SYS.KUPW$WORKER
0x1a8bc1630 2 anonymous block
Job "SYS"."SYS_EXPORT_SCHEMA_01" stopped due to fatal error at 17:58:34
========================================================================= -
Error ORA-00980: synonym translation is no longer valid when i issue
i accidentally drop one of my table. To bring it back i used Imp tool. But it gives an error ORA-00980: synonym translation is no longer valid when i issue
Select * from ship_sched_fact_notice_det
Action taken using Imp
Username: erpdada
Password:
Connected to: Oracle Database 10g Release 10.1.0.2.0 - Production
Import file: EXPDAT.DMP > e:\erpdada_august13.dmp
Enter insert buffer size (minimum is 8192) 30720> 30720
Export file created by EXPORT:V10.01.00 via conventional path
Warning: the objects were exported by SYSTEM, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
List contents of import file only (yes/no): no > y
Import entire export file (yes/no): no > n
Username: erpdada
Enter table(T) or partition(T:P) names. Null list means all tables for user
Enter table(T) or partition(T:P) name or . if done: ship_sched_fact_notice_det
Enter table(T) or partition(T:P) name or . if done: .
"CREATE PUBLIC SYNONYM "XMLTYPE" FOR "SYS"."XMLTYPE""
"CREATE TABLE "SHIP_SCHED_FACT_NOTICE_DET" ("SSFND_ITEM_NOT_DET_ID" NUMBER, "
""SSFN_FACTORY_ID" VARCHAR2(40) NOT NULL ENABLE, "SSFN_FAC_NOTICE_ID" NUMBER"
" NOT NULL ENABLE, "SSD_SHIP_ITEM_ID" NUMBER NOT NULL ENABLE, "OI_ITEM_ID" N"
"UMBER NOT NULL ENABLE, "ORDER_TYPE" VARCHAR2(1), "SSFND_ITEM_CODE" VARCHAR2"
"(300), "SSFND_QTY" NUMBER, "SSFND_CTN" NUMBER, "SSFND_TOT_CBM" NUMBER, "SSF"
"ND_REM1" VARCHAR2(256), "SSFND_REM2" VARCHAR2(256), "SSFND_UNIT_ID" VARCHAR"
"2(40), "SSFND_IS_EXCL_SUMMARY" VARCHAR2(1)) PCTFREE 10 PCTUSED 40 INITRANS"
" 1 MAXTRANS 255 STORAGE(INITIAL 81920 FREELISTS 1 FREELIST GROUPS 1 BUFFER_"
"POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING NOCOMPRESS"
. . skipping table "SHIP_SCHED_FACT_NOTICE_DET"
"GRANT DELETE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
"GRANT INSERT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
"GRANT SELECT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
"GRANT UPDATE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
"CREATE UNIQUE INDEX "PK_SHIP_SCHED_FACT_NOTICE_DET" ON "SHIP_SCHED_FACT_NOT"
"ICE_DET" ("SSFND_ITEM_NOT_DET_ID" ) PCTFREE 10 INITRANS 2 MAXTRANS 255 STO"
"RAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLE"
"SPACE "ORDER_DATA01" LOGGING"
"ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "PK_SHIP_SCHED_FAC"
"T_NOTICE_DET" PRIMARY KEY ("SSFND_ITEM_NOT_DET_ID") USING INDEX PCTFREE 10 "
"INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1"
" BUFFER_POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING ENABLE "
"ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
"TICE_DE_FK1" FOREIGN KEY ("SSD_SHIP_ITEM_ID") REFERENCES "SHIPPING_SCHEDULE"
"_DETAILS" ("SSD_SHIP_ITEM_ID") ENABLE NOVALIDATE"
"ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
"TICE_DE_FK2" FOREIGN KEY ("SSFN_FAC_NOTICE_ID") REFERENCES "SHIP_SCHED_FACT"
"ORY_NOTICE" ("SSFN_FAC_NOTICE_ID") ENABLE NOVALIDATE"
"ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
"_NOTICE_DE_FK1""
"ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
"_NOTICE_DE_FK2""
Import terminated successfully with warnings.
I drop the old synonym and re-create it but still it gives the same error...Since you are on 10g did you try flashback table feature - http://tonguc.wordpress.com/2007/01/01/oracle-10g-flashback-versions-query-drop-table-and-recyclebin-management/
FLASHBACK TABLE <tabname> TO BEFORE DROP;
If you didnt use purge option, the dropped object is on your recyclebin - http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9018.htm#sthref9593
Best regards. -
Export errors after patch Database9i 9.2.0.1 to 9.2.0.5
Dear OTN,
I have problems with exports after appliying the patch 9.2.0.5 to 9.2.0.1. The database was created new under the new release.
Solaris 8
For example:
$ exp seguridad/seguridad@silim owner=seguridad file=prueba2.dmp
Export: Release 9.2.0.5.0 - Production on Wed Aug 11 14:17:16 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.5.0 - Production
Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user SEGURIDAD
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user SEGURIDAD
About to export SEGURIDAD's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
EXP-00056: ORACLE error 31600 encountered
ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 3926
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4050
ORA-06512: at "SYS.DBMS_METADATA", line 836
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
If I execute a full the error terminate with:
. exporting system procedural objects and actions
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 3113 encountered
ORA-03113: end-of-file on communication channel
EXP-00008: ORACLE error 1041 encountered
ORA-01041: internal error. hostdef extension doesn't exist
EXP-00000: Export terminated unsuccessfully
But if I execute table by table the export work fine!!!
Please any help with this are welcome!!
Best regards,
Alfredo.Normally the export error on EMIT_SCHEMA can happen if the catpatch.sql script was not run successfully after a patchset install.
See Note:232120.1 on MetaLink
Login as SYSDBA and run catpatch.sql (without other users logged in). -
EXPDP error - ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOA
Greetings All,
Oracle 11g (11.2.0.0) on Windows 2008 R2
I am getting the error below during a schema export of just 1 particular schema. Other schema expdp’s don’t encounter this problem.
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [REF_CONSTRAINT:"CM_MASTER"."PPY_PEN_FK"]
ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errors
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8165
----- PL/SQL Call Stack -----
object line object
handle number name
000000047B38A000 18990 package body SYS.KUPW$WORKER
000000047B38A000 8192 package body SYS.KUPW$WORKER
000000047B38A000 2823 package body SYS.KUPW$WORKER
000000047B38A000 8847 package body SYS.KUPW$WORKER
000000047B38A000 1649 package body SYS.KUPW$WORKER
000000047A576CD0 2 anonymous block
Job "CM_MASTER"."EXP_CM_MASTER" stopped due to fatal error at 17:11:30I have deleted the identified constraint, but then errors out again on another constraint.
I have found a tentative resolution for the ORA-39126 error (delete database stats, then gather database stats) but have not done so yet.
I have tried deleting the statistics for just the schema (cm_master), and then re-gathered stats for the same schema. Still get the error.
I am concerned about the ORA-04063: package body “XDB.DBMS_XDBUTIL_INT” has errors.
I have unlocked and set new password for the XDB user, but am not able to logon as XDB to re-compile the package body in question.
We had some maintenance applied over the weekend that “revoked execute from public” on the following packages:
dbms_datapump
dbms_crypto
dbms_crypto_toolkit
dbms_java_test
dbms_random
dbms_sql
utl_file
utl_http
utl_mail
utl_smtp
utl_tcpThe user performing the export with the problem (cm_master) was then granted execute back on the following packages:
dbms_datapump
dbms_crypto
dbms_random
dbms_sql
utl_file
utl_http
utl_mail
(not: dbms_crypto_toolkit, dbms_java_test, utl_smtp, utl_tcp,)Other schemas were granted execute on the following packages and are NOT having expdp problems:
dbms_datapump
dbms_sql
utl_file
utl_http
utl_mail
(not: dbms_crypto, dbms_crypto_toolkit, dbms_random, utl_smtp, utl_tcp )I don't think the public revokes are causing this error because the "Other schemas" do not have this error and were not specifically granted back all of the public revokes that cm_master received back.
I appreciate any suggestions.
Thanks for your time,
Bob
Edited by: Snyds on Jun 5, 2012 10:03 AMrjamya,
I checked dba_registry, all 18 rows returned are VALID.
I attempted to compile the package body identified in the error messages:
ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errorswith
alter package xdb.dbms_xdbutil_int compile body;I got thje following results
Error starting at line 60 in command:
alter package xdb.dbms_xdbutil_int compile body
Error report:
SQL Command: package XDB.DBMS_XDBUTIL_INT
Failed: ORA-24344: success with compilation error
24344. 00000 - "success with compilation error"
*Cause: A sql/plsql compilation error occurred.
*Action: Return OCI_SUCCESS_WITH_INFO along with the error code
package XDB.DBMS_XDBUTIL_INT altered.Any other suggestions regarding how to resolve errors in the XDB.DBMS_ packages?
I also tried granting CM_MASTER execute on the packages that I revoked execute to PUBLIC on, with no effect.
I tried “exclude=REF_CONSTRAINT” on the export, the problem seemed to move to the next section:
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 96.31 MB
Processing object type SCHEMA_EXPORT/USER
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
Processing object type SCHEMA_EXPORT/ROLE_GRANT
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/DB_LINK
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/TABLE/COMMENT
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_SPEC
Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION
Processing object type SCHEMA_EXPORT/PACKAGE/COMPILE_PACKAGE/PACKAGE_SPEC/ALTER_PACKAGE_SPEC
Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
Processing object type SCHEMA_EXPORT/VIEW/VIEW
Processing object type SCHEMA_EXPORT/PACKAGE/PACKAGE_BODY
ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [PACKAGE_BODY:"CM_MASTER"."SR_MAINTENANCE"]
ORA-04063: package body "XDB.DBMS_XDBUTIL_INT" has errors
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 8165
----- PL/SQL Call Stack -----
object line object
handle number name
000000047B38A000 18990 package body SYS.KUPW$WORKER
000000047B38A000 8192 package body SYS.KUPW$WORKER
000000047B38A000 2823 package body SYS.KUPW$WORKER
000000047B38A000 8847 package body SYS.KUPW$WORKER
000000047B38A000 1649 package body SYS.KUPW$WORKER
000000047A576CD0 2 anonymous block
Job "CM_MASTER"."EXP_CM_MASTER" stopped due to fatal error at 19:36:23I tried the suggestion from my Google-ing, drop database statistics, then gather database statistics. No effect, same error.
I also tried granting CM_MASTER execute on the packages that I revoked execute to PUBLIC on, with no effect.
Again what seems odd is that I can export other schemas without errors.
Any other suggestions, please.
Thanks,
Bob
Edited by: Snyds on Jun 5, 2012 12:04 PM
Maybe you are looking for
-
Oracle Application server 10g installation
Hi, I have installed oracle 10g Express edition on my Vista home premium. It will be a great help, if anybody reply me how to access the oracle application server ..... I am new to this installation. whether I need to install the s/w or I need to con
-
How do I tune TCP SYN resend/retransmit rate for satellite?
On a satellite internet connection MacOSX (and, I believe, iPhones) have excessively aggressive SYN resend timing. The existing settings make iTunes and SSL based services (banking, email etc) unreliable and often unworkable. Plain HTTP (most web bro
-
Urgent problem for Oracle Agile 9.2.2.4
HI, I have installed Oracle Agile 9.2.2.4 which is downloaded from eDelivery.oracle.com on my computer. but now, the problem is when I login the Agile, no components displayed in the left pane, but global search, bookmarks. I have enabled all modules
-
When is the next Trade and Save DVD to Blu Ray??
I have been to the store twice when they were offering 5 bucks trade in money for dvd to blu ray. And both times the offer was expiring that day and it was late. I have a bunch of dvd I want to upgrade to blu rays. Anyone here have an idea when the
-
Calendar synch BB Storm, BB DM 4.7 and Lotus Notes 8.0.2
I am seriously frustrated with the synchronization issues with my BB Storm 9530, DM 4.7.0.25 and Lotus Notes 8.0.2. I have searched this forum and Crackberry to find a solution and at this point I think there is just no solution. When I sync my cal