EM13c: EMCLI shows "The command name "create_job" is not a recognized command."
Last updated on JULY 13, 2018
Applies to:Enterprise Manager Base Platform - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
Trying to use emcli to execute "create_job" verb and receive an error that create_job is not a recognized command:
./emcli create_job -input_file=property_file:"/oracle/deploy/test.job"
Error: The command name "create_job" is not a recognized command.
Run the "help" command for a list of recognized commands.
You may also need to run the "sync" command to synchronize with the current OMS.
The emcli sync command is executed and successful.
emcli status shows:
Oracle Enterprise Manager 13c Release 2 EM CLI.
Copyright (c) 1996, 2016 Oracle Corporation and/or its affiliates. All rights reserved.
Instance Home : /d01/oracle/emcli/emcli_state_dir/.emcli
Verb Jars Home : null
Status : Configured
EM CLI Home : /s01/oracle/emcli
EM CLI Version : 188.8.131.52.0
Java Home : /d01/oracle/OEM/OEM_13c/agent_184.108.40.206.0/oracle_common/jdk/jre
Java Version : 1.7.0_131
Log file : /d01/oracle/emcli/emcli_state_dir/.emcli/.emcli.log
Log level : SEVERE
EM URL : https://myomshost.mydomain:<port>/em
EM user : sysman
Auto login : false
Trust all certificates : true
Note that the expected Java path shows as null: Verb Jars Home : null
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