报错/u01/app/agent13c/agent_13.1.0.0.0/bin/zip: not found

Oracle GC 13C 添加Agent的过程中报错

/u01/app/oracle/Middleware/ADATMP_2016-08-27_13-11-01-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=rcfdg2.localdomain AGENT_BASE_DIR=/u01/app/oracle/Middleware OMS_HOST=rcfgc.localdomain EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/oracle/Middleware/agent_inst b_doDiscovery=false START_AGENT=false b_forceInstCheck=true -force AGENT_PORT=3872

报错/u01/app/agent13c/agent_13.1.0.0.0/bin/zip: not found


检查metalink【EM13C: Agent Push with teh Add host Target Wizard Fails During Installation and Configuration with Error: /bin/sh: /u01/app/agent13c/agent_13.1.0.0.0/bin/zip: not found (文档 ID 2116912.1)

检查/tmp空间 发现空间足够。

继续检查 该命令中 

/u01/app/oracle/Middleware/ADATMP_2016-08-27_13-11-01-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=rcfdg2.localdomain AGENT_BASE_DIR=/u01/app/oracle/Middleware OMS_HOST=rcfgc.localdomain EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/oracle/Middleware/agent_inst b_doDiscovery=false START_AGENT=false b_forceInstCheck=true -force AGENT_PORT=3872


涉及到ORACLE_HOSTNAME 的格式是******.localdomian  于是检查/etc/hosts文件

cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
#public ip
192.20.192.21    racnode1
192.20.192.23    racnode2
#privite ip
1920.1920.192.192     racnode1-p1
1920.1920.192.12     racnode2-p1
1920.1920.192.11     racnode1-p2
1920.1920.192.13     racnode2-p2
#vip ip
192.20.192.22   racnode1-vip
192.20.192.24   racnode2-vip
#scan ip
192.20.192.25    SCAN-RAC


发现node1 node2 节点的解析中格式不对 修改一下:

cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
#public ip
192.20.192.21    racnode1 racnode1.localdomain
192.20.192.23    racnode2 racnode2.localdomain
#privite ip
1920.1920.192.192     racnode1-p1 racnode1-p1.localdomain
1920.1920.192.12     racnode2-p1 racnode2-p1.localdomain
1920.1920.192.11     racnode1-p2 racnode1-p2.localdomain
1920.1920.192.13     racnode2-p2 racnode2-p2.localdomain
#vip ip
192.20.192.22   racnode1-vip racnode1-vip.localdomain
192.20.192.24   racnode2-vip racnode2-vip.localdomain
#scan ip
192.20.192.25    SCAN-RAC SCAN-RAC.localdomain


再次添加Agent成功。

自己给自己挖坑........

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值