安装11.2.0.3 RAC grid 执行root.sh报错

安装11.2.0.3 RAC grid 执行root.sh报错 
 root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding Clusterware entries to inittab
CRS-2672: Attempting to start ‘ora.mdnsd‘ on ‘tip01‘
CRS-2676: Start of ‘ora.mdnsd‘ on ‘tip01‘ succeeded
CRS-2672: Attempting to start ‘ora.gpnpd‘ on ‘tip01‘
CRS-2676: Start of ‘ora.gpnpd‘ on ‘tip01‘ succeeded
CRS-2672: Attempting to start ‘ora.cssdmonitor‘ on ‘tip01‘
CRS-2672: Attempting to start ‘ora.gipcd‘ on ‘tip01‘
CRS-2676: Start of ‘ora.cssdmonitor‘ on ‘tip01‘ succeeded
CRS-2676: Start of ‘ora.gipcd‘ on ‘tip01‘ succeeded
CRS-2672: Attempting to start ‘ora.cssd‘ on ‘tip01‘
CRS-2672: Attempting to start ‘ora.diskmon‘ on ‘tip01‘
CRS-2676: Start of ‘ora.diskmon‘ on ‘tip01‘ succeeded
CRS-2676: Start of ‘ora.cssd‘ on ‘tip01‘ succeeded

已成功创建并启动 ASM。

已成功创建磁盘组OCR。

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user ‘root‘, privgrp ‘root‘..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 86e6db2173634f7abf99a8771f48cfd7.
Successful addition of voting disk a4974d910f144f4abf5907f693751710.
Successful addition of voting disk 048a68d2af584f8cbfae02d943e11d67.
Successfully replaced voting disk group with +OCR.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   86e6db2173634f7abf99a8771f48cfd7 (ORCL:OCR_VOL1) [OCR]
 2. ONLINE   a4974d910f144f4abf5907f693751710 (ORCL:OCR_VOL2) [OCR]
 3. ONLINE   048a68d2af584f8cbfae02d943e11d67 (ORCL:OCR_VOL3) [OCR]
Located 3 voting disk(s).
CRS-2672: Attempting to start ‘ora.asm‘ on ‘tip01‘
CRS-2676: Start of ‘ora.asm‘ on ‘tip01‘ succeeded
CRS-2672: Attempting to start ‘ora.OCR.dg‘ on ‘tip01‘
CRS-2676: Start of ‘ora.OCR.dg‘ on ‘tip01‘ succeeded
/u01/app/11.2.0/grid/product/db_1/bin/srvctl start nodeapps -n tip01 ... failed
FirstNode configuration failed at /u01/app/11.2.0/grid/product/db_1/crs/install/crsconfig_lib.pm line 9196.
/u01/app/11.2.0/grid/product/db_1/perl/bin/perl 
-I/u01/app/11.2.0/grid/product/db_1/perl/lib -I/u01/app/11.2.0/grid/product/db_1/crs/install 
/u01/app/11.2.0/grid/product/db_1/crs/install/rootcrs.pl execution failed

第一节点执行root.sh最后报错

检查下oraagent_grid.log发现以下错误
无法解析 (:CLSN00010:)无法解析 localhost (为接口 any) 都是这种报错

[[email protected] oraagent_grid]# more oraagent_grid.log

2012-05-23 19:36:40.711: [    AGFW][1394043200] {1:31151:202} Agent sending reply for: RESOURCE_START[ora.ons tip01 1] ID 409
8:562
2012-05-23 19:36:40.711: [ora.ons][1360484672] {1:31151:202} [start] execCmd ret = 2
2012-05-23 19:36:40.712: [ora.ons][1360484672] {1:31151:202} [start] (:CLSN00010:)getaddrinfo(localhost, 6100, 1) 失败 (Tempo
rary failure in name resolution): Connection refused
2012-05-23 19:36:40.712: [ora.ons][1360484672] {1:31151:202} [start] (:CLSN00010:)无法解析 localhost (为接口 any)
2012-05-23 19:36:40.712: [ora.ons][1360484672] {1:31151:202} [start] (:CLSN00010:)getaddrinfo(localhost, 6100, 1) 失败 (Tempo
rary failure in name resolution): Connection refused
2012-05-23 19:36:40.712: [ora.ons][1360484672] {1:31151:202} [start] (:CLSN00010:)无法解析 localhost (为接口 any)
2012-05-23 19:36:40.712: [ora.ons][1360484672] {1:31151:202} [start] (:CLSN00010:)onsctl start: ons failed to start
2012-05-23 19:36:40.712: [ora.ons][1360484672] {1:31151:202} [start] (:CLSN00010:)
2012-05-23 19:36:40.712: [ora.ons][1360484672] {1:31151:202} [start] OnsAgent::start }
2012-05-23 19:36:40.712: [ora.ons][1360484672] {1:31151:202} [start] (:CLSN00107:) clsn_agent::start }
2012-05-23 19:36:40.712: [    AGFW][1360484672] {1:31151:202} Command: start for resource: ora.ons tip01 1 completed with sta
tus: SUCCESS
2012-05-23 19:36:40.714: [ora.ons][1360484672] {1:31151:202} [check] OnsAgent::check {
2012-05-23 19:36:40.714: [ora.ons][1360484672] {1:31151:202} [check] getOracleHomeAttrib: oracle_home = /u01/app/11.2.0/grid/
product/db_1
2012-05-23 19:36:40.714: [    AGFW][1394043200] {1:31151:202} Agent sending reply for: RESOURCE_START[ora.ons tip01 1] ID 409
8:562
2012-05-23 19:36:40.715: [ora.ons][1360484672] {1:31151:202} [check] Utils:execCmd action = 3 flags = 6 ohome = /u01/app/11.2
.0/grid/product/db_1/opmn/ cmdname = onsctli. 
2012-05-23 19:36:40.820: [ora.ons][1360484672] {1:31151:202} [check] (:CLSN00010:)getaddrinfo(localhost, 6100, 1) 失败 (Tempo
rary failure in name resolution): Connection refused
2012-05-23 19:36:40.820: [ora.ons][1360484672] {1:31151:202} [check] (:CLSN00010:)无法解析 localhost (为接口 any)
2012-05-23 19:36:40.820: [ora.ons][1360484672] {1:31151:202} [check] (:CLSN00010:)ons is not running ...
2012-05-23 19:36:40.820: [ora.ons][1360484672] {1:31151:202} [check] (:CLSN00010:)
2012-05-23 19:36:40.821: [ora.ons][1360484672] {1:31151:202} [check] (:CLSN00010:)Utils:execCmd scls_process_join() uret 2

2012-05-23 19:36:40.821: [ora.ons][1360484672] {1:31151:202} [check] execCmd ret = 2
2012-05-23 19:36:40.821: [ora.ons][1360484672] {1:31151:202} [check] (:CLSN00010:)getaddrinfo(localhost, 6100, 1) 失败 (Tempo
rary failure in name resolution): Connection refused
2012-05-23 19:36:40.821: [ora.ons][1360484672] {1:31151:202} [check] (:CLSN00010:)无法解析 localhost (为接口 any)
2012-05-23 19:36:40.821: [ora.ons][1360484672] {1:31151:202} [check] (:CLSN00010:)ons is not running ...
2012-05-23 19:36:40.821: [ora.ons][1360484672] {1:31151:202} [check] (:CLSN00010:)
2012-05-23 19:36:40.824: [ USRTHRD][1360484672] {1:31151:202} Ocr Context init default level -1408463520

怀疑是hosts问题

[[email protected] ~]# more /etc/hosts

#eth0-Public IP
162.20.1.228   tip01
162.20.1.229   tip02

#eth1 鈥PRIVATE IP
192.168.99.228  tip01-priv
192.168.99.229  tip02-priv

#VIP
162.20.1.230  tip01-vip
162.20.1.231  tip02-vip

#SCAN
162.20.1.232  rac-scan

原hosts文件缺少127.0.0.1 localhost 
于是尝试在两个节点添加localhost

[[email protected] ~]# more /etc/hosts
127.0.0.1       localhost
::1             localhost6.localdomain6 localhost6

#eth0-Public IP
162.20.1.228   tip01
162.20.1.229   tip02

#eth1 鈥PRIVATE IP
192.168.99.228  tip01-priv
192.168.99.229  tip02-priv

#VIP
162.20.1.230  tip01-vip
162.20.1.231  tip02-vip

#SCAN
162.20.1.232  rac-scan

重新执行root.sh

[[email protected] db_1]# ./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.0/grid/product/db_1

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

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.0/grid/product/db_1/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation

OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding Clusterware entries to inittab
CRS-2672: Attempting to start ‘ora.mdnsd‘ on ‘tip01‘
CRS-2676: Start of ‘ora.mdnsd‘ on ‘tip01‘ succeeded
CRS-2672: Attempting to start ‘ora.gpnpd‘ on ‘tip01‘
CRS-2676: Start of ‘ora.gpnpd‘ on ‘tip01‘ succeeded
CRS-2672: Attempting to start ‘ora.cssdmonitor‘ on ‘tip01‘
CRS-2672: Attempting to start ‘ora.gipcd‘ on ‘tip01‘
CRS-2676: Start of ‘ora.cssdmonitor‘ on ‘tip01‘ succeeded
CRS-2676: Start of ‘ora.gipcd‘ on ‘tip01‘ succeeded
CRS-2672: Attempting to start ‘ora.cssd‘ on ‘tip01‘
CRS-2672: Attempting to start ‘ora.diskmon‘ on ‘tip01‘
CRS-2676: Start of ‘ora.diskmon‘ on ‘tip01‘ succeeded
CRS-2676: Start of ‘ora.cssd‘ on ‘tip01‘ succeeded

已成功创建并启动 ASM。

已成功创建磁盘组OCR。

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user ‘root‘, privgrp ‘root‘..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 232a38e7c66c4fc4bf5a66145114ea3d.
Successful addition of voting disk 7bee34f239d74f92bf4cbb5773000b81.
Successful addition of voting disk 0329e1ba14914fd1bf7bd7bc86aac045.
Successfully replaced voting disk group with +OCR.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   232a38e7c66c4fc4bf5a66145114ea3d (ORCL:OCR_VOL1) [OCR]
 2. ONLINE   7bee34f239d74f92bf4cbb5773000b81 (ORCL:OCR_VOL2) [OCR]
 3. ONLINE   0329e1ba14914fd1bf7bd7bc86aac045 (ORCL:OCR_VOL3) [OCR]
Located 3 voting disk(s).
CRS-2672: Attempting to start ‘ora.asm‘ on ‘tip01‘
CRS-2676: Start of ‘ora.asm‘ on ‘tip01‘ succeeded
CRS-2672: Attempting to start ‘ora.OCR.dg‘ on ‘tip01‘
CRS-2676: Start of ‘ora.OCR.dg‘ on ‘tip01‘ succeeded
CRS-2672: Attempting to start ‘ora.registry.acfs‘ on ‘tip01‘
CRS-2676: Start of ‘ora.registry.acfs‘ on ‘tip01‘ succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

安装GRID时,在执行root.sh报错时,首先检查下两个节点的hosts文件IP与主机对应关系是否正确完整,本例就是因为hosts文件不完整导致root.sh执行失败

安装11.2.0.3 RAC grid 执行root.sh报错

时间: 2024-10-05 15:07:41

安装11.2.0.3 RAC grid 执行root.sh报错的相关文章

执行root.sh报错:CLSRSC-196: ACFS driver install action

oracle 19c已经发布了快一年了,在AIX和Linux上面安装的次数也不少了,安装的方法也层出不穷,最常用的就是图形化了,可以避免静默安装发现不了的问题.今天帮助一位朋友安装oracle 19c rac,在执行root.sh的时候,报错了.下面就详细分析下:执行root.sh,屏幕打印日志,显示在安装acfs的时候,报错failed了,前台日志只是显示failed,并没有具体的报错信息,我们在相关路径下面查找root.sh的日志,路径在前台日志重有显示,为/u01/app/grid/crs

安装11.2.0.3时,OUI的log报错:"OUI-10066:Not All The Dependencies For The Component ... Could Be Found"

来源于: Installing 11.2.0.3 : "OUI-10066:Not All The Dependencies For The Component ... Could Be Found" (文档 ID 1401988.1) 适用于: Oracle Universal Installer - Version 11.2.0.3 and later Information in this document applies to any platform. 症状: 当安装11.2

Oracle 12C RAC安装grid时root.sh报错ORA-00845

Oracle 12C RAC安装grid时root.sh在二节点报错: CRS-2676: Start of 'ora.cssd' on 'prodb2' succeeded CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'prodb2' CRS-2672: Attempting to start 'ora.ctssd' on 'prodb2' CRS-2676: Start of 'ora.ctssd' on

打11.2.0.3.8这个psu时的报错ins_precomp.mk:19: warning: overriding commands for target `pcscfg.cfg'

今天在打11.2.0.3.8这个psu,发现有报错: Verifying the update... OPatch found the word "warning" in the stderr of the make command. Please look at this stderr. You can re-run this make command. Stderr output: ins_precomp.mk:19: warning: overriding commands fo

Sphinx/Coreseek 4.1 执行 buildconf.sh 报错,无法生成configure文件

参考的网址: http://blog.csdn.net/jcjc918/article/details/39032689 错误现象: 执行 buildconf.sh 报错,无法生成configure文件 报错的代码 automake: warnings are treated as errors /usr/share/automake-1.13/am/library.am: warning: 'libstemmer.a': linking libraries using a non-POSIX

RHEL6.5安装11.2.0.3 RAC并打补丁

[TOC] 一,主机配置 1.修改hosts文件(两节点) #127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 crm-4g-nm-dahsxw1 #::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 crm-4g-nm-dahsxw1 127.0.0.1 localhost.localdomain lo

solaris x86安装ORACLE 11.2.0.3软件时因SWAP不足报错: INFO: ld: fatal: mmap anon failed

1.ORACLE软件安装到86%时报错,图忘截了.日志例如以下: /oracle/u01/app/oracle/product/11.2.0/ INFO: db_1/lib/sysliblist` -R /opt/SUNWcluster/lib -R/export/home/oracle/u01/app/oracle/product/11.2.0/db_1/lib -R /opt/ORCLcluster/lib/  -Y P,:/opt/SUNWcluster/lib:/opt/ORCLclus

Oracle Rac root.sh报错 Failed to create keys in the OLR, rc = 127 libcap.so.1

环境交待: Linux 6.3 Oracle Rac 11.2.0.4 [[email protected] grid]# /u01/app/11.2.0/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.0/grid Enter the f

Redhat 6.4安装ORACLE11R2 ,运行root.sh报错:“libcap.so.1:cannot open shared object file”

1.系统环境: Redhat 6.4 企业版 Oracle11.2.0.2 RAC+ASM 2.报错信息:/oracle/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory 3.问题的可能性: ①缺少系统补丁包"libcap"补丁包  # rpm -qa|gr