EM 12c: Agent Installation Fails With Error 'root dir is not owned by root user'

(Doc ID 1380296.1)

Last updated on JUNE 01, 2016

Applies to:

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


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

$ ./agentDeploy.sh AGENT_BASE_DIR=/emcc/agent12c RESPONSE_FILE=/u01/agent12cStage/rac2_agent.rsp

Validating the OMS_HOST & EM_UPLOAD_PORT
Executing command : /emcc/agent12c/core/ -classpath /emcc/agent12c/core/ oracle.sysman.agent.installer.AgentInstaller /emcc/agent12c/core/ /u01/agent12cStage /emcc/agent12c -prereq

Validating oms host & port with url: http://vboddeti-pc.idc.oracle.com:4889/empbs/genwallet
Validating oms host & port with url: https://vboddeti-pc.idc.oracle.com:4889/empbs/genwallet
Return status:0
Unzipping the agentcoreimage.zip to /emcc/agent12c ....
Executing command : /u01/agent12cStage/unzip -o /u01/agent12cStage/ -d /emcc/agent12c

Checking the ownership of agent base directory:/emcc/agent12c
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 : oemgrid & file owner is : oemgrid
ERROR : root dir is not owned by root user.


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