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.

 

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 ~]#

 

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.

 

Mehmet Salih Deveci

I am Founder of 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 mehmetsalih.deveci@outlook.com. -                                                                                                                                                                                                                                                 - Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  mehmetsalih.deveci@outlook.com a mail atabilirsiniz.

3 thoughts on “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.

  • May 12, 2019 at 7:51 am
    Permalink

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

    Reply
  • May 22, 2019 at 4:18 pm
    Permalink

    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..

    Reply