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

AWS Big Data Specialist. Oracle Certified Professional (OCP) for EBS R12, Oracle 10g and 11g. Co-author of "Expert Oracle Enterprise Manager 12c" book published by Apress. Awarded as Oracle ACE (in 2011) and Oracle ACE Director (in 2016) for the continuous contributions to the Oracle users community. Founding member, and vice president of Turkish Oracle User Group (TROUG). Presented at various international conferences including Oracle Open World.


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

  3. Hamed

    HI errors in starting the oms in oracle 13c cloud control

    [oracle@training183 bin]$ ./emctl start oms
    Oracle Enterprise Manager Cloud Control 13c Release 2
    Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.
    Starting Oracle Management Server…
    WebTier Successfully Started
    Oracle Management Server Could Not Be Started
    Check EM Server log file for details: /home/oracle/gc_inst/user_projects/domains/GCDomain/servers/EMGC_OMS1/logs/EMGC_OMS1.out
    AdminServer Could Not Be Started
    Check Admin Server log file for details: /home/oracle/gc_inst/user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/logs/EMGC_ADMINSERVER.out
    Oracle Management Server is Down
    JVMD Engine is Down
    Starting BI Publisher Server …
    BI Publisher Server Could Not Be Started. Check BIP Server log file for details.
    BI Publisher Server Logs: /home/oracle/gc_inst/user_projects/domains/GCDomain/servers/BIP/logs/
    AdminServer Could Not Be Started
    Check Admin Server log file for details: /home/oracle/gc_inst/user_projects/domains/GCDomain/servers/EMGC_ADMINSERVER/logs/EMGC_ADMINSERVER.out
    BI Publisher Server is Down

    • Gokhan Atil

      Hi Hamed,

      You need to check the “out” files to see the details of the error(s).

Leave Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.