oracle 11g rac安装之grid报错解决

简介:

1.在rac2节点使用oracleasm找不到共享磁盘

[root@rac2 ~]# oracleasm scandisks         
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[root@rac2 ~]# 


解决方法:

   是因为在rac1节点格式化磁盘没有使用partprobe命令,分区没有生效

在rac1执行:

[root@rac1 ~]# partprobe 

在rac2执行:

[root@rac2 ~]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "VOL04"
Instantiating disk "VOL03"
Instantiating disk "VOL01"
Instantiating disk "VOL02"
[root@rac2 ~]# /usr/sbin/oracleasm listdisks
VOL01
VOL02
VOL03
VOL04
[root@rac2 ~]# 


2.安装grid集群软件时出现ORACLE_HOME和ORACLE_BASE目录不对

错误提示:

INS-32026]The Software Location specified should not be under Oracle base location.
   CAUSE: Grid Infrastructure for a Cluster installation will assign root ownership to all parent directories of clusterware software location. As a result, all named directories in the software location path will acquire root ownership. This may create problems for subsequent installations into the same Oracle base. 
   ACTION: Specify software location outside of Oracle base


解决方法:

我当前目录是:ORACLE_BASE=/home/grid

       ORACLE_HOME=/home/grid/11.2.0/grid


这样目录是不正确的,因为ORACLE_BASE和ORACLE_HOME目录要分开,ORACLE_BASE安装好后是有root权限的,而ORACLE_HOME则没有.

这样才对:ORACLE_BASE=/home/grid/app

      ORACLE_HOME=/home/grid/11.2.0/grid


3.在安装grid到最后一步出错误,是因为scan的IP问题补占用了

wKiom1fazUiCLHkoAADgloIHa_A905.png-wh_50

日志:

INFO: All nodes have same "hosts" entry defined in file "/etc/nsswitch.conf"

INFO: Check for integrity of name service switch configuration file "/etc/nsswitch.conf" passed

INFO: ERROR:

INFO: PRVG-1101 : SCAN name "scan-cluster" failed to resolve

INFO: ERROR:

INFO: PRVF-4657 : Name resolution setup check for "scan-cluster" (IP address: 192.168.3.155) failed

INFO: ERROR:

INFO: PRVF-4664 : Found inconsistent name resolution entries for SCAN name "scan-cluster"

INFO: Verification of SCAN VIP and Listener setup failed

INFO: Checking OLR integrity...

INFO: Checking OLR config file...

INFO: OLR config file check successful

INFO: Checking OLR file attributes...

INFO: OLR file check successful


解决方法:

(1).直接跳过不影响

(2),修改系统的nslookup二进制文件(http://www.ithao123.cn/content-1094742.html)


4.crs无法共享磁盘通信

错误信息:

CRS-0184: Cannot communicate with the CRS daemon.


日志信息:

2016-09-16 09:20:45.508: [   CRSPE][1175734592]{1:19372:2} Reading (12) resources

2016-09-16 09:20:45.510: [   CRSPE][1175734592]{1:19372:2} Reading (15) types

2016-09-16 09:20:46.087: [   CRSPE][1175734592]{1:19372:2} Reading (2) server pools

2016-09-16 09:20:48.321: [  OCRRAW][1171532096]proprseterror: Error in accessing physical storage [26] Marking context invalid.

2016-09-16 09:20:48.321: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_ctx_tag=PROPCTXT

2016-09-16 09:20:48.325: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_valid=0

2016-09-16 09:20:48.325: [  OCRRAW][1171532096]proprdc: backend_ctx->prop_boot_mode=1


解决方法:

  这是共享磁盘的问题,我是用iscsi做的共享,查看了下asm只能挂载自己在磁盘组,将共享磁盘换成虚拟机自带的磁盘共享就解决了.










本文转自 z597011036 51CTO博客,原文链接:http://blog.51cto.com/tongcheng/1852663,如需转载请自行联系原作者
目录
相关文章
|
4月前
|
Oracle 关系型数据库 数据库
使用docker安装配置oracle 11g
使用docker安装配置oracle 11g
|
6月前
|
Oracle 关系型数据库 数据库
Oracle 11G常见性能诊断报告(AWR/ADDM/ASH)收集
Oracle 11G常见性能诊断报告(AWR/ADDM/ASH)收集
|
1月前
|
存储 运维 Oracle
Oracle系列十八:Oracle RAC
Oracle系列十八:Oracle RAC
|
1月前
|
存储 Oracle 关系型数据库
手把手教你安装Oracle——以oracle 11g为例
手把手教你安装Oracle——以oracle 11g为例
手把手教你安装Oracle——以oracle 11g为例
|
2月前
|
Oracle 关系型数据库
oracle Hanganalyze no RAC
oracle Hanganalyze no RAC
15 0
|
2月前
|
Oracle 关系型数据库
oracle rac 手工安装补丁,不适用auto
oracle rac 手工安装补丁,不适用auto
25 3
|
4月前
|
SQL Oracle 关系型数据库
docker 方式安装ORACLE 11g
docker 方式安装ORACLE 11g
198 4
|
5月前
|
Oracle 关系型数据库 数据库
在Flink CDC中,使用Oracle 11g数据库的NUMBER类型作为主键
在Flink CDC中,使用Oracle 11g数据库的NUMBER类型作为主键
48 1
|
5月前
|
SQL Oracle 安全
window下Oracle 11G安装文档
window下Oracle 11G安装文档
|
6月前
|
SQL Oracle 关系型数据库
Oracle数据库sqlplus命令行执行sql语句时,语句有中文报错解决
Oracle数据库sqlplus命令行执行sql语句时,语句有中文报错解决