This discussion is archived
3 Replies Latest reply: Nov 10, 2012 8:34 AM by MarGur RSS

Find out OMS_PORT number?

user8952507 Newbie
Currently Being Moderated
Hi,

While editing additional_agent.rsp file, I have to supply my OMS_PORT number on my 11gR2 GC admin server, but I can not find it in the E:\Oracle\Middleware\oms11g\install\portlist.ini file. The file is empty; however, it looks like Middleware is installed on my 11gR2 GC admin server.

Here is part of my additional_agent.rsp file
.........
ORACLE_AGENT_HOME_LOCATION="E:\app\Middleware"
OMS_HOST="dba-admin"
OMS_PORT="?????????"

However, when I try to use default OMS_PORT=4900, I get an error "management service on host dba-admin at port 4900 is unreachable" when installing oracle management agent on my rac nodes.

Here is the info:

*** Specify Oracle Management Service Location ***
The specified Management Service on host dba-admin at port 4900 is unreachable. Check the connection details for the Management Service to ensure that you entered the value for the host name correctly

ERROR: Silent Install has failed. Please check the log files for more details.

This is the output on my GC admin server:

E:\Oracle\Middleware\oms11g\BIN>emctl status oms
Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
WebTier is Up
Oracle Management Server is Up

E:\Oracle\Middleware\oms11g\BIN>emctl status oms -details
Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host : dba-admin
HTTP Console Port : 7788
HTTPS Console Port : 7799
HTTP Upload Port : 4889
HTTPS Upload Port : 1159
OMS is not configured with SLB or virtual hostname
Agent Upload is locked.
OMS Console is locked.
Active CA ID: 1


Question: Do I have to manually configure OMS on my 11gR2 GC admin server? If yes, how? If not, where do I find out OMS_PORT number & how do I fix the error? It looks like the agent & console are locked, why? Any helps are appreciated.


Thanks,
-Chris
  • 1. Re: Find out OMS_PORT number?
    user8952507 Newbie
    Currently Being Moderated
    Got it figured out.

    E:\Oracle\Middleware\oms11g\BIN>emctl status oms -details
    Oracle Enterprise Manager 11g Release 1 Grid Control
    Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
    Enter Enterprise Manager Root (SYSMAN) Password :
    Console Server Host : dba-admin
    HTTP Console Port : 7788
    HTTPS Console Port : 7799
    HTTP Upload Port : 4889
    HTTPS Upload Port : 1159 <-- THIS IS OMS_PORT in additional_agent.rsp file
    OMS is not configured with SLB or virtual hostname
    Agent Upload is locked.
    OMS Console is locked.
    Active CA ID: 1

    E:\Oracle\Middleware\oms11g\BIN>emctl secure unlock

    E:\Oracle\Middleware\oms11g\BIN>emctl status oms -details
    ..........
    Agent Upload is unlocked.
    OMS Console is unlocked.


    E:\Oracle\Middleware\oms11g\BIN>emctl stop oms

    E:\Oracle\Middleware\oms11g\BIN>emctl start oms

    Now restart GC agent installation & it went by a champ!!!!
  • 2. Re: Find out OMS_PORT number?
    761390 Newbie
    Currently Being Moderated
    Thank you sooo much for this post, it greatly helped me.
  • 3. Re: Find out OMS_PORT number?
    MarGur Newbie
    Currently Being Moderated
    Thank you!!
    Saved my day!!!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points