Oracle 10.2.0.4中 OEM bug 8350262
今天在OEL 4环境,从10.2.0.1升级至10.2.0.4,然后dbca建库,进度在91%的时候就不动了一直卡在那等了很久,最后报出来下面的错误
1、发现问题
今天在OEL 4环境,从10.2.0.1升级至10.2.0.4,然后dbca建库,进度在91%的时候就不动了一直卡在那等了很久,,最后报出来下面的错误~让我们来瞧瞧!
通过google搜索了下原来这是Oracle在10.2.0.4和10.2.0.5的BUG,运气这么好,被我给碰上了~
根据提示打开emConfig.log日志文件
Vi/u01/app/oracle/product/10.2/db/cfgtoollogs/dbca/prod/emConfig.log
Aug 17,2011 10:12:30 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG:Setting oracle.installer.oui_loc to /u01/app/oracle/product/10.2/db/oui
Aug 17,2011 10:12:30 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG:Setting oracle.installer.oui_loc to /u01/app/oracle/product/10.2/db/oui
Aug 17,2011 10:12:33 AM oracle.sysman.emcp.util.CentralAgentUtilgetCentralAgentHomeAndURL
CONFIG:Central Agent home and URL: {}
Aug 17,2011 10:12:33 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG:Restoring oracle.installer.oui_loc to /u01/app/oracle/product/10.2/db/oui
Aug 17,2011 11:45:57 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG:Setting param: LOG_FILE value:/u01/app/oracle/product/10.2/db/cfgtoollogs/dbca/prod/emConfig.log
Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG:Setting param: HOST value: oel1
Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG:Setting param: PORT value: 1521
Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG:Setting param: SID value: prod
Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG:Setting param: LISTENER value: LISTENER
Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG:Setting param: LISTENER_OH value: /u01/app/oracle/product/10.2/db
Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG:Flag '-config' set to true
Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG:Flag 'db' set to true
Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG:Setting param: EM_HOME value: /u01/app/oracle/product/10.2/db
Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG:Setting param: DB_UNIQUE_NAME value: prod
Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG:Setting param: SERVICE_NAME value: prod
Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam
Aug 17,2011 10:12:30 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc CONFIG:Setting oracle.installer.oui_loc to /u01/app/oracle/product/10.2/db/oui Aug 17,2011 10:12:30 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc CONFIG:Setting oracle.installer.oui_loc to /u01/app/oracle/product/10.2/db/oui Aug 17,2011 10:12:33 AM oracle.sysman.emcp.util.CentralAgentUtilgetCentralAgentHomeAndURL CONFIG:Central Agent home and URL: {} Aug 17,2011 10:12:33 AM oracle.sysman.emcp.EMConfig restoreOuiLoc CONFIG:Restoring oracle.installer.oui_loc to /u01/app/oracle/product/10.2/db/oui Aug 17,2011 11:45:57 AM oracle.sysman.emcp.ParamsManager setParam CONFIG:Setting param: LOG_FILE value:/u01/app/oracle/product/10.2/db/cfgtoollogs/dbca/prod/emConfig.log Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam CONFIG:Setting param: HOST value: oel1 Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam CONFIG:Setting param: PORT value: 1521 Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam CONFIG:Setting param: SID value: prod Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam CONFIG:Setting param: LISTENER value: LISTENER Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam CONFIG:Setting param: LISTENER_OH value: /u01/app/oracle/product/10.2/db Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setFlag CONFIG:Flag '-config' set to true Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setFlag CONFIG:Flag 'db' set to true Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam CONFIG:Setting param: EM_HOME value: /u01/app/oracle/product/10.2/db Aug 17, 201111:46:27 AM oracle.sysman.emcp.ParamsManager setParam CONFIG:Setting param: DB_UNIQUE_NAME value: prod Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam CONFIG:Setting param: SERVICE_NAME value: prod Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setParam CONFIG:Setting param: ORACLE_HOME value: /u01/app/oracle/product/10.2/db Aug 17,2011 11:46:27 AM oracle.sysman.emcp.ParamsManager setFlag CONFIG:Flag '-cluster' set to true Aug 17,2011 11:46:27 AM oracle.sysman.emcp.util.ClusterUtil areNodesAlive CONFIG:Alive node cache contents: [] Aug 17,2011 11:46:27 AM oracle.sysman.emcp.util.ClusterUtil areNodesAlive CONFIG:oel1 not found in alive node cache Aug 17,2011 11:46:27 AM oracle.sysman.emcp.util.ClusterUtil areNodesAlive CONFIG:oel2 not found in alive node cache Aug 17,2011 11:46:29 AM oracle.sysman.emcp.util.ClusterUtil areNodesAlive CONFIG:Node: oel1 is accessible. Aug 17,2011 11:46:29 AM oracle.sysman.emcp.util.ClusterUtil areNodesAlive CONFIG:Node: oel2 is accessible. Aug 17,2011 11:46:29 AM oracle.sysman.emcp.ParamsManager getInaccessibleNodeList CONFIG:All nodes are up. Nodes: [oel1, oel2] Aug 17,2011 11:46:29 AM oracle.sysman.emcp.ParamsManager getInaccessibleSidList CONFIG:All nodes are up. Nodes: [oel1, oel2] Sids: [prod1, prod2] 2、Oracle 对这个bug原因的说明: In Enterprise Manager DatabaseControl with Oracle Database 10.2.0.4 and 10.2.0.5, the root certificate used to securecommunications via the Secure Socket Layer (SSL) protocol will expire on31-Dec-2010 00:00:00. Thecertificate expiration will cause errors if you attempt to configure DatabaseControl on or after 31-Dec-2010. Existing Database Controlconfigurations are not impacted by this issue. (1)The issue impacts configuration ofDatabase Control with Oracle Database 10.2.0.4 and 10.2.0.5 only. It does notimpact database creation or upgrade. (2)The issue does not impact existingDatabase Control configurations. (3)Application of Patch 8350262 does not require any databasedowntime 3、解决问题 ORACLE 给出的建议操作步骤如下: Recovering from Configuration Errors on a Single InstanceDatabase 单实例 Recovering from Configuration Errors on a Single InstanceDatabase 2. Apply Patch 8350262 to your Oracle Home installation usingOPatch. opatch apply Invoking OPatch 10.2.0.4.2 Oracle Interim Patch Installer version 10.2.0.4.2 Oracle Home : /myhost ApplySession applying interim patch '8350262' to OH '/myhost' Running prerequisite checks... OPatch detected non-cluster Oracle Home from the inventory andwill patch the local system only. Backing up files and inventory (not for auto-rollback) for theOracle Home Patching component oracle.sysman.agent.core, 10.2.0.4.0a... Verifying the update... OPatch succeeded.
If you plan to configure Database Control with either of theseOracle Database releases, Oraclestrongly recommends that you apply to your Oracle Homeinstallations before you configure Database Control. Configuration of Database Control istypically done when you create or upgrade Oracle Database, or if you runEnterprise Manager Configuration Assistant (EMCA) in standalone mode.
Note the following:
1. Ignore any errors and continue with the installation or upgrade. Thedatabase will be created without errors.
Copyright (c) 2007, Oracle Corporation. All rights reserved.
Central Inventory : /scratch/pchebrol/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.2
OUI version : 10.2.0.4.0
OUI location : /myhost/oui
Log file location : /myhost/cfgtoollogs/opatch/opatch2011-01-02_11-00-00AM.log
Backing up files affected by the patch '8350262' for restore. This might take awhile...
Backing up files affected by the patch '8350262' for rollback. This might takea while...
Updating jar file "/myhost/sysman/jlib/emCORE.jar" with
"/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/fsc/FSWalletUtil.class"
Updating jar file "/myhost/sysman/jlib/emCORE.jar" with
"/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/rep/RepWalletUtil.class"
Updating jar file "/myhost/sysman/jlib/emCORE.jar" with
"/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/util/RootCert.class"
Updating jar file "/myhost/sysman/jlib/emCORE.jar" with
"/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/util/SecConstants.class"
Updating jar file "/myhost/sysman/jlib/emd_java.jar" with"/sysman/jlib/emd_
java.jar/oracle/sysman/eml/sec/fsc/FSWalletUtil.class"
Updating jar file "/myhost/sysman/jlib/emd_java.jar" with"/sysman/jlib/emd_
java.jar/oracle/sysman/eml/sec/rep/RepWalletUtil.class"
Updating jar file "/myhost/sysman/jlib/emd_java.jar" with"/sysman/jlib/emd_
java.jar/oracle/sysman/eml/sec/util/RootCert.class"
Updating jar file "/myhost/sysman/jlib/emd_java.jar" with"/sysman/jlib/emd_
java.jar/oracle/sysman/eml/sec/util/SecConstants.class"
ApplySession adding interim patch '8350262' to inventory
Inventory check OK: Patch ID 8350262 is registered in Oracle Home inventorywith proper meta-data.
Files check OK: Files from Patch ID 8350262 are present in Oracle Home.

熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

記事本++7.3.1
好用且免費的程式碼編輯器

SublimeText3漢化版
中文版,非常好用

禪工作室 13.0.1
強大的PHP整合開發環境

Dreamweaver CS6
視覺化網頁開發工具

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)

全表掃描在MySQL中可能比使用索引更快,具體情況包括:1)數據量較小時;2)查詢返回大量數據時;3)索引列不具備高選擇性時;4)複雜查詢時。通過分析查詢計劃、優化索引、避免過度索引和定期維護表,可以在實際應用中做出最優選擇。

是的,可以在 Windows 7 上安裝 MySQL,雖然微軟已停止支持 Windows 7,但 MySQL 仍兼容它。不過,安裝過程中需要注意以下幾點:下載適用於 Windows 的 MySQL 安裝程序。選擇合適的 MySQL 版本(社區版或企業版)。安裝過程中選擇適當的安裝目錄和字符集。設置 root 用戶密碼,並妥善保管。連接數據庫進行測試。注意 Windows 7 上的兼容性問題和安全性問題,建議升級到受支持的操作系統。

InnoDB的全文搜索功能非常强大,能够显著提高数据库查询效率和处理大量文本数据的能力。1)InnoDB通过倒排索引实现全文搜索,支持基本和高级搜索查询。2)使用MATCH和AGAINST关键字进行搜索,支持布尔模式和短语搜索。3)优化方法包括使用分词技术、定期重建索引和调整缓存大小,以提升性能和准确性。

聚集索引和非聚集索引的區別在於:1.聚集索引將數據行存儲在索引結構中,適合按主鍵查詢和範圍查詢。 2.非聚集索引存儲索引鍵值和數據行的指針,適用於非主鍵列查詢。

MySQL是一個開源的關係型數據庫管理系統。 1)創建數據庫和表:使用CREATEDATABASE和CREATETABLE命令。 2)基本操作:INSERT、UPDATE、DELETE和SELECT。 3)高級操作:JOIN、子查詢和事務處理。 4)調試技巧:檢查語法、數據類型和權限。 5)優化建議:使用索引、避免SELECT*和使用事務。

MySQL 數據庫中,用戶和數據庫的關係通過權限和表定義。用戶擁有用戶名和密碼,用於訪問數據庫。權限通過 GRANT 命令授予,而表由 CREATE TABLE 命令創建。要建立用戶和數據庫之間的關係,需創建數據庫、創建用戶,然後授予權限。

MySQL 和 MariaDB 可以共存,但需要謹慎配置。關鍵在於為每個數據庫分配不同的端口號和數據目錄,並調整內存分配和緩存大小等參數。連接池、應用程序配置和版本差異也需要考慮,需要仔細測試和規劃以避免陷阱。在資源有限的情況下,同時運行兩個數據庫可能會導致性能問題。

MySQL支持四種索引類型:B-Tree、Hash、Full-text和Spatial。 1.B-Tree索引適用於等值查找、範圍查詢和排序。 2.Hash索引適用於等值查找,但不支持範圍查詢和排序。 3.Full-text索引用於全文搜索,適合處理大量文本數據。 4.Spatial索引用於地理空間數據查詢,適用於GIS應用。
