为测试一个迁移方案,装了一套10g rac环境,可能是很久没有装过10g的RAC了,整个过程情况不断。

1.在把集群软件和数据库软件都装好之后,用crs_stat检测状态的时候,发现vip的状态不对,ping vipIP不通

[root@rac10g01 ~]# cd $CRS_HOME
[root@rac10g01 crs_1]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....g01.gsd application ONLINE ONLINE rac10g01
ora....g01.ons application ONLINE ONLINE rac10g01
ora....g01.vip application ONLINE OFFLINE
ora....g02.gsd application ONLINE ONLINE rac10g02
ora....g02.ons application ONLINE ONLINE rac10g02
ora....g02.vip application ONLINE OFFLINE

2.随后用命令,crs_start去启动vip,也报错:

[root@rac10g01 crs_1]# crs_start ora.rac10g01.vip
Attempting to start `ora.rac10g01.vip` on member `rac10g01`
Start of `ora.rac10g01.vip` on member `rac10g01` failed.
Attempting to start `ora.rac10g01.vip` on member `rac10g02`
Start of `ora.rac10g01.vip` on member `rac10g02` failed.
CRS-1006: No more members to consider

CRS-0215: Could not start resource 'ora.rac10g01.vip'.

3.查看了下vip的日志:$CRS_HOME/log/$hostname/racg/ora.rac10g01.vip.log,里面报错:

2015-11-18 10:53:18.576: [ RACG][1470001856] [22927][1470001856][ora.rac10g01.vip]: Wed Nov 18 10:53:18 CST 2015 [ 22932 ] /sbin/mii-tool eth0 error
Wed Nov 18 10:53:18 CST 2015 [ 22932 ] defaultgw: started
Wed Nov 18 10:53:18 CST 2015 [ 22932 ] defaultgw: completed with
checkIf: Default gateway is not defined (host=rac10g01)

2015-11-18 10:53:18.576: [ RACG][1470001856] [22927][1470001856][ora.rac10g01.vip]: Interface eth0 checked failed (host=rac10g01)
Wed Nov 18 10:53:18 CST 2015 [ 22932 ] checkIf: end for if=eth0
Invalid parameters, or failed to bring up VIP (host=rac10g01)

2015-11-18 10:53:18.576: [ RACG][1470001856] [22927][1470001856][ora.rac10g01.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/u01/app/oracle/crs_1

2015-11-18 10:53:18.576: [ RACG][1470001856] [22927][1470001856][ora.rac10g01.vip]: clsrcexecut: cmd = /u01/app/oracle/crs_1/bin/racgeut -e _USR_ORA_DEBUG=5 54 /u01/app/
oracle/crs_1/bin/racgvip start rac10g01

2015-11-18 10:53:18.577: [ RACG][1470001856] [22927][1470001856][ora.rac10g01.vip]: clsrcexecut: rc = 1, time = 3.270s

2015-11-18 10:53:21.731: [ RACG][1470001856] [22927][1470001856][ora.rac10g01.vip]: Wed Nov 18 10:53:18 CST 2015 [ 23007 ] Broadcast = 192.168.146.255
Wed Nov 18 10:53:18 CST 2015 [ 23007 ] Checking interface existance
Wed Nov 18 10:53:18 CST 2015 [ 23007 ] Calling getifbyip

2015-11-18 10:53:21.731: [ RACG][1470001856] [22927][1470001856][ora.rac10g01.vip]: Wed Nov 18 10:53:18 CST 2015 [ 23007 ] getifbyip: started for 192.168.146.13
Wed Nov 18 10:53:18 CST 2015 [ 23007 ] getifbyip: returning IP
Wed Nov 18 10:53:18 CST 2015 [ 23007 ] Completed getifbyip

2015-11-18 10:53:21.732: [ RACG][1470001856] [22927][1470001856][ora.rac10g01.vip]: Wed Nov 18 10:53:18 CST 2015 [ 23007 ] Calling getifbyip -a
Wed Nov 18 10:53:18 CST 2015 [ 23007 ] getifbyip: started for 192.168.146.13
Wed Nov 18 10:53:18 CST 2015 [ 23007 ] getifbyip: returning IP

2015-11-18 10:53:21.732: [ RACG][1470001856] [22927][1470001856][ora.rac10g01.vip]: Wed Nov 18 10:53:18 CST 2015 [ 23007 ] Completed getifbyip
Wed Nov 18 10:53:18 CST 2015 [ 23007 ] ping_vip 192.168.146.13 started
Wed Nov 18 10:53:21 CST 2015 [ 23007 ] ping_vip: 192.168.146.13 is not pingable, _count = 1

4.在log里面看到vip也显示的ping不通。debug一下启动的过程:

[root@rac10g01 bin]# crsctl debug log res "ora.rac10g01.vip:5"
Set Resource Debug Module: ora.rac10g01.vip Level: 5
[root@rac10g01 bin]# crs_start ora.rac10g01.vip
Attempting to start `ora.rac10g01.vip` on member `rac10g01`
Start of `ora.rac10g01.vip` on member `rac10g01` failed.
Attempting to start `ora.rac10g01.vip` on member `rac10g02`
Start of `ora.rac10g01.vip` on member `rac10g02` failed.
CRS-1006: No more members to consider

CRS-0215: Could not start resource 'ora.rac10g01.vip'.

在log里面显示:

2015-11-18 11:01:34.258: [ RACG][662033088] [26208][662033088][ora.rac10g01.vip]: clsrcgetprsrctx: all 0.020s

2015-11-18 11:01:34.279: [ RACG][662033088] [26208][662033088][ora.rac10g01.vip]: clsrcnodeapp: prsr num_env = 0

2015-11-18 11:01:34.279: [ RACG][662033088] [26208][662033088][ora.rac10g01.vip]: clsrcnodeapp: setting ORACLE_CONFIG_HOME=/u01/app/oracle/crs_1

2015-11-18 11:01:40.495: [ RACG][662033088] [26208][662033088][ora.rac10g01.vip]: Wed Nov 18 11:01:34 CST 2015 [ 26213 ] Broadcast = 192.168.146.255
Wed Nov 18 11:01:34 CST 2015 [ 26213 ] Checking interface existance
Wed Nov 18 11:01:34 CST 2015 [ 26213 ] Calling getifbyip

2015-11-18 11:01:40.496: [ RACG][662033088] [26208][662033088][ora.rac10g01.vip]: Wed Nov 18 11:01:34 CST 2015 [ 26213 ] getifbyip: started for 192.168.146.13
Wed Nov 18 11:01:34 CST 2015 [ 26213 ] getifbyip: returning IP eth0:1
Wed Nov 18 11:01:34 CST 2015 [ 26213 ] Completed getifbyip eth0:1

2015-11-18 11:01:40.496: [ RACG][662033088] [26208][662033088][ora.rac10g01.vip]: Wed Nov 18 11:01:34 CST 2015 [ 26213 ] Calling getifbyip -a
Wed Nov 18 11:01:34 CST 2015 [ 26213 ] getifbyip: started for 192.168.146.13
Wed Nov 18 11:01:34 CST 2015 [ 26213 ] getifbyip: returning IP eth0:1

2015-11-18 11:01:40.496: [ RACG][662033088] [26208][662033088][ora.rac10g01.vip]: Wed Nov 18 11:01:34 CST 2015 [ 26213 ] Completed getifbyip eth0:1
Wed Nov 18 11:01:34 CST 2015 [ 26213 ] Completed with initial interface test
Wed Nov 18 11:01:34 CST 2015 [ 26213 ] checkIf: start for if=eth0

2015-11-18 11:01:40.496: [ RACG][662033088] [26208][662033088][ora.rac10g01.vip]: Wed Nov 18 11:01:34 CST 2015 [ 26213 ] /sbin/mii-tool eth0 error
ping to 192.168.146.1 via eth0 failed, rc = 1 (host=rac10g01)
ping to 192.168.146.1 via eth0 failed, rc = 1 (host=rac10g01)

2015-11-18 11:01:40.496: [ RACG][662033088] [26208][662033088][ora.rac10g01.vip]: Wed Nov 18 11:01:40 CST 2015 [ 26213 ] checkIf: RX packets checked if=eth0 OK
Wed Nov 18 11:01:40 CST 2015 [ 26213 ] checkIf: end for if=eth0

5.看到ping网关的时候都ping不通,检查一下racgvip里面的DEFAULTGW设置

发现DEFAULTGW=

没有做设置。手工设置一下DEFAULTGW=192.168.146.1,在第二个节点也修改一下。两个节点都修改好之后,重启vip的资源,success了。

[root@rac10g01 bin]# crs_start ora.rac10g01.vip
Attempting to start `ora.rac10g01.vip` on member `rac10g01`
Start of `ora.rac10g01.vip` on member `rac10g01` succeeded.
[root@rac10g01 bin]#
[root@rac10g01 bin]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....g01.gsd application ONLINE ONLINE rac10g01
ora....g01.ons application ONLINE ONLINE rac10g01
ora....g01.vip application ONLINE ONLINE rac10g01
ora....g02.gsd application ONLINE ONLINE rac10g02
ora....g02.ons application ONLINE ONLINE rac10g02
ora....g02.vip application ONLINE OFFLINE
[root@rac10g01 bin]# crs_start ora.rac10g02.vip
Attempting to start `ora.rac10g02.vip` on member `rac10g02`
Start of `ora.rac10g02.vip` on member `rac10g02` succeeded.
[root@rac10g01 bin]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....g01.gsd application ONLINE ONLINE rac10g01
ora....g01.ons application ONLINE ONLINE rac10g01
ora....g01.vip application ONLINE ONLINE rac10g01
ora....g02.gsd application ONLINE ONLINE rac10g02
ora....g02.ons application ONLINE ONLINE rac10g02
ora....g02.vip application ONLINE ONLINE rac10g02
[root@rac10g01 bin]#

10gRAC vip启动报错CRS-1006 CRS-0215的更多相关文章

  1. Tomcat启动报错org.springframework.web.context.ContextLoaderListener类配置错误——SHH框架

    SHH框架工程,Tomcat启动报错org.springframework.web.context.ContextLoaderListener类配置错误 1.查看配置文件web.xml中是否配置.or ...

  2. 【原】tomcat 7 启动报错:java.lang.NoSuchMethodError: javax.servlet.ServletContext.getSessionCookieConfig()Ljavax/servlet/SessionCookieConfig的解决

    现象: tomcat 7 启动报错:java.lang.NoSuchMethodError: javax.servlet.ServletContext.getSessionCookieConfig() ...

  3. Oracle启动报错ORA-03113解决

    环境:RHEL6.4 + Oracle 11.2.0.4 步骤摘要:1.启动报错ORA-031132.查看alert日志查找原因3.根据实际情况采取合理的措施,这里我们先增加闪回区大小,把库启动起来4 ...

  4. Oracle启动报错ORA-27102解决

    环境:RHEL5.5 + Oracle 10.2.0.4 此错误一般是因为数据库的初始化参数文件的内存设置不当导致.本例是因为操作系统参数设置问题导致. 当前现象:Oracle启动报错ORA-2710 ...

  5. ssh启动报错:org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect

    ssh项目启动报错: org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection t ...

  6. SVN 服务启动报错 0x8007042a

    服务器环境:Windows Server 2008 R2 企业版,Visual SVNServer 2.6.5 不能签出代码,发现svn服务关闭,手动启动报错: 事件查看器: Error: no li ...

  7. Tomcat7.0启动报错:java.lang.illegalargumentexception:taglib definition not consisten with specification version

    Tomcat7.0启动报错:java.lang.illegalargumentexception:taglib definition not consisten with specification ...

  8. eclipse 启动报错\workspace\.metadata\.log

    eclipse启动报错,让查看.metadata\.log日志 eclipse启动不了,让查看.metadata\.log日志,上面为日志中的错误提示. 解决办法:删除 .metadata\.plug ...

  9. Weblogic 启动报错:java.lang.NoClassDefFoundError

    Weblogic 启动报错:java.lang.NoClassDefFoundError  ####<2015-6-17 下午03时30分47秒 CST> <Error> &l ...

随机推荐

  1. js

    1.判断是否为空 if (typeof(a)!="undefined") 2. pop()移除数组最后一个元素 var arr = [];   $('#tableid tr').f ...

  2. js自动轮播图片的两种循环方法(原创)

    用5个div,布局从左到右5张图片,从左到右5个div分别指定ID为img1,img2,img3,img4,img5.(背景是relative,5个div是相对于背景absolute定位) 显示如下: ...

  3. 【WP8.1】类似“IT之家” 自定义消息 的实现

    曾经在WP7.WP8下的消息 使用的都是Coding4Fun.Phone.Toolkit里面的ToastPrompt类来实现的. 现在我们来自己做个类似IT之家的这种效果:从右边弹出,经过几秒后会自动 ...

  4. JS中用apply、bind实现为函数或者类传入动态个数的参数

    为纪念10年没写blog,第一篇博文就以这样一个有趣的窍门开始吧 -___- 在ES5中,当我们调用一个函数时,如果要传入的参数是根据其他函数或条件判断生成的,也就是说不确定会传入多少个参数时,在不改 ...

  5. window.event.srcElement与window.event.target 触发事件的元素

    IE浏览器支持window.event.srcElement , 而firefox支持window.event.target:<input type="text" onblu ...

  6. select中文字垂直居中解决办法

    我们知道select标签在各个浏览器中的属性和各浏览器的支持各有些不同,从而造成select选择框在各浏览器的显示有不同,下面我们通过对主要 外形CSS属性的支持,打造全兼容select. 我对sel ...

  7. VB编程的键盘控制

    在VB中,很多控件都提供了键盘输入功能(如文本框.组合框等),但它们对键盘的处理较简单,遇到复杂一点的要求即无能为力. 因而VB提供了KeyPress.KeyUp.KeyDown三种键盘事件,当用户按 ...

  8. [原创]css3简单几步画一个乾坤图

    效果如上,鼠标移上去会有动画. 代码如下非常简单: <html> <head> <style> .outer{height:100px;width:200px;bo ...

  9. noi前机房日常

    2015/6/16 上午a了一道省选分组赛day1t2,并在cf100553H双倍经验,好评 bzoj3152(ctsc2013)贪心,用priority_queue要清空 bx2k上午交了几十题,他 ...

  10. windows 平台 php_Imagick 拓展遇到的那些坑!

    我的php环境是使用了phpstudy 下载地址:http://www.phpstudy.net/a.php/211.html 最终并未解决问题 持续更新~ 1.首先到官网上 http://www.i ...