欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

CRS-0215 错误处理

程序员文章站 2022-06-10 12:57:27
...

将原本缺省行 127.0.0.1注释了,因此取消注释行 (使用 root帐户 )。在节点 node1上也是同样的,需要取消注释行 (使用 root帐户 )

--*******************

-- CRS-0215 错误处理

--*******************

在安装 Clusterware 的时候,

收到下列错误提示:

The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs.

此时我们需要在第二节点上运行 vipca , 当安装到 75% 左右,又收到了如下的错误信息

CRS-0215 : Could not start resource 'ora.node2.ons'.

Check the log file "/u01/app/Oracle/product/10.2.0/crs_1/log/node2/racg/ora.node2.ons.log" for more details.

[oracle@node2 racg]$ pwd

/u01/app/oracle/product/10.2.0/crs_1/log/node2/racg

[oracle@node2 ~]$ cd /u01/app/oracle/product/10.2.0/crs_1/log/node2/

[oracle@node2 node2]$ ls

admin alertnode2.log client crsd cssd evmd racg

[oracle@node2 node2]$ cd racg

[oracle@node2 racg]$ ls

racgeut racgevtf racgmain

[oracle@node2 racg]$ ls -hlt

total 12K

drwxrwxrwt 2 oracle oinstall 4.0K Apr 1 14:15 racgeut

drwxrwxrwt 2 oracle oinstall 4.0K Apr 1 14:15 racgevtf

drwxrwxrwt 2 oracle oinstall 4.0K Apr 1 14:15 racgmain

查看一下,,根本没有日志存在, Google了一下,需要查看 /etc/hosts中 localhost的设置

[oracle@node2 racg]$ more /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail.

#127.0.0.1 localhost.localdomain localhost

#::1 localhost6.localdomain6 localhost6

127.0.0.1 node2.oradb.com node2

# Public

192.168.0.11 node1.oradb.com node1

192.168.0.12 node2.oradb.com node2

#Private

10.101.0.11 node1-priv.oradb.com node1-priv

10.101.0.12 node2-priv.oradb.com node2-priv

#Virtual

192.168.0.21 node1-vip.oradb.com node1-vip

192.168.0.22 node2-vip.oradb.com node2-vip

原来的 127.0.0.1 localhost.localdomain localhost的这一行被注释掉了,记得当时是考虑到

已经增加了 127.0.0.1 node2.oradb.com node2

所以就将原本缺省行 127.0.0.1注释了,因此取消注释行 (使用 root帐户 )。

在节点 node1上也是同样的,需要取消注释行 (使用 root帐户 )

再次运行 vipca没有出现 CRS-0215错误。

CRS-0215 错误处理