PLS-00201: identifier '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$

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-703983/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/35489/viewspace-703983/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值