重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛

标题: 10g grid control删除agent后,重新安装报错:completed with status=255 [打印本页]

作者: 郑全    时间: 2014-7-18 01:00
标题: 10g grid control删除agent后,重新安装报错:completed with status=255

开始只删除了下面这两个目录,

/home/oracle/agentDownload10.2.0.1.0Oui

/u01/app/oracle/agent/

重新执行./agentDownload.linux -b /u01/app/oracle/agent安装到最后报错:completed with status=255

解决办法:

将/u01/app/oracle/oraInventory/ContentsXML/inventory.xml
文件中“HOME NAME="agent10g"“一行记录删除

[ORCL1@testdb1 /u01/app/oracle/oraInventory/ContentsXML]$pwd
/u01/app/oracle/oraInventory/ContentsXML
[ORCL1@testdb1 /u01/app/oracle/oraInventory/ContentsXML]$cat inventory.xml
<?xml version="1.0" standal ?>
<!-- Copyright (c) 2009 Oracle Corporation. All rights Reserved -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
   <SAVED_WITH>10.2.0.5.0</SAVED_WITH>
   <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OraDb10g_home1" LOC="/u01/app/oracle/product/10.2.0/db_1" TYPE="O" IDX="1"/>
<HOME NAME="agent10g" LOC="/u01/app/oracle/agent/agent10g" TYPE="O" IDX="2"/>
</HOME_LIST>
</INVENTORY>

总结:删除agent要删除上面三个地方。






欢迎光临 重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2