Connection to the repository failed. Verify that the repository connection information provided is correct

oracle@ >emctl start oms

Oracle Enterprise Manager 11g Release 1 Grid Control

Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.

Starting WebTier…

WebTier Successfully Started

Starting Oracle Management Server…

Oracle Management Server is not functioning because of the following reason:

Connection to the repository failed. Verify that the repository connection information provided is correct.

SOLUTION:

>>first check the repository database is up and running,listerner is up and running or not.

if not then make them running up and fine.

>>now check :

oracle@ >emctl config oms -list_repos_details

Oracle Enterprise Manager 11g Release 1 Grid Control

Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.

Repository Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.176.224.211)(PORT=1522)))(CONNECT_DATA=(SID=emrep)))

Repository Host :

Repository SID  :

Repository User : SYSMAN

>>So problem is PORT=1522, which should be 1521, as per my running listener.

So now change the port using below command:

oracle@>emctl config oms -?store_repos_details -repos_conndesc <connect descriptor> -repos_user sysman

Example:

 oracle@>emctl config oms -store_repos_details -repos_conndesc "'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.176.224.211)(PORT=1521)))(CONNECT_DATA=(SID=emrep)))'" -repos_user sysman

Oracle Enterprise Manager 11g Release 1 Grid Control

Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.

Enter Repository User's Password :

Successfully stored repository details in Credential Store.

–Now cross check the details again:

oracle@ >emctl config oms -list_repos_details

Oracle Enterprise Manager 11g Release 1 Grid Control

Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.

Repository Connect Descriptor : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=10.196.224.211)(PORT=1521)))(CONNECT_DATA=(SID=emrep)))

Repository Host :

Repository SID  :

Repository User : sysman

oracle@ >emctl stop oms  -all              

Oracle Enterprise Manager 11g Release 1 Grid Control

Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.

Stopping WebTier…

WebTier Successfully Stopped

Stopping Oracle Management Server…

Oracle Management Server Successfully Stopped

Oracle Management Server is Down

oracle@ >emctl start oms

Oracle Enterprise Manager 11g Release 1 Grid Control

Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.

Starting WebTier…

WebTier Successfully Started

Starting Oracle Management Server…

Oracle Management Server Successfully Started

Oracle Management Server is Up

 

oracle@ >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 : nsnora005.nat.myrio.net

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

 

oracle@ >emctl secure unlock -console

Oracle Enterprise Manager 11g Release 1 Grid Control

Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.

Enter Enterprise Manager Root (SYSMAN) Password :

OMS Console is unlocked. HTTP ports too can be used to access console.

oracle@nsnora005.nat.myrio.net@ /export/home/oracle/Oracle/Middleware/agent11g/sysman/emd>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 : nsnora005.nat.myrio.net

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

Active CA ID: 1

You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply