Home  >  Article  >  Database  >  CRS-0215 错误处理

CRS-0215 错误处理

WBOY
WBOYOriginal
2016-06-07 17:25:091076browse

将原本缺省行 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错误。

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn