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 )

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

5 comments

  1. This article is truly a pleasant one it helps new internet users, who are wishing for blogging.|

  2. hey there and thanks to your information – I’ve definitely picked up anything new from right here. I did then again experience several technical issues the use of this website, since I experienced to reload the site many instances prior to I may get it to load properly. I have been pondering in case your hosting is OK? Now not that I am complaining, however sluggish loading cases occasions will often have an effect on your placement in google and could damage your high quality rating if ads and ***********|advertising|advertising|advertising and *********** with Adwords. Anyway I’m adding this RSS to my e-mail and can glance out for a lot more of your respective intriguing content. Ensure that you replace this once more soon..

  3. Thank you so much valedor!

Leave a Reply

Your email address will not be published. Required fields are marked *