Localhost error causes Rac root. sh to fail to be executed, racroot. sh
Environment: AIX 7.1 Oracle Rac 11.2.0.3root @ kk01:/oraapp/grid/gridhome>./root. shPerforming 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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root script. now product-specific root actions will be saved med. using configuration parameter file: /oraapp/grid/gridhome/crs/install/inittrace directoryUser ignored during installationUser grid has the required capabilities to run CSSD in realtime modeOLR initialization-expose 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 certAdding Clusterware entries to inittabCRS-2672: attempting to start' ora. mdnsd 'on 'k01' CRS-2676: Start of 'ora. mdnsd 'on 'k01' succeededCRS-2672: Attempting to start' ora. gpnpd 'on 'k01' CRS-2676: Start of 'ora. gpnpd 'on 'k01' succeededCRS-2672: Attempting to start 'ora.css dmonitor' on 'k01' CRS-2672: Attempting to start' ora. gipcd 'on 'k01' CRS-2676: Start of 'ora. gipcd 'on 'k01' succeededCRS-2676: Start of 'ora.css dmonitor' on 'k01' succeededCRS-2672: Attempting to start 'ora.css d' on 'k01' CRS-2672: Attempting to start' ora. diskmon 'on 'k01' CRS-2676: Start of 'ora. diskmon 'on 'k01' succeededCRS-2676: Start of 'ora.css d' on 'k01' succeeded
ASM created and started successfully.
Disk Group OCRDG created successfully.
Clscfg:-install mode specifiedSuccessfully accumulated necessary OCR keys. creating OCR keys for user 'root', privgrp 'system '.. operation successful. CRS-4256: Updating the profileSuccessful 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 profileCRS-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 'k01' CRS-2676: Start of 'ora. asm 'on 'k01' succeededCRS-2672: Attempting to start' ora. OCRDG. dg 'on 'k01' CRS-2676: Start of 'ora. OCRDG. dg 'on 'k01' succeeded/oraapp/grid/gridhome/bin/srvctl start nodeapps-n kk01... failedFirstNode 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/addressxxxxxxxxxxx localhost found that an IP address alias in the/etc/hosts file is localhost, there are both sides. Delete the row and run root again. sh
Root @ k01:/oraapp/grid/gridhome>./root. shmongoming 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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root script. now product-specific root actions will be saved med. using configuration parameter file:/oraapp/grid/gridhome/crs/install/crsconfig_paramsUser ignored Prerequisites during installationPRKO-2190: VIP exists for node kk01, VIP name kk01-vipPRCS-1037: Single Client Access Name VIPs already existPRCS-1028: single Client Access Name listeners already existb7-cocould not be created as it already existsPRCR-1086: resource ora. is already registeredPRCR-1086: resource ora. cvu is already registeredCRS-2672: Attempting to start 'ora. registry. acfs 'on 'k01' CRS-2676: Start of 'ora. registry. acfs 'on 'k01' succeededConfigure Oracle Grid Infrastructure for a Cluster... succeededroot @ kk01:/oraapp/grid/gridhome>
Root @ k02:/oraapp/grid/gridhome>./root. shmongoming 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 byDatabase Configuration Assistant when a database is createdFinished running generic part of root script. now product-specific root actions will be saved med. using configuration parameter file: /oraapp/grid/gridhome/crs/install/systtrace directoryUser ignored Prerequisites during installationUser grid has the required capabilities to run CSSD in realtime modeOLR initialization-since Clusterware entries to inittabCRS-4402: the CSS daemon was started in exclusive mode but found an active CSS daemon on node kk01, number 1, and is terminatingAn active cluster was found during exclusive startup, restarting to join the clusterConfigure Oracle Grid Infrastructure for a Cluster... succeededroot @ kk02:/oraapp/grid/gridhome> su-gridgrid @ kk02:/home/grid> crs_stat-tName Type Target State Host restart ora .... n1.lsnr ora .... er. type ONLINE kk01 ora. OCRDG. dg ora .... up. type ONLINE kk01 ora. asm ora. asm. type ONLINE kk01 ora. cvu ora. cvu. type ONLINE kk01 ora. gsd ora. gsd. type OFFLINE ora .... SM1.asm application ONLINE kk01 ora .... r01.gsd application OFFLINE ora .... r01.ons application ONLINE kk01 ora .... r01.vip ora .... t1.type ONLINE kk01 ora .... SM2.asm application ONLINE kk02 ora .... r02.gsd application OFFLINE ora .... r02.ons application ONLINE kk02 ora .... r02.vip ora .... t1.type ONLINE kk02 ora .... network ora .... rk. type ONLINE kk01 ora. in the left-side navigation pane. for more information, see <G id = "1"> overview </G>. type ONLINE kk01 ora. ons ora. ons. type ONLINE kk01 ora .... ry. acfs ora .... fs. type ONLINE kk01 ora. scan1.vip ora .... ip. type ONLINE kk01 grid @ kk02:/home/grid>
The expert instructed me to install ORACLE 11g rac and finally executed the rootsh script on the two nodes to report an error solution. I am grateful for the solution.
The cluster is not successfully installed!
The ora. crsd component is not started!
Pay attention to your partition during installation
After reinstalling the backup partition, you must format it again!
Otherwise, the grid component fails to be installed.
Obviously, your cluster fails to be installed.
Run
Tail-500/u01/app/11.2.0/grid/export toollogs/crsconfig/rootcrs_rac1.log
Post information
How to diagnose the error of executing the rootsh script during crs installation?
Troubleshooting root. sh problem ------ * for 10g and 11. 11. verify the public network. The private network node names can be pinged to each other. --- verify that the OCR/Voting file can be read and written to oracle and root users. The disk permission Dd if =/dev/raw/raw1 of =/dev/null -- verify the readable Pre Install: OCR-root: oinstall-640 Voting-oracle: oinstall-660 Post Install: OCR-root: oinstall-640 Voting-oracle: oinstall-644In RHAS 4.0, permissions shoshould be added to/etc/rc. d/rc. local. see Note 293819.1 for more inform Ation.3. execute root. make sure that the ocr and voting disks are clean before sh -- (for the first installation) Example: clear disk header dd if =/dev/zero of =/dev/traindata_dg/ocrV1064_100m.dbf bs = 8192 count = 12800 dd if =/dev/zero of =/dev/traindata_dg/V1064_vote_01_20m.dbf bs = 8192 count = 2560 4. verify that the Oracle user has permissions on/var/tmp (specifically/var/tmp /. oracle) 5.Is pam being used ??. Verify that the correct vendor clusterware version is being used (if vendor clusterware is being used ). if on Sun, make sure you areusing the latest UDLM. if on Sun, make sure the udlm has the keyword "reentrant ". example:> more/var/sadm/pkg/ORCLudlm/pkginfo | grep VERSION = Dev Release 10/29/03, 64bit 3.3.4.7 reentrant7. Veirfy that crs, css, or evm is not already running (ps-ef | grep d. bin) ------ debug root. sh ------ 1. crsctl stop crs (root User) 2. backup the entire Oracle Clusterware home.3.Execute <CRS_HOME>/install/rootdelete. sh on all nodes4. Execute <CRS_HOME>/install/rootdeinstall. sh on the inst ...... remaining full text>