My Oracle Support Banner

EM 12c: Installing Agent using script fails with "ERROR: The instance directory ../agent_inst is not empty" (Doc ID 1525886.1)

Last updated on FEBRUARY 19, 2020

Applies to:

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


Installing Agent using script failed as below:


ERROR: The instance directory /u01/oracle/agent12c/agent/agent_inst is not empty. If you want to configure the Management Agent in the same instance home, then stop the existing agent, manually delete the targets monitored by this management agent from the Cloud Control console, and then manually delete the agent instance home associated with this Management Agent. If you want to configure the agent in a different instance home, then enter a new instance home location by passing AGENT_INSTANCE_HOME argument.


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

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