13c: Enterprise Manager 13c Cloud Control OMS Fails to Start during Install or Upgrade with Error: "EMCLI_STATE_DIR" internal environment variable is not a valid directory

(Doc ID 2103029.1)

Last updated on FEBRUARY 08, 2016

Applies to:

Enterprise Manager Base Platform - Version and later
Information in this document applies to any platform.


The Enterprise Manager (EM) 13c Cloud Control OMS fails to start during Install/Upgrade with the following error logged in <OMS Oracle Home>/cfgtoollogs/omsca/omsca_<date stamp>.log:

Error: Value /oracle/emcli/oms_agent_files set for "EMCLI_STATE_DIR" internal environment variable is not a valid directory.
Action: Unset the environment variable or correct it to the directory that was specified
as the client directory when emcli was setup for the OMS.

<Jan 18, 2016 6:35:13 PM IST> <Error> <> <BEA-000000> <THREAD DUMP from JVM taken at 'Mon Jan 18 18:35:13 2016'

2016-01-18 18:35:13
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.80-b11 mixed mode):

"[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=10 tid=0x00007fd914006000 nid=0x4940 in Object.wait() [0x00007fd8f12f6000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x0000000767850000> (a weblogic.work.ExecuteThread)




Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms