Enterprise Manager 12c: AdminServer Could Not Be Started

I got an error when trying to start Oracle Enterprise Manager Cloud Control 12c. It says AdminServer couldn’t be started:

When I examined the EMGC_ADMINSERVER.out file, I see that “<BEA-141281> <unable to get file lock, will retry …> weblogic.management.ManagementException: Unable to obtain lock” message. As you know, Enterprise Manager Cloud Control uses Weblogic. Weblogic uses “lock” (*.lok) files to prevent a server to run multiple times. I checked if EMGC_ADMINSERVER is running:

and see that it’s not up, so it’s obvious that somehow locks files were not properly cleaned. I shutdown the rest of OMS processes:

then searched for the lock files and removed them

After removing the lock files, I succesfully started OMS including AdminServer.

Please share this post Share on Facebook1Share on Google+0Share on LinkedIn5Share on Reddit0Tweet about this on Twitter

Gokhan Atil is a database administrator who has hands-on experience with both RDBMS and noSQL databases (Oracle, PostgreSQL, Microsoft SQL Server, Sybase IQ, MySQL, Cassandra, MongoDB and ElasticSearch), and strong background on software development. He is certified as Oracle Certified Professional (OCP) and is awarded as Oracle ACE (in 2011) and Oracle ACE Director (in 2016) for his continuous contributions to the Oracle users community.

4 Comments

  1. Raghu

    Hi

    I installed 11.2.0.3 DB as repository with 12.1.0.4 OEM .Installation went fine.

    All OMS and agents are up and running.

    I am unable to open em console.Any idea why em console is not opening when the all services are properly up and running.

    • Gokhan Atil

      Raghu, what happens when you try to connect to EM console? Are you sure that you try to connect to the correct URL? Could you share the output of the following command?

      $OMS_HOME/bin/emctl status oms -details

  2. Brij

    Hi,

    As per your guideline it is working fine & issue got resolve.

    Thank you very much..

Leave Comment

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