My Oracle Support Banner

emctl start oms Fails and EMGC_OMS1.out File Reports "emcli set for "EMCLI_STATE_DIR" internal environment variable is not a valid directory". (Doc ID 2349098.1)

Last updated on OCTOBER 29, 2019

Applies to:

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


$OMS_HOME/bin>./emctl start oms

Fails to start OMS and gives Oracle Management Service Could not be started.

$EM_INSTANCE_BASE/gc_inst/user_projects/domains/GCDomain/servers/EMGC_OMS1/logs/EMGC_OMS1.out reports following errors:

Error: Value /u01/app/oracle/middleware/agent/agent_inst/emcli 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 10, 2018 1:50:22 PM EST> <Error> <WebLogicServer> <BEA-000381> <ServerLifeCycle operation failed.
Message: halt call on WseeServiceActivator failed
at weblogic.wsee.runtime.JMSStoreRoutableIDMapper.shutdown(
at weblogic.wsee.runtime.WebServicesRuntime.shutdown(


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.