EM 12c, EM 13c: EMCLI commands Fail with Message: Error: Session expired. Run emcli login to establish a session

(Doc ID 1913968.1)

Last updated on SEPTEMBER 01, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

EMCLI command fails with the following error:

Error: Session expired. Run emcli login to establish a session

Example:

$<OMS_HOME>/bin>./emcli sync
Error: Session expired. Run emcli login to establish a session.

Cause

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