localhost错误导致Rac root.sh执行失败

环境:

AIX 7.1

Oracle Rac 11.2.0.3

[email protected]:/oraapp/grid/gridhome>./root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME=  /oraapp/grid/gridhome

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: /oraapp/grid/gridhome/crs/install/crsconfig_params

Creating trace directory

User ignored Prerequisites during installation

User grid has the required capabilities to run CSSD in realtime mode

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 ‘kk01‘

CRS-2676: Start of ‘ora.mdnsd‘ on ‘kk01‘ succeeded

CRS-2672: Attempting to start ‘ora.gpnpd‘ on ‘kk01‘

CRS-2676: Start of ‘ora.gpnpd‘ on ‘kk01‘ succeeded

CRS-2672: Attempting to start ‘ora.cssdmonitor‘ on ‘kk01‘

CRS-2672: Attempting to start ‘ora.gipcd‘ on ‘kk01‘

CRS-2676: Start of ‘ora.gipcd‘ on ‘kk01‘ succeeded

CRS-2676: Start of ‘ora.cssdmonitor‘ on ‘kk01‘ succeeded

CRS-2672: Attempting to start ‘ora.cssd‘ on ‘kk01‘

CRS-2672: Attempting to start ‘ora.diskmon‘ on ‘kk01‘

CRS-2676: Start of ‘ora.diskmon‘ on ‘kk01‘ succeeded

CRS-2676: Start of ‘ora.cssd‘ on ‘kk01‘ succeeded

ASM created and started successfully.

Disk Group OCRDG created successfully.

clscfg: -install mode specified

Successfully accumulated necessary OCR keys.

Creating OCR keys for user ‘root‘, privgrp ‘system‘..

Operation successful.

CRS-4256: Updating the profile

Successful addition of voting disk 8baf1210f0ac4fe1bf0e45c1abd2bd14.

Successful addition of voting disk affc1a24965f4fd3bfe079a12d81e70f.

Successful addition of voting disk 0ecd160564c14fb0bfe78dc99ccb9271.

Successfully replaced voting disk group with +OCRDG.

CRS-4256: Updating the profile

CRS-4266: Voting file(s) successfully replaced

##  STATE    File Universal Id                File Name Disk group

--  -----    -----------------                --------- ---------

1. ONLINE   8baf1210f0ac4fe1bf0e45c1abd2bd14 (/dev/rhdisk4) [OCRDG]

2. ONLINE   affc1a24965f4fd3bfe079a12d81e70f (/dev/rhdisk5) [OCRDG]

3. ONLINE   0ecd160564c14fb0bfe78dc99ccb9271 (/dev/rhdisk6) [OCRDG]

Located 3 voting disk(s).

CRS-2672: Attempting to start ‘ora.asm‘ on ‘kk01‘

CRS-2676: Start of ‘ora.asm‘ on ‘kk01‘ succeeded

CRS-2672: Attempting to start ‘ora.OCRDG.dg‘ on ‘kk01‘

CRS-2676: Start of ‘ora.OCRDG.dg‘ on ‘kk01‘ succeeded

/oraapp/grid/gridhome/bin/srvctl start nodeapps -n kk01 ... failed

FirstNode configuration failed at /oraapp/grid/gridhome/crs/install/crsconfig_lib.pm line 9196.

/oraapp/grid/gridhome/perl/bin/perl -I/oraapp/grid/gridhome/perl/lib -I/oraapp/grid/gridhome/crs/install /oraapp/grid/gridhome/crs/install/rootcrs.pl execution failed

127.0.0.1               loopback localhost      # loopback (lo0) name/address

::1                     loopback localhost      # IPv6 loopback (lo0) name/address

xxxxxxxxxxx    localhost

发现/etc/hosts 文件中有一个IP地址的别名是localhost,两边都有,将此行删除,并重新运行root.sh

[email protected]:/oraapp/grid/gridhome>./root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME=  /oraapp/grid/gridhome

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: /oraapp/grid/gridhome/crs/install/crsconfig_params

User ignored Prerequisites during installation

PRKO-2190 : VIP exists for node kk01, VIP name kk01-vip

PRCS-1037 : Single Client Access Name VIPs already exist

PRCS-1028 : Single Client Access Name listeners already exist

OC4J could not be created as it already exists

PRCR-1086 : resource ora.oc4j is already registered

PRCR-1086 : resource ora.cvu is already registered

CRS-2672: Attempting to start ‘ora.registry.acfs‘ on ‘kk01‘

CRS-2676: Start of ‘ora.registry.acfs‘ on ‘kk01‘ succeeded

Configure Oracle Grid Infrastructure for a Cluster ... succeeded

[email protected]:/oraapp/grid/gridhome>

[email protected]:/oraapp/grid/gridhome>./root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME=  /oraapp/grid/gridhome

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: /oraapp/grid/gridhome/crs/install/crsconfig_params

Creating trace directory

User ignored Prerequisites during installation

User grid has the required capabilities to run CSSD in realtime mode

OLR initialization - successful

Adding Clusterware entries to inittab

CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node kk01, number 1, and is terminating

An active cluster was found during exclusive startup, restarting to join the cluster

Configure Oracle Grid Infrastructure for a Cluster ... succeeded

[email protected]:/oraapp/grid/gridhome>su - grid

[email protected]:/home/grid>crs_stat -t

Name           Type           Target    State     Host

------------------------------------------------------------

ora....N1.lsnr ora....er.type ONLINE    ONLINE    kk01

ora.OCRDG.dg   ora....up.type ONLINE    ONLINE    kk01

ora.asm        ora.asm.type   ONLINE    ONLINE    kk01

ora.cvu        ora.cvu.type   ONLINE    ONLINE    kk01

ora.gsd        ora.gsd.type   OFFLINE   OFFLINE

ora....SM1.asm application    ONLINE    ONLINE    kk01

ora....r01.gsd application    OFFLINE   OFFLINE

ora....r01.ons application    ONLINE    ONLINE    kk01

ora....r01.vip ora....t1.type ONLINE    ONLINE    kk01

ora....SM2.asm application    ONLINE    ONLINE    kk02

ora....r02.gsd application    OFFLINE   OFFLINE

ora....r02.ons application    ONLINE    ONLINE    kk02

ora....r02.vip ora....t1.type ONLINE    ONLINE    kk02

ora....network ora....rk.type ONLINE    ONLINE    kk01

ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    kk01

ora.ons        ora.ons.type   ONLINE    ONLINE    kk01

ora....ry.acfs ora....fs.type ONLINE    ONLINE    kk01

ora.scan1.vip  ora....ip.type ONLINE    ONLINE    kk01

[email protected]:/home/grid>

时间: 2024-11-05 22:06:38

localhost错误导致Rac root.sh执行失败的相关文章

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

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

testdb11b root.sh执行结果

[[email protected] dev]# /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 full pathname of the local bin director

安装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的报错

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

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

当root.sh与ORA-15031相遇

近日处理一个Oracle Grid infrastructure(GI)安装的问题,在执行root.sh过程中失败,并显示下面错误: Disk Group OCR creation failed with the following message: ORA-15018: diskgroup cannot be created ORA-15031: disk specification '/dev/vx/rdsk/dg_db01/lv_vote1' matches no disks    <<

章节十七章、2- 给执行失败的case截图

一.案例演示 1.首先我们把截图的方法单独进行封装方便以后调用. 1 package utilities; 2 3 import java.io.File; 4 import java.io.IOException; 5 6 import org.apache.commons.io.FileUtils; 7 import org.openqa.selenium.OutputType; 8 import org.openqa.selenium.TakesScreenshot; 9 import o

系统突然断电重启导致rac节点无法启动,crs-4000错误

公司rac集群为双节点oracle11g的rac,操作系统为AIX6.1,突然断电重启了,再次查看集群状态,发现其中一个节点起不来. 经过系统工程师检查,发现重启后存储的光纤网络有十几秒左右的延时,于是手动启动crs,结果保crs-4000问题.以root用户执行./crsctl start crs仍然不行. 怀疑是asm有问题,在grid用户下asmcmd,结果发现连接到空实例,真是 ASM没有启动,于是直接在asmcmd里startup没有启动.但是半天也没有反应,于是进入asm实例: sq