EM13c: EMCLI shows "The command name "create_job" is not a recognized command."
(Doc ID 2422939.1)
Last updated on AUGUST 19, 2022
Applies to:
Enterprise Manager Base Platform - Version 13.1.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
EM13c
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 : 13.2.0.0.0
Java Home : /agent_home/agent_13.2.0.0.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
Changes
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 |
Changes |
Cause |
Solution |