Catupgrd.sql Fails With 3113 Creating SYS.KU$_XMLSCHEMA_VIEW[ID 603714.1]
10.2.0.4 Catupgrd.sql Fails With ORA-03113 Creating SYS.KU$_XMLSCHEMA_VIEW [ID 603714.1]
In this Document
Symptoms
Cause
Solution
References
Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.4 and later [Release: 10.2 and later ]Oracle Server - Enterprise Edition - Version: 10.2.0.4 and later [Release: 10.2 and later]
Information in this document applies to any platform.
Symptoms
-- Problem Statement:Patching the production database from 10.2.0.3.to 10.2.0.4 after starting the database in upgrade mode.
While running the catupgrd.sql script, the upgrade fails reproducibly at the following statement.
SQL> create or replace force view sys.ku$_xmlschema_view of sys.ku$_xmlschema_t
2 with object identifier (schemaoid) as
3 select '1','0',
4 u.user#, u.name, extractvalue(VALUE(s), '/schema/@x:schemaURL',
5 'xmlns="http://www.w3.org/2001/XMLSchema" xmlns:x="http://xmlns.oracle.com/xdb"'),
6 s.sys_nc_oid$,
7 case when under_path(value(r), '/sys/schemas/PUBLIC') = 1
8 then 0 else 1 end,
9 s.getclobval(), -- unstripped
10 xdb.dbms_xdbutil_int.XMLSchemaStripUsername(XMLTYPE(s.getClobVal()),
11 u.name) -- stripped
12 from sys.user$ u, xdb.xdb$schema s, xdb.xdb$resource r
13 where extractvalue(VALUE(r), '/Resource/XMLRef') = ref(s)
14 and u.user# = sys_op_rawtonum(extractvalue(VALUE(r),'/Resource/OwnerID'))
15 AND (SYS_CONTEXT('USERENV','CURRENT_USERID') IN (u.user#, 0) OR
16 EXISTS ( SELECT * FROM session_roles
17 WHERE role='SELECT_CATALOG_ROLE' ))
18 /
create or replace force view sys.ku$_xmlschema_view of sys.ku$_xmlschema_t
*
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Also when running the relevant select separately, it fails with the same ORA-3113 error.
SQL> select a.name "OWNER",
2 b.name "NAME",
3 b.obj# "OBJ#"
4 from sys.user$ a,
5 sys.obj$ b
6 where b.name in ('XDB$NMSPC_ID', 'XDB$QNAME_ID', 'XDB$PATH_ID')
7 and a.user# = b.owner#;
OWNER NAME OBJ#
----- ------------ -----
XDB XDB$PATH_ID 41341
XDB XDB$QNAME_ID 41340
XDB XDB$NMSPC_ID 41339
Cause
The following event was set as a workaround for Bug 4684209 which is fixed in patch set 10.2.0.4event='10195 trace name context forever, level 1'
Solution
-- To implement the solution, please execute the following steps::1. Remove the following event from the parameter file as the workaround for Bug 4684209 is no longer needed with patch set 10.2.0.4
event='10195 trace name context forever, level 1'
2. Execute the 10.2.0.4 catupgrd.sql script. again.
References
BUG:4684209 - ORA-7445 [EVAOPN2] RUNNING A QUERY WITH ORDER BY AGAINST A VIEWBUG:5161782 - ORA-3113 ON VIEW SYS.KU$_XMLSCHEMA_VIEW
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-742693/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【MOS】Creating a PDB ... Fails With ORA-17630 (文件 ID 2090019.1)AI
- Creating RP Or Open Read Only on PSB Fails With ORA-38784/38788_845013.1AI
- DIAGNOSING ORA-3113 ERRORS [ID 1020463.6]Error
- android-Creating a Navigation DrawerAndroidNavigation
- android-Creating Multiple APKs for Different Screen Sizes,Creating Multiple APKs for Different GL TeAndroidAPK
- Android TV-Creating TV NavigationAndroidNavigation
- android TV - Creating a Catalog Browser,Providing a Card ViewAndroidView
- Creating a physical standby from ASM primary [ID 787793.1]ASM
- Fails To Open / Create The Wallet: ORA-28353 [ID 395252.1]AI
- error creating overlay mount to invalid argument unbuntu系統Error
- DataPump Export (EXPDP) Fails With Error LPX-216 Invalid CharacterExportAIError
- Drop Table Fails With ORA-600 [15264] [ID 338953.1]AI
- Recover Database Fails with RMAN-06558 [ID 1185074.1]DatabaseAI
- XDMCP connection failsAI
- Java之建立物件>5.Avoid creating unnecessary objectsJava物件Object
- Cluster Verification Check Fails With exectask: not found (Doc ID 1271177.1)AI
- OPEN RESETLOGS FAILS WITH ORA-01577 (Doc ID 953293.1)AI
- After failed upgrade, startup fails on ORA-00704 [ID 1345417.1]AI
- Creating the Database (58)Database
- ORA-31687: error creating worker process with worker id 1Error
- Dynamics CRM Error- Creating Entity with an invalid parent. Entity: EmailErrorAI
- android-Implementing Effective Navigation,Creating Swipe Views with TabsAndroidNavigationView
- grid control Error in getting data for creating new listenerError
- 【MOS】EXPDP Fails ORA-39165: Schema SYS Was Not Found (文件 ID 553402.1)AI
- RMAN 11g Import catalog fails RMAN-6429 (Doc ID 457392.1)ImportAI
- RMAN backup fails with Ora-00245 And Rman-08132 [ID 1365484.1]AI
- 執行SQL語句遇到3113錯誤SQL
- 單機升級11.2.0.4到12.1.0.2的實戰__catupgrd.sqlSQL
- ORA-600[13013] Error While Creating a User. [ID 297595.1]ErrorWhile
- android-Maintaining Multiple APKs,Creating Multiple APKs for Different API LevelsAndroidAIAPKAPI
- Creating a Standby Database using RMAN (Recovery Manager) [ID 118409.1]Database
- Fails to Start: PMON (ospid: nnnn): terminating the instance due to error 481AIError
- EM GC11.1.0.1 Agent Startup on AIX Fails with Error: nmectl_validate_1386861.1GCAIError
- OPatch Fails With "OUI-67028:Inventory load failed" (Doc ID 1185246.1)AIUI
- Creating a Physical Standby DatabaseDatabase
- Creating Secondary IndexesIndex
- Creating the SYSAUX Tablespace (72)UX
- UDI-03113: operation generated ORACLE error 3113OracleError