My Oracle Support Banner

EM 12c: Agent Installation Fails With Error 'root dir is not owned by root user' (Doc ID 1380296.1)

Last updated on APRIL 27, 2020

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.
Checked for relevance on 29-Jul-2013

Symptoms

Installing EM 12c Agent using the Response file fails as below:

$ ./agentDeploy.sh AGENT_BASE_DIR=<AGENT_BASE_DIR> RESPONSE_FILE=<AGENT_SW_STAGE_LOC>/rac2_agent.rsp
AGENT_BASE_DIR=<AGENT_BASE_DIR>

Validating the OMS_HOST & EM_UPLOAD_PORT
Executing command : <AGENT_BASE_DIR>/core/12.1.0.1.0/jdk/bin/java -classpath <AGENT_BASE_DIR>/core/12.1.0.1.0/jlib/agentInstaller.jar:<AGENT_BASE_DIR>/core/12.1.0.1.0/oui/jlib/OraInstaller.jar oracle.sysman.agent.installer.AgentInstaller <AGENT_BASE_DIR>/core/12.1.0.1.0 <AGENT_SW_STAGE_LOC> <AGENT_BASE_DIR> -prereq

Validating oms host & port with url: http://<OMS_HOSTNAME>:4889/empbs/genwallet
Validating oms host & port with url: https://<OMS_HOSTNAME>:4889/empbs/genwallet
Return status:0
Unzipping the agentcoreimage.zip to <AGENT_BASE_DIR> ....
12.1.0.1.0_PluginsOneoffs_226.zip
Executing command : <AGENT_SW_STAGE_LOC>/unzip -o <AGENT_SW_STAGE_LOC>/12.1.0.1.0_PluginsOneoffs_226.zip -d <AGENT_BASE_DIR>

Checking the ownership of agent base directory:<AGENT_BASE_DIR>
Checking for proper ownership on the agent base directory.
Checks whether the agent base directory is owned by the agent user oemgrid and that its parent directory is owned by either the agent user or root.
....
Login name is : <non-root username> & file owner is : <non-root username>
....
ERROR : root dir is not owned by root user.

Changes

 

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
Changes
Cause
Solution


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