Re-Executing GRID setup fails with [FATAL] [INS-30024]

grid-30024

Debugging with strace

[grid@dsctw21 grid]$   gridSetup.sh -silent  -skipPrereqs -responseFile  /home/grid/grid_dsctw2.rsp    oracle.install.asm.SYSASMPassword=sys    oracle.install.asm.monitorPassword=sys 2>llog2
Launching Oracle Grid Infrastructure Setup Wizard...

[FATAL] [INS-30024] Installer has detected that the location determined as Oracle Grid Infrastructure home (/u01/app/122/grid), is not a valid Oracle home.
   ACTION: Ensure that either there are no environment variables pointing to this invalid location or register the location as an Oracle home in the central inventory.

Using strace to trace system calls 
[grid@dsctw21 grid]$ strace -f  gridSetup.sh -silent  -skipPrereqs -responseFile  /home/grid/grid_dsctw2.rsp    oracle.install.asm.SYSASMPassword=sys    oracle.install.asm.monitorPassword=sys 2>llog
Launching Oracle Grid Infrastructure Setup Wizard...

[FATAL] [INS-30024] Installer has detected that the location determined as Oracle Grid Infrastructure home (/u01/app/122/grid), is not a valid Oracle home.
   ACTION: Ensure that either there are no environment variables pointing to this invalid location or register the location as an Oracle home in the central inventory.

Check Log File for failed open calls or for open calls which  should fail in CLEAN Installation ENV 
grid@dsctw21 grid]$ grep open llog
..
[pid 11525] open("/etc/oracle/ocr.loc", O_RDONLY) = 93
[pid 11525] open("/etc/oracle/ocr.loc", O_RDONLY) = 93

--> It seems the installer is testing for files
 /etc/oracle/ocr.loc
 /etc/oracle/olr.loc 
whether its an upgrade or its a new installation. 

Fix : Rename ocr.log and olr.loc 
[root@dsctw21 ~]# mv /etc/oracle/ocr.loc /etc/oracle/ocr.loc_tbd
[root@dsctw21 ~]# mv /etc/oracle/olr.loc /etc/oracle/olr.loc_tbd

Now gridSetup.sh should start the installation process

 

  • 2
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值