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
  • 2

Gokhan Atil is a database administrator who has hands-on experience with both RDBMS and noSQL databases, 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.


  1. Raghu


    I installed DB as repository with 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


    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 *