一看又是XDB.DBMS_XDBUTIL_INT包的问题。之前也看到过这个问题,也整理了篇文章来说明:
Oracle9iEXPXDB.DBMS_XDBUTIL_INTmustbedeclared
http://blog.csdn.net/tianlesoftware/archive/2010/04/17/5491811.aspx
楼主说这个对象是无效的,并且不能编译。看来就只能重新安装了。在metalink上搜了一下。相关信息如下。
HowtoDeinstallandReinstallXMLDatabase(XDB)[ID243554.1]
Appliesto:
OracleServer-EnterpriseEdition-Version:9.2.0.1to10.2.0.5
OracleServer-PersonalEdition-Version:9.2.0.1to10.2.0.5
OracleServer-StandardEdition-Version:9.2.0.1to10.2.0.5
Informationinthisdocumentappliestoanyplatform.
Purpose
ThisarticleprovidesthestepstomanuallydeinstallandinstalltheXMLDatabasefeatureintoadatabasethatisversion9iR2through10grelease2.THISNOTEISNOTFOR11Gandabove.
WARNINGFORALLREADERS:IftheXMLDBfeaturesarecurrentlybeingutilizedandyouhaveexperiencedaninvalidXMLDBrepositoryorinstallation,point-in-timerecoverytoapointpriortowhentheproblemoccurredisrecommended.XDBshouldnotbereinstalledifthefeatureisbeingused.PleaseconfirmwhetherXDBisbeingusedinyourenvironmentpriortoattemptingreinstall.
Inaddition,thefollowingDBfeaturesalsouseXDB:OracleIntermediaEXIFmetadata,OracleGEORASTER,EXFSYS,OracleLocator
WARNINGFOR10gR2:Forversions10.2andnewer,ifXDBisinvalidthexdbrelod.sqlscriptshouldbeattemptedfirst.Reinstallationproceduresshouldonlybeperformedwhenxdbrelod.sqlwasnotsuccessfulinresolvingtheissue.
WARNINGFOR11G:ThisNoteisnotfor11g.
ScopeandApplication
ThisarticleisforDBA'sthatneedtoremove,installand/orreinstalltheXDBfeatureintoanexistingOracledatabase.
HowtoDeinstallandReinstallXMLDatabase(XDB)
XDBReloadProceduresfor10.2andabove.
SQL>conn/assysdba
SQL>ShutdownImmediate;
SQL>Startupupgrade;
SQL>@?/rdbms/admin/xdbrelod.sql
alternativelyxdbpatch.sqlcanberunbothxdbpatchandxdbrelodperformthesameactions.
SQL>ShutdownImmediate;
SQL>Startup
SQL>@?/rdbms/admin/utlrp.sql
Thenchecktheerrorconditionsthatnecessitatedthestepsinthefirstplace.Iftheerrorconditionisnotresolvedconsiderpointintimerecoverybacktobeforetheerrorstateexisted.Ifthatisnotanoptionproceedtoremovalandreinstallifonversion10.2andbelowandyouhavereadallthewarnings.
XDBSCHEMAREMOVALSTEPS:
WARNING:ThestepstoremovetheXMLDatabasefeature(XDBschema)willcompletelyremovetheXDBrepositoryincludinganyuserdefinedinformationcontainedwithinit.
Therefore,ifthereareanyregisteredschemasorXMLDatabaseitemscreated,youwillberequiredtorecreateallofyouruserdefinedstructures,dataandre-registerallschemaspreviouslyregistered.
IfyouarerunningOracleApplicationswithiSetupseeNOTE:402785.1linkedbelow.
WARNING:Ifyouareondatabaserelease10.1.xor10.2.xtheXDBFeatureisMandatoryinordertouseanyofthememberfunctionsoftheXMLTYPE.Thisistrueevenifyouarenotusingtherepository,orregisteredschemaaspectsoftheXDBfeature.
WARNING:Thisisnotfor11g.
1.Shutdownandrestartthedatabase.
2.Connectassysdbaandrunthecatnoqm.sqlscript.Maintainaspoolofthe
scriptrunning:
UNIX:$ORACLE_HOME/rdbms/adminsubdirectory
WINDOWS:$ORACLE_HOME/rdbms/adminsubdirectory
ForExample:
SQL>setechoon
SQL>spoolxdb_removal.log
SQL>@?/rdbms/admin/catnoqm.sql
3.Modifytheinit.orafileorspfiletoincludethefollowingminimumstopreparetheDBforreinstallingtheXDBschema:
shared_pool_size=150M
java_pool_size=150M
4.TurnonAUTOEXTENDontheXDBtablespace.
Ifyoudonotwanttodothis,makesureyoutargetatablespacewithat
least
.100MBoffreespacefornon-UTF8DB
.150MBoffreespaceforanAL32UTF8DB
5.Shutdownthedatabaseimmediate,andstartupthedatabasenormal
NOTE:FailuretorestartthedatabaseatthisstepcancauseXDBcatqm.sqlinstallationtofailwithaninternalerrorsimilartothefollowing:ORA-7445[qmr_hdl_copy()+48]
XDBSCHEMAINSTALLSTEPS:
1.Connectassysdbaandrunthecatqm.sqlscript.Maintainaspoolofthe
scriptrunning:
UNIX:$ORACLE_HOME/rdbms/adminsubdirectory
WINDOWS:$ORACLE_HOME/rdbms/adminsubdirectory
Thecatqm.sqlscriptrequiresthefollowingparametersbepassedtoitwhen
run:
A.XDBuserpassword
B.XDBuserdefaulttablespace(Youcanuseanytablespaceotherthansystemundoandtemp.Thistablespacehastoexistpriortorunningthescript.)
C.XDBusertemporarytablespace
Thereforethesyntaxtoruncatqm.sqlwillbe:
SQL>catqm.sqlABC
ForExample:
SQL>setechoon
SQL>spoolxdb_install.log
SQL>@?/rdbms/admin/catqm.sqlXDBXDBTEMP
TheFollowingStepisforRelease9.2.xONLYskiptostep3ifrunning10.1.xorabove
2.ReconnecttoSYSagainandrunthefollowingtoloadtheXDBjavalibrary.
SQL>@?/rdbms/admin/catxdbj.sql
NOTE:InordertoloadtheXDBjavalibrariesincatxdbj.sql,youmustfirsthaveavalidJavaVirtualMachineinstallationintheDB(JVM)andavalidXDK.
Also,makesurethatthedatabaseisstartedwithOracle9iRelease2(9.2.0)compatibilityorhigherfordatabaseversion9.2
3.Ifthefollowinglineisnotalreadyapartofthedatabasesystemparameters(init.ora/spfile).
NOTE:PLEASEREPLACE,instanceid1,2etcwithyouractualvalues
a.Non-RAC
dispatchers="(PROTOCOL=TCP)(SERVICE=<SID>XDB)"
b.RAC
instanceid1.dispatchers="(PROTOCOL=TCP)(SERVICE=<SID>XDB)"
instanceid2.dispatchers="(PROTOCOL=TCP)(SERVICE=<SID>XDB)"
etc...
c.IfyouarenotusingthedefaultListenerensureyouhavesetLOCAL_LISTENERinthe(init.ora/spfile)
asprescribedforRAC/NON-RACinstancesortheendpointswillnotregister.
4.CheckforanyinvalidXDBownedobjects:
SQL>selectcount(*)fromdba_objectswhereowner='XDB'andstatus='INVALID';
COUNT(*)
----------
0
5.CheckDBA_REGISTRYforXDBstatus:
SQL>selectcomp_name,status,versionfromDBA_REGISTRYwherecomp_name='OracleXMLDatabase'
Theresultsshouldindicatethecorrectversionandpatchinavalidstatus.
6.RestartdatabaseandlistenertoenableOracleXMLDBprotocolaccess.
NOTE:
Ifforanyreasonthecatqm.sqlscriptfailsyoucanrepeatthesteps.HoweverdoingsoMayresultin:
ORA-04098:trigger'SYS.XDB_INSTALLATION_TRIGGER'isinvalidandfailedre-validation
Ifthisoccursfollowthestepsinarticle:
NOTE:331378.1-Runningcatqm.sqlLeadstoORA-4098Trigger'SYS.XDB_INSTALLATION_TRIGGER'isInvalid
ClickheretolearnaboutXDB/XMLtrainingfromOracleUniversity.
References
NOTE:402785.1-iSetupdependencywithDeinstallandReinstallofXMLDB
NOTE:558834.1-HowToRe-registerXMLSchemasAfterXDBHasBeenRe-installed?
NOTE:742014.1-XDB11gInstallandDeinstallNote
相关推荐
1、2为Database, 用来安装或升级数据库;若仅安装数据库,下载这两个包即可。 3:grid infrastructure,用来安装RAC。 4:客户端(Client); 5:Gateway software,透明网关 6:examples, 示例文件安装包; 7...
oracle11g最终版本11.2.0.4的全套资源,包括RAC集群和管理工具共7个文件 资源说明(按需下载): p102025301120——Linux-x86-64_1of7.zip database安装介质 ...p102025301120——Linux-x86-64_7of7.zip deinstall
p13390677_112040_MSWIN-x86-64 压缩包的说明。 1、p13390677_112040_MSWIN-x86-64_1of7.zip 2、p13390677_112040_MSWIN-x86-64_2of7.zip 3、p13390677_112040_MSWIN-x86...7为deinstall,是Oracle自带的界面化卸载工具
p102025301120——Linux-x86-64_1of7.zip #database安装介质 p102025301120——Linux-x86-64_2of7.zip #database安装介质 p102025301120——Linux-x86-64_3of7.zip #grid安装介质 p102025301120——Linux-x86-64_4of...
oracle11g的最新版本11.2.0.4,适用于Linux。 11.2.0.4安装包在oracle官网已经不能免费下载,网上全的安装包已经没有了,而11.2.0.1BUG较多,是Linux版本。...p102025301120——Linux-x86-64_7of7.zip deinstall
Oracle Database 11gR2 (linux.x64_11gR2_deinstall.zip) ,适用于 Linux Linux x86-64 的 Oracle De-install Utility (11.2.0.1.0)
1、2表示Database, 用于安装、升级数据库; 3为grid infrastructure,用来升级RAC。如果要使用Clusterware、ASM、ACFS、ASM动态卷等功能时都需要先安装此包 4表示客户端(Client); 5为Gateway software,gateways...
nbu8_deinstall.txt
Oracle Database 11gR2 (linux.x64_11202_deinstall.zip) ,适用于 Linux Linux x86-64 的 Oracle De-install Utility (11.2.0.2.0)
2. oracle11G自带一个卸载批处理\app\Administrator\product\11.2.0\dbhome_1\deinstall\deinstall.bat 3. 运行该批处理程序将自动完成oracle卸载工作,最后手动删除\app文件夹(可能需要重启才能删除) 4. 运行...
Program: DelforExp, Delphi Formatter Version: 2.4.1 for Delphi 2-7 ... are removed) If someone knows how to get and set the locations of these points I would be happy to hear from you.
因为感觉I5comp是DOS程序,用起来奇不爽,所以就封装了个界面,与大家共享,有好的建议可EMAILTO: fanjunxing@163.com,如果BUG,还请原谅,另外包里的三个DLL是InstallShield的动态连接库,最好能放在 C:WINDOWS...
利用批处理文件彻底卸载Oracle,让您不再为不能彻底卸载oracle而发愁!
前言 因为linux内核一直在更新,更新后,旧的内核就不在使用,但旧的内核文件还在boot里面,占据着空间,更新几次过后boot分区...linux-image-4.4.0-21-generic deinstall linux-image-4.4.0-57-generic install linux
Raspberry Pi WiFi中继器/路由器和Flask Web... # deinstall classic networking pi@raspberrypi:~ $ sudo -Es # if not already done root@raspberrypi:~ # apt --autoremove purge ifupdown dhcpcd5 isc-dhcp-cli
Oracle 11g R2 for Windows 7(32bit)安装与卸载详解
这么多的DB2系统命令,是不是都需要会用呢?? dasauto - 自动启动 DB2 管理服务器 dascrt - 创建 DB2 管理服务器 ...db2_deinstall - 卸载 DB2 产品或功能部件 db2_install - 安装 DB2 产品
oracle_11g_安装、启动、卸载全面教程
二、批处理卸载: 运行H:\app\Administrator\product\11.2.0\dbhome_1\deinstall的deinstall.bat批处理文件卸载,全程代码如下: (客户端卸载与此类似,屏幕过程中都会有询问,一路回车或y选择默认即可。...