oracle 11g RAC安装节点二执行结果错误CRS-5005: IP Address: 192.168.1.24 is already in use in the network
[root@testdb11b ~]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[root@testdb11b ~]# /u01/app/11.2./grid/root.sh
Performing root user operation for Oracle 11g The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/11.2./grid Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ... Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2./grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
OLR initialization - successful
Adding Clusterware entries to inittab
CRS-: Attempting to start 'ora.mdnsd' on 'testdb11b'
CRS-: Start of 'ora.mdnsd' on 'testdb11b' succeeded
CRS-: Attempting to start 'ora.gpnpd' on 'testdb11b'
CRS-: Start of 'ora.gpnpd' on 'testdb11b' succeeded
CRS-: Attempting to start 'ora.cssdmonitor' on 'testdb11b'
CRS-: Attempting to start 'ora.gipcd' on 'testdb11b'
CRS-: Start of 'ora.cssdmonitor' on 'testdb11b' succeeded
CRS-: Start of 'ora.gipcd' on 'testdb11b' succeeded
CRS-: Attempting to start 'ora.cssd' on 'testdb11b'
CRS-: Attempting to start 'ora.diskmon' on 'testdb11b'
CRS-: Start of 'ora.diskmon' on 'testdb11b' succeeded
CRS-: Start of 'ora.cssd' on 'testdb11b' succeeded ASM created and started successfully. Disk Group DATA created successfully. clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Successful addition of voting disk ad234a0219fa4f05bf03be9cf16122da.
Successfully replaced voting disk group with +DATA.
CRS-: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
. ONLINE ad234a0219fa4f05bf03be9cf16122da (/dev/raw/raw1) [DATA]
Located voting disk(s).
CRS-: Attempting to start 'ora.asm' on 'testdb11b'
CRS-: Start of 'ora.asm' on 'testdb11b' succeeded
CRS-: Attempting to start 'ora.DATA.dg' on 'testdb11b'
CRS-: Start of 'ora.DATA.dg' on 'testdb11b' succeeded
PRCR- : Failed to start resource ora.scan1.vip
CRS-: The resource action "ora.scan1.vip start" encountered the following error:
CRS-5005: IP Address: 192.168.1.24 is already in use in the network
. For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/testdb11b/agent/crsd/orarootagent_root/orarootagent_root.log". CRS-: Start of 'ora.scan1.vip' on 'testdb11b' failed
CRS-: There are no more servers to try to place resource 'ora.scan1.vip' on that would satisfy its placement policy start scan ... failed
FirstNode configuration failed at /u01/app/11.2./grid/crs/install/crsconfig_lib.pm line .
/u01/app/11.2./grid/perl/bin/perl -I/u01/app/11.2./grid/perl/lib -I/u01/app/11.2./grid/crs/install /u01/app/11.2./grid/crs/install/rootcrs.pl execution failed
解决:
第一种原因可能是DNS没有配置,从11.2.0.2开始DNS是必须配置的。
配置DNS
卸载CRS,清理裸设备,使用asmlib方式绑定磁盘
dd if=/dev/zero of=/dev/raw/raw1 bs= count=
dd if=/dev/zero of=/dev/raw/raw2 bs= count=
dd if=/dev/zero of=/dev/raw/raw3 bs= count=
dd if=/dev/zero of=/dev/raw/raw4 bs= count=
[root@testdb11a ~]# oracleasm configure -i
Configuring the Oracle ASM library driver. This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort. Default user to own the driver interface []: grid
Default group to own the driver interface []: asmdba
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
[root@testdb11a ~]# oracleasm init
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": oracleasm
Mounting ASMlib driver filesystem: /dev/oracleasm
[root@testdb11a ~]# /usr/sbin/oracleasm createdisk DISK1 /dev/sdb1
Writing disk header: done
Instantiating disk: done
[root@testdb11a ~]# /usr/sbin/oracleasm createdisk DISK2 /dev/sdc1
Writing disk header: done
Instantiating disk: done
[root@testdb11a ~]# /usr/sbin/oracleasm createdisk DISK3 /dev/sdd1
Writing disk header: done
Instantiating disk: done
[root@testdb11a ~]# /usr/sbin/oracleasm createdisk DISK4 /dev/sde1
Writing disk header: done
Instantiating disk: done
[root@testdb11a ~]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@testdb11a ~]# /usr/sbin/oracleasm listdisks
DISK1
DISK2
DISK3
DISK4
然后重新安装Grid Infrastructure。
(2)我的原因是:
重装了好几次,都是报这个错误,后来发现虚拟机的磁盘紊乱了,本来第一块二磁盘变成了第四块,但是两个虚拟机的顺序是一致的,后来把磁盘删除了又重新加上后搞定了。
a 在设置中删除并创建磁盘(vmware可以在线增删磁盘)
b 操作系统删除分区,并新建分区
c 重新绑定裸设备
d 重新安装Grid Infrastructure
清理方法详见:Oracle 11g RAC 卸载CRS步骤
oracle 11g RAC安装节点二执行结果错误CRS-5005: IP Address: 192.168.1.24 is already in use in the network的更多相关文章
- Oracle 11g RAC 第二节点root.sh执行失败后再次执行root.sh
Oracle 11g RAC 第二节点root.sh执行失败后再次执行root.sh前,要先清除之前的crs配置信息 # /u01/app/11.2.0/grid/crs/install/rootcr ...
- oracle 11g rac R2 for linux change(public,vip)IP ,hostname (oracle 11g rac R2 修改公有,虚拟,私有IP,网卡)
结构如下: 说明: 节点IP,主机名的修改步骤来自ORACLE support文档: 如何修改集群的公网信息(包括 VIP) (文档 ID 1674442.1) 实验环境情况如下: 实验 节点名称 数 ...
- Oracle 11g rac 添加新节点测试
[转]https://blog.csdn.net/shiyu1157758655/article/details/60877076 前期准备: 操作系统设置OS版本必须相同,检查内核参数,系统内存.C ...
- Oracle 11g RAC 卸载CRS步骤
Oracle 11g之后提供了卸载grid和database的脚本,可以卸载的比较干净,不需要手动删除crs ##########如果要卸载RAC,需要先使用dbca删除数据库,在执行下面的操作### ...
- linux安装oracle 11g rac
安装oracle 11gR2 RAC 一.网络规划及安装虚拟主机 主机名 主机版本 Ip rac1.localdomain Redhat 6.5 RAC节点1 192.168.100.11 rac2. ...
- Oracle安装部署之linux(redhat/centos)快速安装oracle 11g rac
安装oracle 11gR2 RAC 一.网络规划及安装虚拟主机 主机名 主机版本 Ip rac1.localdomain Redhat 6.5 RAC节点1 192.168.100.11 rac2. ...
- centos7.6静默安装oracle 11G RAC
环境介绍, esxi6.0 ,VMware vSphere Client6.0 linux 版本Centos7.6(最小化安装) Oracle 版本 oracle 11g 11.2.0.4 虚拟化环境 ...
- 【Oracle 集群】Oracle 11G RAC教程之集群安装(七)
Oracle 11G RAC集群安装(七) 概述:写下本文档的初衷和动力,来源于上篇的<oracle基本操作手册>.oracle基本操作手册是作者研一假期对oracle基础知识学习的汇总. ...
- 安装Oracle 11g RAC R2 之Linux DNS 配置
Oracle 11g RAC 集群中引入了SCAN(Single Client Access Name)的概念,也就是指集群的单客户端访问名称.SCAN 这个特性为客户端提供了单一的主机名,用于访问集 ...
随机推荐
- 用 CSS 隐藏页面元素
用 CSS 隐藏页面元素有许多种方法.你可以将 opacity 设为 0 将 visibility 设为 hidden 将 display 设为 none 将 position 设为 absolute ...
- java-collections.sort异常Comparison method violates its general contract!
转载:http://www.tuicool.com/articles/MZreyuv 异常信息 java.lang.IllegalArgumentException: Comparison metho ...
- hibernate在使用getCurrentSession时提示no session found for current thread
大致错误片段 org.hibernate.HibernateException: No Session found for current thread at org.springframework. ...
- C语言拾遗(一)
越来越体会到C语言的重要性,不管是在计算机底层的理解上,还是在算法数据结构上,所以遂决定重新拾起C语言,不定期更新一些知识点. 推荐博客:http://blog.csdn.net/itcastcpp ...
- windows2003安装证书服务:csp配置不正确、您没有此密钥容器的写访问权限
1.填写CA名称后在生成密钥时提示:csp配置不正确或安装不完整. 原因:可能的原因为CS服务(Crysptographic Service)没有启动 . ps:该服务依赖RPC服务,但RP ...
- noip2016十连测round3
A:平均数 题意:有一天,小 A 得到了一个长度为 n 的序列. 他把这个序列的所有连续子序列都列了出来,并对每一个子序列都求了其平均值,然后他把这些平均值写在纸上,并对它们进行排序,最后他报出了第 ...
- 解决Unable to create new native thread
两种类型的Out of Memory java.lang.OutOfMemoryError: Java heap space error 当JVM尝试在堆中分配对象,堆中空间不足时抛出.一般通过设定J ...
- Android利用HttpURLConnection实现模拟登录
最近在做一个APP,需要模拟登录教务处,之前曾经用HttpClient做过,点这里,但是发现最新的Android SDK已经不支持Httpclient了,所以只好在琢磨一下HttpURLConnect ...
- IE浏览器不能访问网页,google可以访问
现象:google浏览器可以进行网络访问,ie不能访问 原因:代理服务修改了局域网配置脚本 解决: Internet选项---连接---局域网设置: 去除勾选 “使用自动配置脚本”
- 触发器运用示例---laobai
1 触发器 概念:trigger.逻辑对象的一种.当dml的增删改语句执行时,自动触发一系列动作. 分类:dml触发器.ddl触发器(很少见) sql:ddl,dml,dcl 按触发的时间分: 语句执 ...