Site icon IT Tutorial

How to Solve 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.

Hi,

You can get ”  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. ” error when Agent deploy is done in Oracle Cloud Control 13c.

 

The Oracle Management Server (OMS) host and port specified

If you got ” 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. ” error, probably Cloud Control host or Agent host does not resolve each other and you don’t use DNS Server for this.

 

 

 

When I check Cloud control host’s /etc/hosts file, i saw that there is no Agent host entry and Cloud control host does not resolve Agent host like following.

[root@CloudControl ~]# ping MehmetSalih
ping: unknown host MehmetSalih
[root@CloudControl ~]#


[root@MehmetSalih ~]# ping CloudControl
ping: unknown host CloudControl
[root@MehmetSalih ~]#

 

 

 

OMS_HOST and EM_UPLOAD_PORT is not available

 

To solve this problem, you should add hostnames and ip adresses of OMS Server and Agent Server to the both server’s /etc/hosts file.

 

[root@MehmetSalih ~]#
[root@MehmetSalih ~]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.63.63 MehmetSalih.localdomain MehmetSalih
192.168.63.64 CloudControl.localdomain CloudControl

[root@CloudControl ~]# vi /etc/hosts
[root@CloudControl ~]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.63.63 MehmetSalih.localdomain MehmetSalih
192.168.63.64 CloudControl.localdomain CloudControl

 

 

 

After adding hostname and ip adresses to the each other’s /etc/hosts file, problem have been solved and agent deploy is done successfully.

 

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )

Exit mobile version