Error import_update_catalog Using emcli

Today I get the next error when I was importing an offline repository to the OMS (Version 12c);

 
Error: The command name "import_update_catalog" 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 command was;

 
./emcli import_update_catalog -file=/oracle/anr_donwloads/p9348486_112000_Generic.zip -omslocal

Like the error message show us, you need to execute a synchronize, but you need first log, as show below;

 
oms> ./emcli login -username='SYSMAN'
Enter password : 

Login successful 

oms> ./emcli sync
Synchronized successfully

### Reexecute the import command 

HTH – Antonio NAVARRO

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s