Monday, September 22, 2014

Troubleshooting OEM12c,

This  is quite natural  error at the time of configuring oms server / at the time of maintenance of server.
The behavior is something like below.
[oracle@oem12c bin]$./emctl status oms
WebTier is Up
Oracle Management Server is Down

even after we try couple of start/stop operations also, may not helpful in bring the oms up.

$./emctl start oms
Starting WebTier...
WebTier Successfully Started
Starting Oracle Management Server...
Oracle Management Server is Down



In emctl.log we can see the below errors
·         Failed to connect to em login page
·         Encountered error while hitting page. Status codes are 404 for console and 500 for PBS
·         Connection exception when trying to hit OMS page. OMS is down


So all you have to do is, need to follow a sequence to bring it up,
 ·         stop the oms repository forcibly
       emctl stop oms -force
·         Bring the repository database listener first.
·         Check the listener services
       lsncrctl services
·         Next bring the repository database up.
·         Check the connectivity for sysman user from sqlplus,  in case of any problems with the password/account lock resolve them .
·         And then start the oms .
       emctl start oms



Now it's succefully started and you are supposed to get acces to the login page.

Thanks for reading the posting...!