安裝Grid Control: PLS-00201 'MGMT_TIME_SYNC.STARTUPSYNC' must be declared
Oracle 10.2.0.4 , Linux as 5.3 64bit
安裝grid control ( Oracle 10.2.0.3.0) 到配置OMS Configuration 的時候報錯 OUI-25031 , 需要打補丁Patch 8430622 , 在打補丁的過程中又發現有報錯 PLS-00201: identifier 'MGMT_TIME_SYNC.STARTUPSYNC' must be declared 。
OUI-25031錯誤具體參考文件: How to Recover From Enterprise Manager Grid Control 10g Base Releases (10.2.0.x.0) Installation Errors after 31-Dec-2010 [ID 1228103.1]
a.
不要關閉出現錯誤的session
b.
下載Patch 8430622 。Patch 8430622中描述的ORACLE_HOME ( $ORACLE_HOME/bin/emctl stop oms)
在這裡指的是$OMS_HOME, 不是Oracle RDBMS的ORACLE_HOME.
c.
先設定$ORACLE_HOME並停止oms
ipadtest$export
ORACLE_HOME=/u01/product/OracleHomes/oms10g/
ipadtest$echo $ORACLE_HOME
/u01/product/OracleHomes/oms10g/
ipadtest$cd /u01/product/OracleHomes/oms10g/
ipadtest$cd bin/
ipadtest$./emctl stop oms
Oracle Enterprise Manager 10g Release 3 Grid Control
Copyright (c) 1996, 2007 Oracle Corporation.
All rights reserved.
Oracle Management Server is Down.
d.
按照文件, apply patch後,
ipadtest$opmnctl stopall
opmnctl: stopping opmn and all managed processes...
ipadtest$
e.
Re-secure Oracle Management Service with the following command:
ipadtest$./emctl secure oms -reset
Oracle Enterprise Manager 10g Release 3 Grid Control
Copyright (c) 1996, 2007 Oracle Corporation.
All rights reserved.
Enter Enterprise Manager Root Password :
Enter Agent Registration password :
OPMN processes already stopped...
Done.
Securing central oms...
Started.
Checking Repository...
Done.
Checking Em Key...
ORA-06550: line 1, column 13:
PLS-00201: identifier 'MGMT_TIME_SYNC.STARTUPSYNC' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00201: identifier 'MGMT_TIME_SYNC.STARTUPSYNC' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:626)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1090)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2916)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3007)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4120)
at oracle.sysman.emSDK.conf.ConfigManager.startupEmKey(ConfigManager.java:495)
at oracle.sysman.emSDK.conf.ConfigManager.statusEmKeyInRepos(ConfigManager.java:753)
at oracle.sysman.eml.sec.rep.EmKeyUtil.statusEmKey(EmKeyUtil.java:264)
at oracle.sysman.eml.sec.rep.EmKeyUtil.main(EmKeyUtil.java:572)
Failed.
The Em Key is not Configured properly.Run "emctl status emkey" for details
ipadtest$
安裝grid control ( Oracle 10.2.0.3.0) 到配置OMS Configuration 的時候報錯 OUI-25031 , 需要打補丁Patch 8430622 , 在打補丁的過程中又發現有報錯 PLS-00201: identifier 'MGMT_TIME_SYNC.STARTUPSYNC' must be declared 。
OUI-25031錯誤具體參考文件: How to Recover From Enterprise Manager Grid Control 10g Base Releases (10.2.0.x.0) Installation Errors after 31-Dec-2010 [ID 1228103.1]
a.
不要關閉出現錯誤的session
b.
下載Patch 8430622 。Patch 8430622中描述的ORACLE_HOME ( $ORACLE_HOME/bin/emctl stop oms)
在這裡指的是$OMS_HOME, 不是Oracle RDBMS的ORACLE_HOME.
c.
先設定$ORACLE_HOME並停止oms
ipadtest$export
ORACLE_HOME=/u01/product/OracleHomes/oms10g/
ipadtest$echo $ORACLE_HOME
/u01/product/OracleHomes/oms10g/
ipadtest$cd /u01/product/OracleHomes/oms10g/
ipadtest$cd bin/
ipadtest$./emctl stop oms
Oracle Enterprise Manager 10g Release 3 Grid Control
Copyright (c) 1996, 2007 Oracle Corporation.
All rights reserved.
Oracle Management Server is Down.
d.
按照文件, apply patch後,
ipadtest$opmnctl stopall
opmnctl: stopping opmn and all managed processes...
ipadtest$
e.
Re-secure Oracle Management Service with the following command:
ipadtest$./emctl secure oms -reset
Oracle Enterprise Manager 10g Release 3 Grid Control
Copyright (c) 1996, 2007 Oracle Corporation.
All rights reserved.
Enter Enterprise Manager Root Password :
Enter Agent Registration password :
OPMN processes already stopped...
Done.
Securing central oms...
Started.
Checking Repository...
Done.
Checking Em Key...
ORA-06550: line 1, column 13:
PLS-00201: identifier 'MGMT_TIME_SYNC.STARTUPSYNC' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00201: identifier 'MGMT_TIME_SYNC.STARTUPSYNC' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:626)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1090)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2916)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3007)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4120)
at oracle.sysman.emSDK.conf.ConfigManager.startupEmKey(ConfigManager.java:495)
at oracle.sysman.emSDK.conf.ConfigManager.statusEmKeyInRepos(ConfigManager.java:753)
at oracle.sysman.eml.sec.rep.EmKeyUtil.statusEmKey(EmKeyUtil.java:264)
at oracle.sysman.eml.sec.rep.EmKeyUtil.main(EmKeyUtil.java:572)
Failed.
The Em Key is not Configured properly.Run "emctl status emkey" for details
ipadtest$
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-704033/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- PLS-00201: identifier 'MGMT_TIME_SYNC.STARTUPSYNC' must be declaredIDE
- Error: PLS-00201: identifier 'DBMS_AQ'must be declaredErrorIDE
- 安裝Grid Control
- 安裝10.2.0.4 Grid Control之前需要安裝 10.2.0.3.0 Grid Control
- Grid Control的安裝
- OCM實驗-grid control安裝
- OCM實驗-grid control agent安裝
- 如何解除安裝Oracle Grid ControlOracle
- zt_如何解除安裝oracle grid controlOracle
- 【GC】OEL4.8解除安裝重新部署安裝Grid Control OMSGC
- Oracle10g Grid Control客戶端的安裝Oracle客戶端
- 【GC】OEL4.8部署安裝 Grid Control OMSGC
- 安裝GRID CONTROL The OPMN Process Manager failed to start報錯處理AI
- 安裝Grid Control , OPMN Process Manager failed to start 問題解決AI
- 安裝Oracle 10g Grid Control 時碰到 OUI-25031Oracle 10gUI
- 安裝Oracle10.2.0.4 Grid Control 時Linux Packages找不到OracleLinuxPackage
- Solaris環境安裝Oracle Enterprise Manager 10g Grid ControlOracle
- 安裝Oracle Enterprise Manager 10g Grid Control Release 10.1.0.3Oracle
- Rman Backup Fails: PLS-00302: component 'GETREQUIREDSCN' must be declaredAIUI
- OEM Grid Control裡通過安裝Yast來監控和管理主機AST
- 【GC】使用 agentDownload.linux完成Grid Control Agent的快速部署安裝GCLinux
- GoldenGate , Grid ControlGo
- Linux 5.7現有資料庫上安裝Oracle10g Grid ControlLinux資料庫Oracle
- oracle grid control 10g 在redhat linux 4 下的安裝與配置OracleRedhatLinux
- 12.2.0.1.0 Grid RU安裝
- 12.2.0.1 Grid RUR 安裝
- 12.2 Grid RUR 安裝
- Oracle grid infrastructure 解除安裝OracleASTStruct
- oracle grid control etc/hostsOracle
- 準備安裝Oracle Enterprise Manager 10g Grid Control Release 2 (10.2.0.2.0)Oracle
- Step by step install grid control agent on linux 5.3 x86_64遠端安裝Linux
- 【GC】Grid Control 11gR1安裝過程中遭遇ERROR: invalid entry CRCGCError
- 【GC】未建立或丟失密碼檔案導致 Grid Control OMS無法正常安裝GC密碼
- Step by step install grid control agent on linux 5.3 x86_64遠端安裝(二)Linux
- 安裝grid軟體報錯
- 淺談zabbix和Grid control
- Grid能否安裝、是否正常安裝的校驗語法
- Cloud Control 13c 安裝Cloud