[FATAL] [INS-35423]

版权声明:本文为博主原创文章,欢迎转载! https://blog.csdn.net/qq_40687433/article/details/84850010

11.2.0.4 rhel6.4  rac静默安装,在静默建数据库软件时报错如下

 [FATAL] [INS-35423] The installer has detected that Oracle Clusterware is not running on local node.
   CAUSE: You have chosen to install Oracle RAC when Oracle Clusterware stack is not running on the local node.
   ACTION: Start the Oracle Clusterware stack by running the following command as the root user from the Oracle Clusterware home (Grid home) : /bin/crsctl start crs. When the Oracle Clusterware stack is running, restart the installer and continue with the Oracle RAC installation.
 

报错显示crs没有起来,检查了crs在2个节点状态都正常

在清单目录中找到日志如下

 more   /grid/app/oraInventory/logs/**log**

 ORACLE_BASE                                            /oracle/app/oracle                         
 ORACLE_HOME                                            /oracle/app/oracle/product/11.2/dbhome_1   
 ORACLE_HOSTNAME                                        localhost                                  
 PROXY_HOST                                                                                        
 PROXY_PORT                                                                                        
 PROXY_PWD                                              *Protected value, not to be logged*      
 
 我的hostname应该是db1,但是oui识别到了localhost

很奇怪,我想到response文件中有hostname选项,用于hostname有多个的情况下指定使用某个hostname

然后更改了db_install.rsp中的参数

ORACLE_HOSTNAME=db1

再次执行,还是同样报错,日志中显示

 ORACLE_HOSTNAME                                        db1 

后来发现

2节点的/etc/hosts
127.0.0.1   localhost db1 localhost4 localhost4.localdomain4
::1         localhost db1 localhost6 localhost6.localdomain6
1、2节点都写的db1,把2节点的改成db2,并把db1、db2放到localhost前面
127.0.0.1   db2 localhost localhost4 localhost4.localdomain4
::1         db2 localhost localhost6 localhost6.localdomain6

重启下服务器

然后再installer就成功了

总结:

在安装rac的过程中hosts文件是相当重要的

我刚开始检查了几遍public,vip,scan,都没问题

但是回环地址写的有问题,第一行新增了hostname,而且在2节点还写错了

把2节点的hostname改过来然后重启就好了

参考文档:

[FATAL] [INS-35423] The Installer Has Detected That Oracle Clusterware Is Not Running On Local Node. (文档 ID 1989338.1)

猜你喜欢

转载自blog.csdn.net/qq_40687433/article/details/84850010
ins