Oracle Study--oracle 11GR2 building RAC's Hosts file failure

Source: Internet
Author: User

Oracle Study--oracle 11GR2 building RAC's Hosts file failure

System environment: RedHat EL55

Oracle:oracle 11gR2 +gi

When you install GI, when you run root.sh script, one of the following node errors occurs:

[Email protected] ctssd]#/u01/11.2.0/grid/root.sh

Running oracle 11g root.sh script ... The following environment variables are set as:    oracle_ owner= grid    oracle_home=  /u01/11.2.0/gridenter the full  pathname of the local bin directory: [/usr/local/bin]: the file  " Dbhome " already exists in /usr/local/bin.  Overwrite it?  (y/n)  [n ]: Y   COPYING DBHOME TO /USR/LOCAL/BIN&NBSP, ..... the file  "Oraenv"  already exists in /usr/local/bin.  overwrite it ?  (y/n)  [n]: y   copying oraenv to /usr/local/bin  the file  "Coraenv"  already exists in /usr/local/bin.  Overwrite  it?  (y/n)  [n]: y   copying coraenv to /usr/local/bin  ..... entries will be added to the /etc/oratab file as needed  bydatabase configuration assistant when a database is createdfinished  Running generic part of root.sh script. Now product-specific root actions will be performed.2016-03-16 16:18:11:  Parsing the host name2016-03-16 16:18:11: Checking for super  User privileges2016-03-16 16:18:11: user has super user privilegesusing  configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_paramslocal add  MODE Creating OCR keys for user  ' root ', privgrp  ' root '. Operation successful. adding daemon to inittabcrs-4123: oracle high availability services  Has been started.ohasd is staRtingcrs-4402: the css daemon was started in exclusive mode but  found an active CSS daemon on node node1, number 1,  and is terminatingan active cluster was found during exclusive  Startup, restarting to join the clustercrs-2672: attempting to start   ' ORA.MDNSD '  on  ' node2 ' crs-2676: start of  ' ora.mdnsd '  on  ' node2 '   succeededcrs-2672: attempting to start  ' ora.gipcd '  on  ' Node2 ' crs-2676:  start of  ' ora.gipcd '  on  ' Node2 '  succeededcrs-2672: attempting to start   ' ORA.GPNPD '  on  ' node2 ' crs-2676: start of  ' ora.gpnpd '  on  ' node2 '   succeededcrs-2672: attempting to start  ' ora.cssdmonitor '  on  ' Node2 ' CRS-2676:  Start of  'Ora.cssdmonitor '  on  ' node2 '  succeededCRS-2672: Attempting to start  ' ORA.CSSD '  on  ' node2 ' crs-2672: attempting to start  ' Ora.diskmon '  on  ' Node2 ' crs-2676: start of  ' Ora.diskmon '  on  ' Node2 '  succeededcrs-2676: start  of  ' ORA.CSSD '  on  ' Node2 '  succeededCRS-2672: Attempting to start  ' ORA.CTSSD '  on  ' Node2 '

Failure with signal 2 from command:/u01/11.2.0/grid/bin/crsctl start resource ora.ctssd-init-env Usr_ora_env=ctss_reboo T=true
Start of resource "Ora.ctssd-init-env Usr_ora_env=ctss_reboot=true" failed
Failed to start CTSS
Failed to start Oracle clusterware stack
Oracle Root Script Execution aborted!


-----Failed to start the CTSSD process!

The check found that the following error occurred in the Node2 Hosts file:

[Email protected] ~]$ cat/etc/hosts
# don't remove the following line, or various programs
# that require network functionality would fail.
127.0.0.1 node1 localhost.localdomain localhost
:: 1 localhost6.localdomain6 Localhost6
192.168.3.101 Node1
192.168.3.111 NODE1-VIP
10.10.10.1 Node1-priv


192.168.3.102 Node2
192.168.3.112 NODE2-VIP
10.10.10.2 Node2-priv

192.168.3.12 Rac-scan

-------127.0.0.1 is parsed as the host name of another node (NODE1)

Switch
127.0.0.1 localhost.localdomain localhost

Rerun root.sh script after success!

[[email protected] install]# CRSCTL Check CRS

Crs-4638:oracle High Availability services are Onlinecrs-4537:cluster ready Services are Onlinecrs-4529:cluster Synchroni Zation Services is onlinecrs-4533:event Manager is online

[Email protected] install]# crs_stat-t

name           type            Target    State     Host         ------------------------------------------------------------ora .... n1.lsnr ora....er.type online    online    node1        ora .... vote.dg ora....up.type online    online    node1        ora.asm        ora.asm.type    ONLINE    ONLINE    node1        ora.eons       ora.eons.type  ONLINE     online    node1       ora.gsd        ora.gsd.type   offline   offline                ora....network ora ....rk.type online    online    node1        ora .... sm1.asm application    online    online     node1       ora.node1.gsd  application     offline   offline                ora.node1.ons  application    online    online     node1       ora.node1.vip  ora....t1.type  online    online    node1      & NBsP;ora .... sm2.asm application    online    online     node2       ora.node2.gsd  application     offline   offline                ora.node2.ons  application    online    online     node2       ora.node2.vip  ora....t1.type  ONLINE    ONLINE    node2        ora.oc4j       ora.oc4j.type  OFFLINE    offline               ora.ons         ora.ons.type   online    online     node1       ora....ry.acfs ora....fs.type online     online    node1       ora.scan1.vip   ora....ip.type online    online    node1


This article is from the "Tianya blog," Please make sure to keep this source http://tiany.blog.51cto.com/513694/1752035

Oracle Study--oracle 11GR2 building RAC's Hosts file failure

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.