10.2.0.5启动enterprise manager

OEM作为一个实用工具,随着10g和11g的普及,OEM功能越来越强大,oem也应用越来越广泛。但是如果是10.2.0.5的版本,并且安装时间在2010年1月之后,可能会遇到OEM无法启动的情况,这是应该实用补丁包8350262,进行修复,具体我们来看一下。

# su - oracle

$ emctl start dbconsole 启动OEM

Oracle Enterprise Manager 10g Database Control Release 10.2.0.5.0

Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.

https://ipapdb1:1158/em/console/aboutApplication

Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.

------------------------------------------------------------------

Logs are generated in directory /oracle/db/ipapdb2_ipapweb2/sysman/log

$ /oracle/crs/OPatch/opatch lsinventory 查看oem软件实用情况,可以看到没有对应的patch包被使用

Invoking OPatch 10.2.0.4.9

Oracle Interim Patch Installer version 10.2.0.4.9

Copyright (c) 2009, Oracle Corporation.  All rights reserved.

Oracle Home       : /oracle/db

Central Inventory : /oracle/oraInventory

from           : /etc/oraInst.loc

OPatch version    : 10.2.0.4.9

OUI version       : 10.2.0.5.0

OUI location      : /oracle/db/oui

Log file location : /oracle/db/cfgtoollogs/opatch/opatch2013-11-21_12-33-57PM.log

Patch history file: /oracle/db/cfgtoollogs/opatch/opatch_history.txt

Lsinventory Output file location : /oracle/db/cfgtoollogs/opatch/lsinv/lsinventory2013-11-21_12-33-57PM.txt

--------------------------------------------------------------------------------

Installed Top-level Products (2):

Oracle Database 10g                                                  10.2.0.1.0

Oracle Database 10g Release 2 Patch Set 4                            10.2.0.5.0

There are 2 products installed in this Oracle Home.

There are no Interim patches installed in this Oracle Home.

Rac system comprising of multiple nodes

Local node = ipapdb1

Remote node = ipapdb2

--------------------------------------------------------------------------------

OPatch succeeded.

$ emctl stop dbconsole    停止oem

Oracle Enterprise Manager 10g Database Control Release 10.2.0.5.0

Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.

https://ipapdb1:1158/em/console/aboutApplication

Stopping Oracle Enterprise Manager 10g Database Control ...

...  Stopped.

$ ls

crs                         emdpatch.pl                 ocm                         opatch.ini                  opatchprereqs

docs                        jlib                        opatch                      opatch.pl                   p8350262_10205_Generic.zip

上传补丁包到/oracle/crs/OPatch安装集群OEM,上传到/oracle/db/OPatch则安装单机OEM,然后解压安装即可。

$ unzip p8350262_10205_Generic.zip解压补丁文件

Archive:  p8350262_10205_Generic.zip

creating: 8350262/

inflating: 8350262/killDBConsole

creating: 8350262/files/

creating: 8350262/files/sysman/

creating: 8350262/files/sysman/jlib/

creating: 8350262/files/sysman/jlib/emCORE.jar/

creating: 8350262/files/sysman/jlib/emCORE.jar/oracle/

creating: 8350262/files/sysman/jlib/emCORE.jar/oracle/sysman/

creating: 8350262/files/sysman/jlib/emCORE.jar/oracle/sysman/eml/

creating: 8350262/files/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/

creating: 8350262/files/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/fsc/

inflating: 8350262/files/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/fsc/FSWalletUtil.class

creating: 8350262/files/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/util/

inflating: 8350262/files/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/util/RootCert.class

inflating: 8350262/files/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/util/SecConstants.class

creating: 8350262/files/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/rep/

inflating: 8350262/files/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/rep/RepWalletUtil.class

creating: 8350262/files/sysman/jlib/emd_java.jar/

creating: 8350262/files/sysman/jlib/emd_java.jar/oracle/

creating: 8350262/files/sysman/jlib/emd_java.jar/oracle/sysman/

creating: 8350262/files/sysman/jlib/emd_java.jar/oracle/sysman/eml/

creating: 8350262/files/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/

creating: 8350262/files/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/fsc/

inflating: 8350262/files/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/fsc/FSWalletUtil.class

creating: 8350262/files/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/util/

inflating: 8350262/files/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/util/RootCert.class

inflating: 8350262/files/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/util/SecConstants.class

creating: 8350262/files/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/rep/

inflating: 8350262/files/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/rep/RepWalletUtil.class

inflating: 8350262/killDBConsole.pl

inflating: 8350262/README.txt

creating: 8350262/etc/

creating: 8350262/etc/xml/

inflating: 8350262/etc/xml/ShiphomeDirectoryStructure.xml

inflating: 8350262/etc/xml/GenericActions.xml

creating: 8350262/etc/config/

inflating: 8350262/etc/config/inventory

inflating: 8350262/etc/config/actions

inflating: ?Ζ拖尸-??txt

$cd 8350262    进入补丁目录

$ ./killDBConsole      确保OEM进程是关闭的

ORACLE_HOME=/oracle/db

ORACLE_SID=ipapweb2

State directory = /oracle/db/ipapdb2_ipapweb2

WatchDog is already stopped

DBConsole is already stopped

EMAgent is already stopped

$ /oracle/crs/OPatch/opatch apply  应用补丁

Invoking OPatch 10.2.0.4.9

Oracle Interim Patch Installer version 10.2.0.4.9

Copyright (c) 2009, Oracle Corporation.  All rights reserved.

Oracle Home       : /oracle/db

Central Inventory : /oracle/oraInventory

from           : /etc/oraInst.loc

OPatch version    : 10.2.0.4.9

OUI version       : 10.2.0.5.0

OUI location      : /oracle/db/oui

Log file location : /oracle/db/cfgtoollogs/opatch/opatch2013-11-21_13-55-51PM.log

Patch history file: /oracle/db/cfgtoollogs/opatch/opatch_history.txt

ApplySession applying interim patch '8350262' to OH '/oracle/db'

Running prerequisite checks...

OPatch detected the node list and the local node from the inventory.  OPatch will patch the local system then propagate the patch to the remote nodes.

Backing up files and inventory (not for auto-rollback) for the Oracle Home

Backing up files affected by the patch '8350262' for restore. This might take a while...

Backing up files affected by the patch '8350262' for rollback. This might take a while...

Patching component oracle.sysman.agent.core, 10.2.0.5.0a...

Updating jar file "/oracle/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/fsc/FSWalletUtil.class"

Updating jar file "/oracle/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/rep/RepWalletUtil.class"

Updating jar file "/oracle/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/util/RootCert.class"

Updating jar file "/oracle/db/sysman/jlib/emCORE.jar" with "/sysman/jlib/emCORE.jar/oracle/sysman/eml/sec/util/SecConstants.class"

Updating jar file "/oracle/db/sysman/jlib/emd_java.jar" with "/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/fsc/FSWalletUtil.class"

Updating jar file "/oracle/db/sysman/jlib/emd_java.jar" with "/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/rep/RepWalletUtil.class"

Updating jar file "/oracle/db/sysman/jlib/emd_java.jar" with "/sysman/jlib/emd_java.jar/oracle/sysman/eml/sec/util/RootCert.class"

Updating jar file "/oracle/db/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

Verifying the update...

Inventory check OK: Patch ID 8350262 is registered in Oracle Home inventory with proper meta-data.

Files check OK: Files from Patch ID 8350262 are present in Oracle Home.

Patching in rolling mode.

Updating nodes 'ipapdb2'

Apply-related files are:

FP = "/oracle/db/.patch_storage/8350262_Sep_13_2010_14_09_12/rac/copy_files.txt"

DP = "/oracle/db/.patch_storage/8350262_Sep_13_2010_14_09_12/rac/copy_dirs.txt"

MP = "/oracle/db/.patch_storage/8350262_Sep_13_2010_14_09_12/rac/make_cmds.txt"

RC = "/oracle/db/.patch_storage/8350262_Sep_13_2010_14_09_12/rac/remote_cmds.txt"

Instantiating the file

OPatch failed to copy directories to remote nodes 'ipapdb2' .  Detail: Error while copying files inside directory '/oracle/db' based on listed file '/oracle/db/.patch_storage/8350262_Sep_13_2010_14_09_12/rac/copy_dirs.txt.instantiated' with excludeListFile 'null' to nodes 'ipapdb2'. [PRKC-1078 : Failed to transfer directories listed in "/oracle/db/.patch_storage/8350262_Sep_13_2010_14_09_12/rac/copy_dirs.txt.instantiated" to any of the given nodes "ipapdb2 ":

Error on node ipapdb2:PRKC-1044 : Failed to check remote command execution setup for node ipapdb2 using shells /usr/bin/ssh and /usr/bin/rsh

rshd: 0826-813 Permission is denied.]

OPatch failed to copy directories to remote nodes 'ipapdb2' .

Do you want to proceed? [y|n]

Y                      确认一下

User Responded with: Y

--------------------------------------------------------------------------------

The following warnings have occurred during OPatch execution:

1) OUI-67188:

OPatch failed to copy directories to remote nodes 'ipapdb2' .  Detail: Error while copying files inside directory '/oracle/db' based on listed file '/oracle/db/.patch_storage/8350262_Sep_13_2010_14_09_12/rac/copy_dirs.txt.instantiated' with excludeListFile 'null' to nodes 'ipapdb2'. [PRKC-1078 : Failed to transfer directories listed in "/oracle/db/.patch_storage/8350262_Sep_13_2010_14_09_12/rac/copy_dirs.txt.instantiated" to any of the given nodes "ipapdb2 ":

Error on node ipapdb2:PRKC-1044 : Failed to check remote command execution setup for node ipapdb2 using shells /usr/bin/ssh and /usr/bin/rsh

rshd: 0826-813 Permission is denied.]

--------------------------------------------------------------------------------

OPatch Session completed with warnings.

OPatch completed with warnings.

$ /oracle/crs/OPatch/opatch lsinventory 查看oem软件实用情况

$ emctl start dbconsole        再次启动服务

端口被打开进入网页查看

https://IP:1158/em/console/aboutApplication

本文转自zsaisai 51CTO博客,原文链接:http://blog.51cto.com/3402313/1330054

10.2.0.5启动enterprise manager相关推荐

  1. 指南:在 linux 下的 Oracle Database 11g 中安装 Oracle Enterprise Manager 10g Grid Control 第 5 版

    原文地址:http://www.oracle.com/technetwork/cn/articles/revitt-oem-096363-zhs.html 作者:Mike Revitt 逐步详解如何针 ...

  2. 手动升级oracle,ORACLE 10.2.0.1手动升级到10.2.0.4

    ORACLE 10.2.0.1手动升级到10.2.0.4 1.解压zip包以及查看目录权限 p6810189_10204_Linux-x86-64.zip oracle@single-10g:/u01 ...

  3. oracle 10.2.0.1升级到10.2.0.4

    --********************************* -- Oracle 10.2.0.1 升级到 10.2.0.4 --****************************** ...

  4. 必须先说明组件oracle,Oracle Enterprise Manager 组件 说明 .

    一.    Enterprise Manager 组件说明 在说明之前,我们先用如下SQL 查看一下DB中的组件: SQL> col comp_id for a15 SQL> col ve ...

  5. ORACLE 10G修改主机名后EM Enterprise Manager无法启动的解决办法-Robert

    修改主机名从info到info-0073后,ORACLE EM (Enterprise Manager)无法启动,尝试手工解决.<?xml:namespace prefix = o ns = & ...

  6. Deploy Oracle 10.2.0.5 DataGuard on Red Hat Enterprise Linux 6.4

    系统:Red Hat Enterprise Linux 6.4 数据库:Oracle 10.2.0.5.0 Patch Set 4 主机:10dg1 192.168.1.91 10dg2192.168 ...

  7. Deploy Oracle 10.2.0.5 on Red Hat Enterprise Linux 6.4

    一.Linux系统安装和配置 1.安装系统时选Desktop 2.设置eth0网卡为静态IP,加入子网掩码,网关,DNS.并配置自己主动启动 3.改动/etc/hosts.加入主机名和相应IP 4.禁 ...

  8. redhat enterprise 5 上安装oracle 10.2.0.1

    安装oracle 10.2.0.1 在redhat enterprise linux 5 上安装oracle是一件浪费时间又有一点麻烦的事.装的时候最好参照老外的文章.因为我发现国内大多数人写的这方面 ...

  9. Android 10.0 Activity启动详解(二)

    Android 10.0 Activity启动详解(一) 我们在上一篇博客中已经介绍了关于Activity的一些基础概念.这一篇博客我们以Android 10.0的代码来分析Activity的启动流程 ...

最新文章

  1. 自己写的内存池Slabs
  2. HDU-1025 Constructing Roads In JGShining's Kingdom
  3. windows下对路由表的操作命令
  4. 20150127--Session入库
  5. 不同表_不同电脑剪视频的速度对比表20200617更新;附素材和方法
  6. 【code】Splay 模板
  7. js 闭包作用域和作用域链_Java:伪造工厂的闭包以创建域对象
  8. C++即时通讯实现原理及常见问题
  9. 后台管理,有无限可能
  10. 5G(2)---NR协议栈及功能1 - 总体架构与物理层
  11. iOS开发UI篇—推荐两个好用的Xcode插件(提供下载链接)
  12. Django 模板中变量、过滤器、标签的使用方法
  13. SQLServer中的系统表,存储过程和函数的功能及应用
  14. ACWING830 单调栈
  15. Nagios 监控温度感应器
  16. Git(8):在GitHub上,如何使fork到的项目与原仓库的更新保持同步?
  17. 交换机日志删除_锐捷交换机记录日志到flash功能详解 | 19号系统
  18. 算法---LeetCode 113. 路径总和 II
  19. 无中介租房搜房工具 V1.0
  20. 数智化升级:红蜻蜓的转型之路(上)

热门文章

  1. 1812:网格_指导设计:网格的历史
  2. 效率神器!UI 稿智能转换成前端代码
  3. TypeScript 原来可以这么香?!
  4. 谈谈- declare-styleable属性
  5. 教你在CorelDRAW中导入位图
  6. GNU/Linux与开源文化的那些人和事
  7. jqurey操作radio总结
  8. (转)直接拿来用!最火的iOS开源项目(一)
  9. java-developer 性能是怎么样的?
  10. 小凡模拟器:DynamipsGUI使用问题解决方法