EM 12c Agent : Agent Installation Hangs at Prereqs. "/tmp/.com_ibm_tools_attach directory" owned by Root.

(Doc ID 1594017.1)

Last updated on NOVEMBER 06, 2013

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
IBM AIX on POWER Systems (64-bit)

Symptoms

On AIX platform , installing 12c  agent using agentDeploy.sh hangs at prereqs check.

 

$./agentDeploy.sh AGENT_BASE_DIR=/OEMAGENT11G/oracle/agent12cbase
AGENT_INSTANCE_HOME=/OEMAGENT11G/oracle/agent12cbase/agent_inst
OMS_HOST=oms.oracle.com EM_UPLOAD_PORT=1159 AGENT_PORT=1830
AGENT_REGISTRATION_PASSWORD=xxxxxx -ignorePrereqs

Validating the OMS_HOST & EM_UPLOAD_PORT
Executing command :
/OEMAGENT11G/oracle/agent12cbase/core/12.1.0.2.0/jdk/bin/java -classpath
/OEMAGENT11G/oracle/agent12cbase/core/12.1.0.2.0/jlib/agentInstaller.jar:/OEMAGENT11G/oracle/agent12cbase/core/12.1.0.2.0/oui/jlib/OraInstaller.jar
oracle.sysman.agent.installer.AgentInstaller
/OEMAGENT11G/oracle/agent12cbase/core/12.1.0.2.0 /OEMAGENT11G/oracle/software
/OEMAGENT11G/oracle/agent12cbase -prereq

Validating oms host & port with url: http://oms.oracle.com:1159/empbs/genwallet
Validating oms host & port with url: https://oms.oracle.com:1159/empbs/genwallet
Return status:

 

$tail -100f agentDeploy_2013-08-06_12-52-02-PM.log
INFO: /OEMAGENT11G/oracle/agent12cbase/core/12.1.0.2.0
INFO: /OEMAGENT11G/oracle/software
INFO: /OEMAGENT11G/oracle/agent12cbase
INFO: AGENT_BASE_DIR=/OEMAGENT11G/oracle/agent12cbase
INFO: AGENT_INSTANCE_HOME=/OEMAGENT11G/oracle/agent12cbase/agent_inst
INFO: OMS_HOST=oms.oracle.com
INFO: EM_UPLOAD_PORT=1159
INFO: AGENT_PORT=1830
INFO: AGENT_BASE_DIR=/OEMAGENT11G/oracle/agent12cbase
INFO: AGENT_INSTANCE_HOME=/OEMAGENT11G/oracle/agent12cbase/agent_inst
INFO: OMS_HOST=oms.oracle.com
INFO: EM_UPLOAD_PORT=1159
INFO: AGENT_PORT=1830
INFO:  Setting the system property ORACLE_HOSTNAME to:
INFO: Validating oms host & port with url:
http://oms.oracle.com:1159/empbs/genwallet
SEVERE: Connection refusedUnexpected end of file from server
INFO: Validating oms host & port with url:
https://oms.oracle.com:1159/empbs/genwallet
INFO: Return Status in https block:3

 

 

from Truss o/p


IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH) Err#13 EACCES
58196120:       80085127: chmod("/tmp/.com_ibm_tools_attach/_master", 0777)
Err#1  EPERM
58196120:       80085127: thread_tsleep(0x00000001, 0xF02614F4, 0x00000000,
0x00000000) = 0x00000000
58196120:       80085127: statx("/tmp/.com_ibm_tools_attach/_master",
0x32EBF360, 128, 010) = 0
58196120:       80085127: kopen("/tmp/.com_ibm_tools_attach/_master",
O_WRONLY|O_CREAT|O_LARGEFILE,
S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH)
Err#13 EACCES
58196120:       80085127: chmod("/tmp/.com_ibm_tools_attach/_master", 0777)
Err#1  EPERM


OR

 Any emctl commands on AIX platform hangs.

 

 

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