oracle11grac安装之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问题补占用了
日志:
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只能挂载自己在磁盘组,将共享磁盘换成虚拟机自带的磁盘共享就解决了.
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
文章题目:oracle11grac安装之grid报错解决-创新互联
文章来源:http://pwwzsj.com/article/dhssji.html