记几个rac安装执行root.sh的报错

这次在客户现场进行安装,由于实现并没有和硬件的人协调好,导致安装过程中环境出现各种问题,在这一次安装中基本上见到了所有报错,还包括主机频繁重启,以及配置信息丢失等问题,

以下为在安装rac的过程中,执行root.sh脚本报错的三个问题:

/u01/11.2.0/grid/bin/srvctl start nodeapps -n RAC01 ... failed

FirstNode configuration failed at 

/u01/11.2.0/grid/crs/install/crsconfig_lib.pm line 9288.

/u01/11.2.0/grid/perl/bin/perl -I/u01/11.2.0/grid/perl/lib -

I/u01/11.2.0/grid/crs/install /u01/11.2.0/grid/crs/install/rootcrs.pl 

execution failed

重新执行失败命令,查看信息

/u01/11.2.0/grid/perl/bin/perl -I/u01/11.2.0/grid/perl/lib -

I/u01/11.2.0/grid/crs/install /u01/11.2.0/grid/crs/install/rootcrs.pl

execution failed

查看具体信

息:/u01/11.2.0/grid/log/RAC01/agent/crsd/oraagent_grid/oraagent_grid.log

日志信息显示监听不能开启:

手动启动监听查看报错信息:

RAC01:/home/grid/$lsnrctl start

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 12-DEC-2014 18:06:46

Copyright (c) 1991, 2011, Oracle.  All rights reserved.

Starting /u01/11.2.0/grid/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.3.0 - Production

Log messages written to

/u01/app/grid/diag/tnslsnr/RAC01/listener/alert/log.xml

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=RAC01)

(PORT=1521)))

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))

TNS-12547: TNS:lost contact

TNS-12560: TNS:protocol adapter error

TNS-00517: Lost contact

Linux Error: 104: Connection reset by peer

问题原因:hosts 文件中没有配置127.0.0.1 localhost 一行,导致监听启动出现错误

问题解决:

vi /etc/hosts

添加:

127.0.0.1 localhost 

重启监听:

su - grid

lsnrctl start

解决监听后执行rootcrs.pl -deconfig -force -verbose

然后重新执行root.sh

报错信息:

PRCS-1016 : Failed to resolve Single Client Access Name RAC-scan

add scan=RAC-scan ... failed

FirstNode configuration failed at 

/u01/11.2.0/grid/crs/install/crsconfig_lib.pm line 9196.

/u01/11.2.0/grid/perl/bin/perl -I/u01/11.2.0/grid/perl/lib -

I/u01/11.2.0/grid/crs/install /u01/11.2.0/grid/crs/install/rootcrs.pl 

execution failed

重新执行:/u01/11.2.0/grid/perl/bin/perl -I/u01/11.2.0/grid/perl/lib -

I/u01/11.2.0/grid/crs/install /u01/11.2.0/grid/crs/install/rootcrs.pl

显示scanip name不正确,按照hosts文件修改后

执行rootcrs.pl -deconfig -force -verbose

重新执行 root.sh

执行成功:

[[email protected] grid]# ./root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME=  /u01/11.2.0/grid

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.

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/11.2.0/grid/crs/install/crsconfig_params

User ignored Prerequisites during installation

Failed to write the checkpoint:‘ROOTCRS_STACK‘ with status:START.Error 

code is 256

Failed to add (property/value):(‘VERSION/‘11.2.0.3.0‘) for 

checkpoint:ROOTCRS_STACK.Error code is 256

Failed to write the checkpoint:‘ROOTCRS_PARAM‘ with status:START.Error 

code is 256

Failed to write contents of pfile 

:/u01/11.2.0/grid/crs/install/crsconfig_params for 

checkpoint:ROOTCRS_PARAM. Error code is 256

Failed to write the checkpoint:‘ROOTCRS_PARAM‘ with status:SUCCESS.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_OSDSETUP‘ with status:START.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_OSDSETUP‘ with 

status:SUCCESS.Error code is 256

Failed to write the checkpoint:‘ROOTCRS_ONETIME‘ with status:START.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_ONETIME‘ with status:SUCCESS.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_OLR‘ with status:START.Error code 

is 256

Failed to write the checkpoint:‘ROOTCRS_OLR‘ with status:SUCCESS.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_OLR‘ with status:SUCCESS.Error 

code is 256

OLR initialization - successful

Failed to write the checkpoint:‘ROOTCRS_GPNPSETUP‘ with status:START.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_GPNPSETUP‘ with 

status:SUCCESS.Error code is 256

Failed to write the checkpoint:‘ROOTCRS_OHASD‘ with status:START.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_OHASD‘ with status:SUCCESS.Error 

code is 256

Adding Clusterware entries to upstart

Failed to write the checkpoint:‘ROOTCRS_INITRES‘ with status:START.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_INITRES‘ with status:SUCCESS.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_ACFSINST‘ with status:START.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_ACFSINST‘ with 

status:SUCCESS.Error code is 256

Failed to write the checkpoint:‘ROOTCRS_BOOTCFG‘ with status:START.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_BOOTCFG‘ with status:START.Error 

code is 256

^CFailed to write the checkpoint:‘ROOTCRS_BOOTCFG‘ with status:FAIL.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_BOOTCFG‘ with status:FAIL.Error 

code is 256

Failed to write the checkpoint:‘ROOTCRS_BOOTCFG‘ with status:FAIL.Error 

code is 256

INT at /u01/11.2.0/grid/crs/install/crsconfig_lib.pm line 1379.

/u01/11.2.0/grid/perl/bin/perl -I/u01/11.2.0/grid/perl/lib -

I/u01/11.2.0/grid/crs/install /u01/11.2.0/grid/crs/install/rootcrs.pl 

execution failed

查看日志

[[email protected] install]# more root_RAC02_2014-12-12_11-51-36.log

发现主机hosts 文件 配置内容丢失

按照节点一配置hosts文件后,重新执行root.sh 成功

时间: 2024-10-28 21:42:15

记几个rac安装执行root.sh的报错的相关文章

安装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

RAC安装重新运行root.sh

rac1执行root.sh成功,rac2执行失败. 在重新执行root.sh前,在rac2上把crs等配置信息删除: # /u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force

安装GRID时跑root.sh脚本报错(ORA-27091: unable to queue I/O)

在安装GRID过程中,运行root.sh脚本时报如下信息: Adding Clusterware entries to upstart CRS-2672: Attempting to start 'ora.mdnsd' on 'rac11g1' CRS-2676: Start of 'ora.mdnsd' on 'rac11g1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'rac11g1' CRS-2676: Start of

aix7.1安装12c执行root.sh无法启动ohasd服务案例

一.安装环境 操作系统版本:IBM AIX 7100-03-05-1524 ORACLE版本:ORACLE DATABASE 12C 12.1.0.2.0-64BIT RAC 二.安装报错 该环境安装的为12c RAC,在节点一执行root.sh脚本时,出现如下信息: 2018/03/29 17:11:43 CLSRSC-330: ADDing clusterware entries to file '/etc/inittab' 2018/03/29 17:13:49 CLSRSC-214: F

Oracle 11g RAC 二节点root.sh执行报错故障一例

OEL6.X IBM v3500存储多路径配置   http://koumm.blog.51cto.com/703525/1439760 2. 采用RHEL6.5 multipath多路径软件安装采用ASMLIB方式配置ASM共享磁盘成功,但是在第二节点执 行root.sh报如下错误提示,解决方式见3. Disk Group CRS creation failed with the following message:   ORA-15018: diskgroup cannot be creat

执行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

mac系统中搭建apache+mysql+php的开发环境,安装mysql后,登录报错:mac ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

php新手在mac系统中搭建apache+mysql+php的开发环境(按照这篇博客来操作的:http://my.oschina.net/joanfen/blog/171109?fromerr=xvCsafCe),在安装配置mysql完毕后,登录mysql,报错:mac ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO),折腾很久,终于解决,随手记录下,备忘. 解决方法: 第一步:如

CentOS5.6下安装Oracle10G软件(包含报错经验)

CentOS5.6下安装Oracle10G ******************************************************************************** *目标:在Centos系统下,安装Oracle10g软件 *步骤: *                1.安装包 *                2.域名解析设置及网络配置 *                3.创建用户.组 *                4.配置内核参数.修改环境变量

关于安装R语言的Rattle报错问题的解决方式

安装R语言的相关内容就不再赘述. 安装Rstudio的地址:https://www.rstudio.com/products/rstudio/download/ 安装rattle,执行的时候 library(rattle)没有问题,但是直接rattle()后没有跳出框,提示报错信息为: Error in method(obj, ...) : Invalid root element: 'requires' 或者压根没有报错信息,这个主要是RGtk2的问题,需要更换一下版本为2.20.31,更换方