My Oracle Support Banner

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 APRIL 04, 2019

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

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
Cause
 Use Case 1
 Use Case 2 (12c only)
 Use Case 3
 Use Case 4 (12c only)
Solution
 Solution for Use Case 1
 Solution for Use Case 2 (12c only)
 Solution for Use Case 3
 Solution for Use Case 4 (12c only)
References

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