GC安装错误2:agent安装后GC上找不到主机
来源:互联网 发布:erdai cms 编辑:程序博客网 时间:2024/05/19 00:15
问题描述:这个问题是在正常装Oms以及手工安装代理后发现gc上没有所有管理的主机,但是agent及oms的检查均正常,最后经过执行安全认证解决。
检查未发现dbserver1:
查看代理:
[oracle@dbserver1 ~]$ cd /apps/oracle/OracleHomes/agent10g/
[oracle@dbserver1 agent10g]$ cd bin/
[oracle@dbserver1 bin]$ ./emctl status agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.1.0
OMS Version : 10.2.0.1.0
Protocol Version : 10.2.0.0.0
Agent Home : /apps/oracle/OracleHomes/agent10g
Agent binaries : /apps/oracle/OracleHomes/agent10g
Agent Process ID : 6601
Parent Process ID : 6583
Agent URL : http://dbserver1:3872/emd/main/
Repository URL : http://dbserver2:4890/em/upload/
Started at : 2012-04-13 16:00:22
Started by user : oracle
Last Reload : 2012-04-13 16:00:22
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 40
Size of XML files pending upload(MB) : 10.54
Available disk space on upload filesystem : 36.68%
Last successful heartbeat to OMS : 2012-04-13 16:01:01
---------------------------------------------------------------
Agent is Running and Ready
查看OMS进程:
dbserver2->cd opmn/bin/
dbserver2->./opmnctl status
Processes in Instance: EnterpriseManager0.dbserver2
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 24863 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | 4528 | Alive
OC4J | home | 24864 | Alive
OC4J | OC4J_EM | 4610 | Alive
OC4J | OC4J_EMPROV | 24868 | Alive
WebCache | WebCache | 10686 | Alive
WebCache | WebCacheAdmin | 24869 | Alive
dbserver2->./opmnctl startproc ias-component="LogLoader"
opmnctl: starting opmn managed processes...
dbserver2->./opmnctl status
Processes in Instance: EnterpriseManager0.dbserver2
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | N/A | Down
HTTP_Server | HTTP_Server | 24863 | Alive
LogLoader | logloaderd | 4724 | Alive
dcm-daemon | dcm-daemon | 4528 | Alive
OC4J | home | 24864 | Alive
OC4J | OC4J_EM | 4610 | Alive
OC4J | OC4J_EMPROV | 24868 | Alive
WebCache | WebCache | 10686 | Alive
WebCache | WebCacheAdmin | 24869 | Alive
dbserver2->./opmnctl startproc ias-component="DSA"
opmnctl: starting opmn managed processes...
dbserver2->./opmnctl status
Processes in Instance: EnterpriseManager0.dbserver2
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
DSA | DSA | 4782 | Alive
HTTP_Server | HTTP_Server | 24863 | Alive
LogLoader | logloaderd | 4724 | Alive
dcm-daemon | dcm-daemon | 4528 | Alive
OC4J | home | 24864 | Alive
OC4J | OC4J_EM | 4610 | Alive
OC4J | OC4J_EMPROV | 24868 | Alive
WebCache | WebCache | 10686 | Alive
WebCache | WebCacheAdmin | 24869 | Alive
UPLOAD:
手工UPLOAD:
[oracle@dbserver1 bin]$ ./emctl upload
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
经过以上的检查发现agent正常,oms正常,但就是找不到这个agent,最后经过执行安装认证解决了这个问题:
执行安装认证:
[oracle@dbserver1 bin]$ ./emctl secure agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent successfully stopped... Done.
Securing agent... Started.
Requesting an HTTPS Upload URL from the OMS... Done.
Requesting an Oracle Wallet and Agent Key from the OMS... Done.
Check if HTTPS Upload URL is accessible from the agent... Done.
Configuring Agent for HTTPS in CENTRAL_AGENT mode... Done.
EMD_URL set in /apps/oracle/OracleHomes/agent10g/sysman/config/emd.properties
Securing agent... Successful.
Failed to restart agent...
[oracle@dbserver1 bin]$
最后检查:
- GC安装错误2:agent安装后GC上找不到主机
- GC安装错误3: agent部署:secure成功,在GC中找不到主机
- GC安装错误4:agent无法upload
- GC安装错误3:agent无法secure(未解决)
- GC安装错误1:安装agent出现:Hostname is not FQDN
- GC安装错误5:agent安装Can't find the jar utility
- GC安装错误6:agent安装Completed with Status=255
- centos5.2 安装gcc gc++
- GC启动agent失败
- GC重新配置agent
- 安装版Tomcat GC设置
- GC的安装 RHEL5上 libdb.so.2问题--gnome-libs-1.4.1.2.90-44.1
- gc()
- GC
- GC
- GC
- GC
- GC
- 规则验证的简单应用
- asp阿获取access所有表的代码
- android 开发常用网站
- asp阿获取access所有表的字段备注
- Object-C 中的Selector 概念
- GC安装错误2:agent安装后GC上找不到主机
- POJ 3253 Fence Repair (堆排序)
- 重装asp.net1.1和asp.net2.0
- samba"拒绝访问"
- 夏普IGZO-LCD科普:从底层谈IGZO
- 基于概率传导和热传导的推荐算法R语言代码
- 使用libxml提示libxml/tree.h找不到的问题解决
- 轻松学习C#开发CMPP2.0协议网关-2
- iphone之数据加载界面