10gRAC vip启动报错CRS-1006 CRS-0215

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

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

[[email protected] ~]# cd $CRS_HOME
[[email protected] 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,也报错:

[[email protected] 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一下启动的过程:

[[email protected] bin]# crsctl debug log res "ora.rac10g01.vip:5"
Set Resource Debug Module: ora.rac10g01.vip Level: 5
[[email protected] 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了。

[[email protected] bin]# crs_start ora.rac10g01.vip
Attempting to start `ora.rac10g01.vip` on member `rac10g01`
Start of `ora.rac10g01.vip` on member `rac10g01` succeeded.
[[email protected] bin]#
[[email protected] 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
[[email protected] bin]# crs_start ora.rac10g02.vip
Attempting to start `ora.rac10g02.vip` on member `rac10g02`
Start of `ora.rac10g02.vip` on member `rac10g02` succeeded.
[[email protected] 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
[[email protected] bin]#

时间: 2024-10-12 14:36:12

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

安装mongodb后启动报错libstdc++

安装mongo后启动报错如下图 显然说是libstdc++.so文件版本的问题,这种一般都是gcc版本太低了 接着查询gcc的版本    strings /usr/lib/libstdc++.so.6 | grep GLIBCXX 接着去找下libstdc++.so新点的版本,一定要根据自己的系统版本去找啊,由于我找错了版本报错系统位数不对 随后下载了一个64位的libstdc++.so.6.0.17的文件,然后软链成libstdc++.so.6 ln -s libstdc++.so.6.0.1

tomcat启动报错:java.net.BindException: Permission denied <null>:80

1,启动报错显示 [org.springframework.web.servlet.DispatcherServlet]FrameworkServlet 'springMvc': initialization completed in 382 ms Jun 01, 2015 6:39:06 PM org.apache.coyote.http11.Http11Protocol start SEVERE: Error starting endpoint java.net.BindException:

Tomcat启动报错[org.apache.struts2.dispatcher.Dispatcher]Dispatcher initialization failed

Tomcat启动报错: [org.apache.struts2.dispatcher.Dispatcher]Dispatcher initialization failed Unable to load configuration. - bean - jar:file:/E:/SoftwareDevelopment/Software/Eclipse4.3/eclipse-jee-kepler-SR1-win32-x86_64/Workspace/.metadata/.plugins/org.ec

zabbix启动报错:Connection to database 'xxx' failed解决方法

Zabbix 分布式系统监视系统 zabbix是一个基于WEB界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案. zabbix能监视各种网络参数,保证服务器系统的安全运营:并提供灵活的通知机制以让系统管理员快速定位/解决存在的各种问题. 本文讲解的是zabbix无法启动报错:Connection to database 'xxx' failed: [1045] Access denied for user 'xxx'@'localhost' (using password: NO)

Oracle11g 启动报错ORA-00845: MEMORY_TARGET not supported on this system报错解决

ORA-00845: MEMORY_TARGET not supported on this system报错解决 Oracle启动报错 ORA-00845: MEMORY_TARGET not supported on this system报错解决 SQL> startup ORA-00845: MEMORY_TARGET not supported on this system 查看原本大小 [[email protected] oracle]# df -h|grep shm tmpfs

VMware启动报错:The VMware Authorization Service is not running

The VMware Authorization Service is not running 今天在使用虚拟机的时候,竟然发现不能启动,而且伴有启动虚拟系统报错: The VMware Authorization Service is not running. 截图如下: 故障排除思路: 之前为系统做最大优化时将相关无用启动项及相关服务启动方式做了相应修改: 导致VMware Authorization Service 未启动 系统本地VMware相关服务截图: 解决故障步骤: 1:打开CMD

MySql启动报错,无法更新PID文件

MySql启动报错 Starting MySQL.. ERROR! The server quit without updating PID file (/var/lib/mysql..) 1,查看错误日志 2017-08-10 19:38:14 31865 [Note] InnoDB: Initializing buffer pool, size = 50.0M InnoDB: mmap(53657600 bytes) failed; errno 12 2017-08-10 19:38:14

Apache无法启动报错

Apache无法启动报错:Name or service not known: mod_unique_id: unable to find IPv4 address of "xxxx"   解决方案: 修改 /etc/hosts,添加添加自己的主机名 127.0.0.1    主机名

Nginx启动报错:

Nginx启动报错:10013: An attempt was made to access a socket in a way forbidden 2014-08-07 14:39:10   来源:   评论:0 点击: Nginx在win7,win2008下启动报错:bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access permis