ERROR: OMS_HOST cannot be null. Pass OMS_HOST value either as command-line arguments or in response file

advertisements

_____________________________________________________________________________________________________________________

The Eucharistic Miracles of the World
Error Description

Manual OEM agent deployment failed with following error.

[oracle@xlracnde101 agent12c]$ ./agentDeploy.sh AGENT_BASE_DIR=/u01/app/oracle/agent12c RESPONSE_FILE=/u01/app/oracle/agent12c/agent.rsp

ERROR: OMS_HOST cannot be null. Pass OMS_HOST value either as command-line arguments or in response file.

Solution Description 

Error is because the OEM Server OMS_HOST and port details are not properly mentioned in the response file. 

Step 1: you have to find out the proper HTTP upload port from the OEM server using following command.

$ ./bin/emctl status oms -details
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host        : OEMNode.prod01.net
HTTP Console Port          : 7788
HTTPS Console Port         : 7803
HTTP Upload Port           : 4889
HTTPS Upload Port          : 4903
EM Instance Home           : /u01/app/oracle/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u01/app/oracle/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1
Console URL: https://OEMNode.prod01.net:7803/em
Upload URL: https://OEMNode.prod01.net:4903/empbs/upload

WLS Domain Information
Domain Name            : GCDomain
Admin Server Host      : OEMNode.prod01.net
Admin Server HTTPS Port: 7102
Admin Server is RUNNING

Oracle Management Server Information
Managed Server Instance Name: EMGC_OMS1
Oracle Management Server Instance Host: OEMNode.prod01.net
WebTier is Up
Oracle Management Server is Up

BI Publisher is not configured to run on this host

Step 2:Add the following entry in agent.rsp file.

$ vi agent.rsp
OMS_HOST=10.101.5.10
EM_UPLOAD_PORT=4889
AGENT_REGISTRATION_PASSWORD=paygate1
advertisements
 
Step 3: Now execute the agentDeploy.sh

$ ./agentDeploy.sh AGENT_BASE_DIR=/u01/app/oracle/product/12.1.0/agent RESPONSE_FILE=/u01/installs/emagent/agent.rsp

_____________________________________________________________________________________________________________________

Website Stats

0 comments:

Post a Comment

Labels

Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2)
 

acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer