当前位置:首页 > 开发 > 数据库 > 正文

grid control 安装总结 (三)之EMD upload error: uploadXMLFiles skipped或忘记OMS密码

发表于: 2014-11-17   作者:czmmiao   来源:转载   浏览次数:
摘要: [oracle@anbob agent10g]$ bin/emctl upload agent Oracle Enterprise Manager 10g Release 10.2.0.1.0. Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved. ————————————————————— EMD upload err

[oracle@anbob agent10g]$ bin/emctl upload agent
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..

报上面的错误是因为OMS与AGENT通信不正常,很有可能是后来你修改了GRID CONTROL安装时某些配置使SSL证书无效,我认为我遇到这个错可能是我安装后修改了SYSMAN的密码。所以必须resecure agent。
1,emctl clearstate agent

2,emctl secure agent
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… Failed.
Invalid Agent Registration password.
The Agent has not been secured.

如果显示错误就是因为输入了错误的 Agent Registration password ,如果是你忘记了可以按照下面的方法,但是知道SYSMAN的密码,就可以WEB打开EM,从页面新建一个Registration password,方法是,打开em,SYSMAN登录,点右上角的SETUP,再点左边的registration passwords ,create a new reigstration password

做完上面的操作后,看我下面的方法

[oracle@anbob agent10g]$ bin/emctl upload agent
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..
: 

[oracle@anbob agent10g]$ bin/emctl stop agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Stopping agent ... stopped.

[oracle@anbob agent10g]$ pwd
/oracle10g/app/oracle/agent10g/agent10g

[oracle@anbob agent10g]$ cd sysman/emd/upload/
[oracle@anbob upload]$ ls
A0000001.xml                       B0000035.xml  D0000016.xml  D0000056.xml
A0000002.xml                       B0000036.xml  D0000017.xml  D0000057.xml
A0000003.xml                       B0000037.xml  D0000018.xml  D0000058.xml
A0000004.xml                       B0000038.xml  D0000019.xml  D0000059.xml
A0000005.xml                       B0000039.xml  D0000020.xml  D0000060.xml
anbob_host_host_configuration_old  B0000040.xml  D0000021.xml  D0000061.xml
B0000001.xml                       B0000041.xml  D0000022.xml  D0000062.xml
B0000002.xml                       B0000042.xml  D0000023.xml  D0000063.xml
B0000003.xml                       B0000043.xml  D0000024.xml  D0000064.xml
B0000004.xml                       B0000044.xml  D0000025.xml  D0000065.xml
B0000005.xml                       B0000045.xml  D0000026.xml  D0000066.xml
B0000006.xml                       B0000046.xml  D0000027.xml  D0000067.xml
B0000007.xml                       B0000047.xml  D0000028.xml  D0000068.xml
B0000008.xml                       B0000048.xml  D0000029.xml  D0000069.xml
B0000009.xml                       B0000049.xml  D0000030.xml  D0000070.xml
B0000010.xml                       C0000001.xml  D0000031.xml  D0000071.xml
B0000011.xml                       C0000002.xml  D0000032.xml  D0000072.xml
B0000012.xml                       C0000003.xml  D0000033.xml  D0000073.xml
B0000013.xml                       C0000004.xml  D0000034.xml  D0000074.xml
B0000014.xml                       C0000005.xml  D0000035.xml  D0000075.xml
B0000015.xml                       C0000006.xml  D0000036.xml  D0000076.xml
B0000016.xml                       C0000007.xml  D0000037.xml  D0000077.xml
B0000017.xml                       C0000008.xml  D0000038.xml  D0000078.xml
B0000018.xml                       C0000009.xml  D0000039.xml  D0000079.xml
B0000019.xml                       C0000010.xml  D0000040.xml  D0000080.xml
B0000020.xml                       D0000001.xml  D0000041.xml  D0000081.xml
B0000021.xml                       D0000002.xml  D0000042.xml  D0000082.xml
B0000022.xml                       D0000003.xml  D0000043.xml  D0000083.xml
B0000023.xml                       D0000004.xml  D0000044.xml  D0000084.xml
B0000024.xml                       D0000005.xml  D0000045.xml  D0000085.xml
B0000025.xml                       D0000006.xml  D0000046.xml  D0000086.xml
B0000026.xml                       D0000007.xml  D0000047.xml  D0000087.xml
B0000027.xml                       D0000008.xml  D0000048.xml  D0000088.xml
B0000028.xml                       D0000009.xml  D0000049.xml  D0000089.xml
B0000029.xml                       D0000010.xml  D0000050.xml  D0000090.xml
B0000030.xml                       D0000011.xml  D0000051.xml  D0000091.xml
B0000031.xml                       D0000012.xml  D0000052.xml  D0000092.xml
B0000032.xml                       D0000013.xml  D0000053.xml  D0000093.xml
B0000033.xml                       D0000014.xml  D0000054.xml
B0000034.xml                       D0000015.xml  D0000055.xml

[oracle@anbob upload]$ rm *
[oracle@anbob upload]$ ls
[oracle@anbob upload]$ cd ..
[oracle@anbob emd]$ ls
agntstmp.txt  lastupld.xml  recv   targets.xml                         upload
collection    protocol.ini  state  targets.xml.14-12-2011_04-37-21-PM

[oracle@anbob emd]$ cd state/
[oracle@anbob state]$ ls
0000.dlt  0020.dlt  0040.dlt  0060.dlt
0001.dlt  0021.dlt  0041.dlt  0061.dlt
0002.dlt  0022.dlt  0042.dlt  0062.dlt
0003.dlt  0023.dlt  0043.dlt  0063.dlt
0004.dlt  0024.dlt  0044.dlt  0064.dlt
0005.dlt  0025.dlt  0045.dlt  0065.dlt
0006.dlt  0026.dlt  0046.dlt  0066.dlt
0007.dlt  0027.dlt  0047.dlt  0067.dlt
0008.dlt  0028.dlt  0048.dlt  0068.dlt
0009.dlt  0029.dlt  0049.dlt  0069.dlt
0010.dlt  0030.dlt  0050.dlt  0070.dlt
0011.dlt  0031.dlt  0051.dlt  0071.dlt
0012.dlt  0032.dlt  0052.dlt  0072.dlt
0013.dlt  0033.dlt  0053.dlt  0073.dlt
0014.dlt  0034.dlt  0054.dlt  corr.save
0015.dlt  0035.dlt  0055.dlt  parse-log-BF52D7B7EA9D486AC55DEB1A6B8C46E0
0016.dlt  0036.dlt  0056.dlt  parse-log-BF52D7B7EA9D486AC55DEB1A6B8C46E0.ln
0017.dlt  0037.dlt  0057.dlt  progResUtil.log
0018.dlt  0038.dlt  0058.dlt  snapshot
0019.dlt  0039.dlt  0059.dlt  storage

[oracle@anbob state]$ rm -rf *
[oracle@anbob state]$ ls

[oracle@anbob state]$ cd ..
[oracle@anbob emd]$ cd ..
[oracle@anbob sysman]$ cd ..


[oracle@anbob agent10g]$ bin/emctl clearstate agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
EMD clearstate completed successfully

输入刚才新建的密码
[oracle@anbob agent10g]$ 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 is already 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 /oracle10g/app/oracle/agent10g/agent10g/sysman/config/emd.properties
Securing agent...   Successful.

[oracle@anbob agent10g]$ bin/emctl status agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent is Not Running
[oracle@anbob agent10g]$ bin/emctl start agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Starting agent ........... started.

[oracle@anbob agent10g]$ 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        : /oracle10g/app/oracle/agent10g/agent10g
Agent binaries    : /oracle10g/app/oracle/agent10g/agent10g
Agent Process ID  : 388
Parent Process ID : 369
Agent URL         : https://anbob:3872/emd/main/
Repository URL    : https://orazhang:1159/em/upload
Started at        : 2011-12-15 09:27:20
Started by user   : oracle
Last Reload       : 2011-12-15 09:27:20
Last successful upload                       : 2011-12-15 09:28:31
Total Megabytes of XML files uploaded so far :     5.58
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    13.73%
Last successful heartbeat to OMS             : 2011-12-15 09:27:33
---------------------------------------------------------------
Agent is Running and Ready

[oracle@anbob agent10g]$ bin/emctl upload agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully

 

参考至:http://www.anbob.com/archives/1295.html/comment-page-1

如有错误,欢迎指正

邮箱:czmcj@163.com

grid control 安装总结 (三)之EMD upload error: uploadXMLFiles skipped或忘记OMS密码

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
2.GC OMS安装(第二台机器部署) 1. 配置图形化 [oracle@ocm2 ~]$ xhost + access control disabled
$ORACLE_HOME/bin/lsnrctl start $ORACLE_HOME/bin/lsnrctl stop $ORACLE_HOME/bin/lsnrctl status
作者:david_zhang@sh 【转载时请以超链接形式标明文章】 链接:http://www.cnblogs.com/david-zhan
记录一下在RHEL4.6上部署安装10G Grid Control的过程。 Grid Control需要有自己的数据库用来存放管
VC控件用法总结之List Control 1.新建对话框MFC,在对话框上放一个ListCtrl ID:IDC_PATH View:Report
基本信息 OS: RHEL 5.6 64BITEnterprise-R5-U6-Server-x86_64-dvd.iso ORACLE: ORACLE 11.2.0.2 64B
安装主库各种补丁 setup new op [oracle@gc op]$ ll 总计 29688 drwxrwxr-x 8 oracle oinstall 4096
一直使用浏览器记录密码的方式登陆wordpress,直到有一天重装系统,而浏览器的记录又没有备份,结果
转自http://jingyan.baidu.com/article/7e440953f87f4a2fc0e2ef90.html Linux忘记 root密码的解决办
如果你是服务器是 windows xp/2000/2003/nt 都可以使用这个方法来找回丢失 MYSQL超级管理员root的密
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号