My Oracle Support Banner

EM13c: EMCLI shows "The command name "create_job" is not a recognized command." (Doc ID 2422939.1)

Last updated on JULY 13, 2018

Applies to:

Enterprise Manager Base Platform - Version 13.1.0.0.0 and later
Information 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 : /d01/oracle/emcli/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 : /d01/oracle/OEM/OEM_13c/agent_13.2.0.0.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

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!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.