• EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..


    今天想通过手动的方式上传下信息到GRID CONTROL MANAGEMENT REPOSITORY里,出现例如以下的错误(红色部分):

    [oracle@vmoel5u4 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        : /u01/app/oracle/product/10.2.0/agent10g
    Agent binaries    : /u01/app/oracle/product/10.2.0/agent10g
    Agent Process ID  : 4254
    Parent Process ID : 4239
    Agent URL         :
    http://vmoel5u4.oracle.com:3872/emd/main/
    Repository URL    : http://even.oracle.com:4889/em/upload/
    Started at        : 2012-12-03 20:12:41
    Started by user   : oracle
    Last Reload       : 2012-12-03 21:42:59
    Last successful upload                       : (none)
    Last attempted upload                        : (none)
    Total Megabytes of XML files uploaded so far :     0.00
    Number of XML files pending upload           :      508
    Size of XML files pending upload(MB)         :    24.03
    Available disk space on upload filesystem    :    54.38%
    Last attempted heartbeat to OMS              : 2012-12-04 00:10:18
    Last successful heartbeat to OMS             : unknown
    ---------------------------------------------------------------
    Agent is Running and Ready
    [oracle@vmoel5u4 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.. 

     

    详细的解决方法例如以下 :

    步骤一。查看client的AGENT服务是否启动:

    [oracle@vmoel5u4 bin]$ $AGENT_HOME/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        : /u01/app/oracle/product/10.2.0/agent10g
    Agent binaries    : /u01/app/oracle/product/10.2.0/agent10g
    Agent Process ID  : 4254
    Parent Process ID : 4239
    Agent URL         :
    http://vmoel5u4.oracle.com:3872/emd/main/
    Repository URL    : http://even.oracle.com:4889/em/upload/
    Started at        : 2012-12-03 20:12:41
    Started by user   : oracle
    Last Reload       : 2012-12-03 21:42:59
    Last successful upload                       : (none)
    Last attempted upload                        : (none)
    Total Megabytes of XML files uploaded so far :     0.00
    Number of XML files pending upload           :      508
    Size of XML files pending upload(MB)         :    24.03
    Available disk space on upload filesystem    :    54.38%
    Last attempted heartbeat to OMS              : 2012-12-04 00:10:18
    Last successful heartbeat to OMS             : unknown
    ---------------------------------------------------------------
    Agent is Running and Ready
    从上面的Agent is Running and Ready就知道。client的agent是正常的。

     

    步骤二:查看server端的OMS 服务是否都正常。

    [oracle@even bin]$ cd $OMS_HOME/opmn/bin
    [oracle@even bin]$ ./opmnctl status

    Processes in Instance: EnterpriseManager0.even.oracle.com
    -------------------+--------------------+---------+---------
    ias-component      | process-type       |     pid | status 
    -------------------+--------------------+---------+---------
    DSA                | DSA                |     N/A | Down   
    HTTP_Server        | HTTP_Server        |       0 | NONE   
    LogLoader          | logloaderd         |     N/A | Down   
    dcm-daemon         | dcm-daemon         |    3634 | Alive  
    OC4J               | home               |    3635 | Alive  
    OC4J               | OC4J_EM            |    3638 | Alive  
    OC4J               | OC4J_EMPROV        |    3636 | Alive  
    WebCache           | WebCache           |    3648 | Alive  
    WebCache           | WebCacheAdmin      |    3633 | Alive

    从上面的红色部分能够看出HTTP_SERVER服务是不正常的,他的状态既然是NONE。

     

    步骤三:关闭OMS的全部服务。

    [oracle@even bin]$ ./opmnctl stopall
    opmnctl: stopping opmn and all managed processes...

     

    步骤四:又一次启动全部服务例如以下:
    [oracle@even bin]$ ./opmnctl startall
    opmnctl: starting opmn and all managed processes...
    [oracle@even bin]$ ./opmnctl status

    Processes in Instance: EnterpriseManager0.even.oracle.com
    -------------------+--------------------+---------+---------
    ias-component      | process-type       |     pid | status 
    -------------------+--------------------+---------+---------
    DSA                | DSA                |     N/A | Down   
    HTTP_Server        | HTTP_Server        |   32125 | Alive  
    LogLoader          | logloaderd         |     N/A | Down   
    dcm-daemon         | dcm-daemon         |     N/A | Down   
    OC4J               | home               |   32126 | Alive  
    OC4J               | OC4J_EM            |   32129 | Alive  
    OC4J               | OC4J_EMPROV        |   32131 | Alive  
    WebCache           | WebCache           |   32164 | Alive  
    WebCache           | WebCacheAdmin      |   32132 | Alive  

    从上面能够看出HTTP_SERVER如今是Alive的状态了。此状态时正常的。

     

    步骤5。又一次从client上传信息

    [oracle@vmoel5u4 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..
    [oracle@vmoel5u4 bin]$ ./emctl upload
    Oracle Enterprise Manager 10g Release 10.2.0.1.0. 
    Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
    ---------------------------------------------------------------
    EMD upload completed successfully

    步骤6,查看下信息是否上传成功:

    [oracle@vmoel5u4 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        : /u01/app/oracle/product/10.2.0/agent10g
    Agent binaries    : /u01/app/oracle/product/10.2.0/agent10g
    Agent Process ID  : 4254
    Parent Process ID : 4239
    Agent URL         : http://vmoel5u4.oracle.com:3872/emd/main/
    Repository URL    : http://even.oracle.com:4889/em/upload/
    Started at        : 2012-12-03 20:12:41
    Started by user   : oracle
    Last Reload       : 2012-12-03 21:42:59
    Last successful upload                       : 2012-12-04 00:43:27
    Total Megabytes of XML files uploaded so far :    24.50
    Number of XML files pending upload           :        0
    Size of XML files pending upload(MB)         :     0.00
    Available disk space on upload filesystem    :    54.47%
    Last successful heartbeat to OMS             : 2012-12-04 00:45:07
    ---------------------------------------------------------------
    Agent is Running and Ready
    从上面的红色的部分能够看出信息上传成功(pending upload = 0)。

    从这个案例能够看出假设OMS的某些重要的服务不正常的话。可能会有一些奇怪的错误。

  • 相关阅读:
    python3+requests接口自动化-其他接口封装
    python3+requests接口自动化-登陆模块封装
    python3+requests接口自动化-测试登陆
    python3+requests接口自动化-日志封装
    python3+requests接口自动化-配置文件
    python3接口自动化-run_all_case
    python3+requests接口自动化session操作
    selenium自动化-数据驱动2
    js弹出对话框
    "System.StackOverflowException"类型的未经处理的异常在SharingPlatform.dll中发生
  • 原文地址:https://www.cnblogs.com/wgwyanfs/p/7141453.html
Copyright © 2020-2023  润新知