My Oracle Support Banner

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

Last updated on FEBRUARY 13, 2019

Applies to:

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

Symptoms

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
javac TestLock.java

This will create a TestLock.class file

3. Execute the program (example):

java TestLock
java.io.IOException: No locks available
at sun.nio.ch.FileChannelImpl.lock0(Native Method)
at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:887)
at java.nio.channels.FileChannel.lock(FileChannel.java:876)
at TestLock.main(TestLock.java:14)

 

 

Cause

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
Symptoms
Cause
Solution
References


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