Skip to Main Content

Enterprise Manager


For appeals, questions and feedback, please email

OEM agent install fails

Tom Lester-OracleJul 8 2014 — edited Jul 10 2014

Hi all -

I'm having an issue with a dozen or so hosts.  I have a silent install that I have used to deploy to a couple thousand hosts with no problem.  Now...  I'm having trouble with these hosts.  I thought it was this:  MOS 1457347.1  and it might still be.  But, their resolution didn't help.   A couple of things to note... these are all hosts that have Oracle DB's already running on them.  Also..  there is not a /usr/lib/oracle directory.  When I try to run an emctl agent status after this runs, I get:

/home/oemagent/agent_inst/core/ line 457: /usr/lib/oracle/agent/core/ No such file or directory. 

When I try to run the solution in MOS 1457347.1, I get the same error for java (not found under /usr/lib/oracle/...).

It really feels like it has something to do with the oraInv.loc or something.  There is already an oraInventory in /u01/app/oraInventory.  I changed the permissions to 777 on this directory (not recursive) and that didn't help.  There IS a /etc/oraInst.loc file owned by root and 644. 

[root@XXXXXXX tmp]# cat /etc/oraInst.loc



Any clues?  Any help is very appreciated.


Unpacking software....


  inflating: unzip                  



  inflating: agent.rsp              



Validating the OMS_HOST & EM_UPLOAD_PORT

Executing command : /home/oemagent/agent_inst/core/ -classpath /home/oemagent/agent_inst/core/ oracle.sysman.agent.installer.AgentInstaller /home/oemagent/agent_inst/core/ /tmp/oem_agent_tmp.114312 /home/oemagent/agent_inst -prereq

Inventory Location: /home/oemagent/agent_inst/oraInventory pointed by inventory pointer location: /home/oemagent/agent_inst/oraInst.loc does not exist.

Validating oms host & port with url:

Validating oms host & port with url:

Return status:3-oms https port is passed

Unzipping the to /home/oemagent/agent_inst ....

Executing command : /tmp/oem_agent_tmp.114312/unzip -o /tmp/oem_agent_tmp.114312/ -d /home/oemagent/agent_inst

Executing command : /home/oemagent/agent_inst/core/ -classpath /home/oemagent/agent_inst/core/ oracle.sysman.agent.installer.AgentInstaller /home/oemagent/agent_inst/core/ /tmp/oem_agent_tmp.114312 /home/oemagent/agent_inst /home/oemagent/agent_inst/agent_inst AGENT_BASE_DIR=/home/oemagent/agent_inst

Cloning the agent home...

Executing command: /home/oemagent/agent_inst/core/ -debug   -ignoreSysPrereqs -clone -forceClone -silent -waitForCompletion -nowait ORACLE_HOME=/home/oemagent/agent_inst/core/   AGENT_BASE_DIR=/home/oemagent/agent_inst AGENT_BASE_DIR=/home/oemagent/agent_inst AGENT_REGISTRATION_PASSWORD=p4aSa_s5 EM_UPLOAD_PORT=4900 AGENT_PORT=3872 b_startAgent=true -noconfig  ORACLE_HOME_NAME=agent12c1 -invPtrLoc /home/oemagent/agent_inst/oraInst.loc -force b_noUpgrade=true

Clone Action Logs Location:/home/oemagent/agent_inst/oraInventory/logs/cloneActions<timestamp>.log

Cloning of agent home completed successfully

Attaching sbin home...

Executing command: /home/oemagent/agent_inst/core/ -debug   -ignoreSysPrereqs -attachHome -waitForCompletion -nowait ORACLE_HOME=/home/oemagent/agent_inst/sbin ORACLE_HOME_NAME=sbin12c1 -invPtrLoc /home/oemagent/agent_inst/oraInst.loc -force

Attach Home Logs Location:/home/oemagent/agent_inst/core/<timestamp>.log

Attach home for sbin home completed successfully.

Updating home dependencies...

Executing command: /home/oemagent/agent_inst/core/ -debug   -ignoreSysPrereqs -updateHomeDeps -waitForCompletion HOME_DEPENDENCY_LIST={/home/oemagent/agent_inst/sbin:/home/oemagent/agent_inst/core/} -invPtrLoc /home/oemagent/agent_inst/core/ -force

Update Home Dependencies Location:/home/oemagent/agent_inst/core/<timestamp>.log

ERROR: Update home dependency failed.

Note:  This file doesn't exist:  /home/oemagent/agent_inst/core/<timestamp>.log

Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2014
Added on Jul 8 2014