EM 12c推送Agent出錯 - OMS_HOST and EM_UPLOAD_PORT is not available

tolywang發表於2015-12-30
EM 12c主機  szhs171-or.szhw.com
要手工add target加入的主機:  szhs135-or, szhs136-or, szhs167-or。 

ssa_admin 使用者登陸em 12c console後, 選擇"設定" -> "新增目標" -> "手動新增目標",選擇 "新增主機目標",點選新增主機按鈕。
按照要求填寫一些目錄及登陸許可權資訊後,點選部署。部署到最後一項時報錯,提示如下:  

log檔案位置: 
szhs171-orszhw.com:/data01/app/oracle/product/gc_inst/em/EMGC_OMS1/sysman/agentpush/2015-12-30_14-09-39-PM/
applogs/szhs136-orszhw.com_deploy.log

報錯資訊:  
Execution of command /data01/em12c/agent/ADATMP_2015-12-30_14-09-39-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=
szhs136-or.szhw.comAGENT_BASE_DIR=/data01/em12c/agent OMS_HOST=szhs171-or.szhw.comEM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME
=/data01/em12c/agent/agent_inst b_doDiscovery=false b_startAgent=false b_forceInstCheck=true AGENT_PORT=3872 on host szhs136-or.szhw.comFailed

Cause -- 
Error Message: The Oracle Management Server (OMS) host and port specified via OMS_HOST and EM_UPLOAD_PORT is not available. Pass in a valid 
hostname and port number for the OMS to successfully deploy the agent.
Exit Code :1

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

Execution of command (cd /data01/em12c/agent/core/12.1.0.4.0/cfgtoollogs && /data01/em12c/agent/core/12.1.0.4.0/bin/zip -q -r /tmp
/remoteArchivesszhs136-orszhw.com2015-12-30_02-28-30-PM.zip * ) on host szhs136-or.szhw.comFailed

Cause -- 
Error Message:/bin/sh: /data01/em12c/agent/core/12.1.0.4.0/bin/zip: No such file or directory
Exit Code :127

總體感覺就是 OMS主機對應upload埠 4903 不能訪問,可能是防火牆問題,更換了一個與EM等主機在同一個網段的機器登陸console進行操作,
果不其然,是防火牆問題,部署配置完成。 



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-1967832/,如需轉載,請註明出處,否則將追究法律責任。

相關文章