This time in the customer site installation, due to the implementation and the hardware is not coordinated, resulting in the installation process of various problems in the environment, in this installation basically see all the error, also includes the host frequent restart, and configuration information loss problems,
The following are the three issues that are performed during the installation of RAC in the root.sh error:
/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
Re-execute failed command, view information
/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
View specific Letter
Interest:/u01/11.2.0/grid/log/rac01/agent/crsd/oraagent_grid/oraagent_grid.log
The log message indicates that the listener cannot be turned on:
Manually start monitoring to see the error message:
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, 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
Cause: The Hosts file does not have a 127.0.0.1 localhost line configured, causing the listener to start an error
Problem solving:
Vi/etc/hosts
Add to:
127.0.0.1 localhost
Restart monitoring:
Su-grid
Lsnrctl start
After listening to execute rootcrs.pl-deconfig-force-verbose
Then re-execute the root.sh
Error message:
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
Re-execution:/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
the display Scanip name is incorrect, as modified by the Hosts file
Executive Rootcrs.pl-deconfig-force-verbose
Re-execute root.sh
Successful execution:
[Email protected] grid]#./root.sh
Performing root user operation for Oracle 11g
The following environment variables is 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" has not changed. No need to overwrite.
The contents of "oraenv" has not changed. No need to overwrite.
The contents of "coraenv" has not changed. No need to overwrite.
Entries'll 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 would 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
View Logs
[Email protected] install]# more Root_rac02_2014-12-12_11-51-36.log
Discovery of host Hosts file configuration content is missing
After configuring the Hosts file according to node one, re-executing root.sh successfully
This article is from the "Sunny" blog, make sure to keep this source http://dbasunny.blog.51cto.com/9192126/1590036
Write a few RAC installation execution root.sh error