EMCLI Commands Fail with 'The Specified Configuration Directory "/root/.emcli" is Missing, Inaccessible, or Insecure (Access Permissions Are Too Liberal)'

(Doc ID 1593917.1)

Last updated on NOVEMBER 25, 2014

Applies to:

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

Symptoms

Use Case 1

Executing any EMCLI command fails with the following error:

Example:  $emcli login -username=sysman
Error: The specified configuration directory "/root/.emcli" is missing, inaccessible, or insecure (access permissions are too liberal).
Resolve the problem and run setup.

When trying to execute the same command using "root" user, the EMCLI command executes successfully.

Use Case 2

Executing emcli setup fails with the following errors:

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