My Oracle Support Banner

EMCLI Fails with Errors: Some required configuration is missing.. (EM 12c) or No Locks Available (EM 11g) (Doc ID 1480978.1)

Last updated on FEBRUARY 13, 2019

Applies to:

Enterprise Manager Base Platform - Version to [Release 11.1 to 12.1]
Information in this document applies to any platform.


Enterprise Manager (EM) 12c Cloud Control emcli
Enterprise Manager 11g Grid Control emcli


The EM  emcli utility uses this command for setup prior to use:  emcli setup -url="https://<OMS.HOSTNAME.DOMAIN>:<PORT>/em" -user=<USER>

However, running this command fails with the following session errors:

For 11.1


2. Compile the program

This will create a TestLock.class file

3. Execute the program (example):

java TestLock No locks available
at Method)
at java.nio.channels.FileChannel.lock(
at TestLock.main(




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.