EM13c: EMCLI shows "The command name "create_job" is not a recognized command."
(Doc ID 2422939.1)
Last updated on JUNE 25, 2021
Applies to:Enterprise Manager Base Platform - Version 220.127.116.11.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 : /emcli_home/emcli_state_dir/.emcli
Verb Jars Home : null
Status : Configured
EM CLI Home : /s01/oracle/emcli
EM CLI Version : 18.104.22.168.0
Java Home : /agent_home/agent_22.214.171.124.0/oracle_common/jdk/jre
Java Version : 1.7.0_131
Log file : /emcli_home/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
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