Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com
http://www.free-online-exams.com
Problem Description
During the installation of Oracle Grid Infrastructure on Linux, while running root.sh it fails with error. From the logfile we see the following error./u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_vis.log:
Cause of the Problem
This problem happened if on the host machine Firewall is enabled or Security Enhanced linux(SELinux) is enabled.
Solution of the Problem
Step 01: Login as root user on the node which you have ran root.sh. Check whether SELinux is enabled or not.
You can check by,
# /usr/sbin/sestatus
command.
Step 02: If enabled you need to disable it permanently as well as temporarily unless you want to restart your server. Temporarily disable is very good workaround because you no longer need to restart your OS and also no need to reinstall everything.
Step 03: You can permanently disable SELinux by editing file /etc/selinux/config and set SELINUX =disabled.
# vi /etc/selinux/config
SELINUX=disabled
Temporarily disabled SELinux by setting setenforce to 0.
# /usr/sbin/setenforce 0 (to disable which is permissive, meaning SELinux is running and logging events but not controlling permissions)
If you want to know detail about the procedure have a look at How to disable SELinux.
Step 04: Deconfig crs on the nodes which it is failed.
# $GRID_HOME/crs/install/roothas.pl -delete -force -verbose
In order to know detail information about what to do after failure of Oracle 11gR2 Grid Infrastructure (CRS) Installation have a look at http://arjudba.blogspot.com/2010/03/what-to-do-after-failure-of-oracle.html.
Step 05: Run root.sh again.
[root@rac1 grid]# ./root.sh
During the installation of Oracle Grid Infrastructure on Linux, while running root.sh it fails with error. From the logfile we see the following error./u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_vis.log:
[root@rac1 grid]# ./root.sh Running Oracle 11g root.sh script... The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/11.2.0/grid 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.sh script. Now product-specific root actions will be performed. 2009-11-17 09:38:12: Parsing the host name 2009-11-17 09:38:12: Checking for super user privileges 2009-11-17 09:38:12: User has super user privileges Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params Creating trace directory LOCAL ADD MODE Creating OCR keys for user 'root', privgrp 'root'.. Operation 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 Failed to create a peer profile for Oracle Cluster GPnP. gpnptool rc=256 Creation of Oracle GPnP peer profile failed for linux1 at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 4138.
Cause of the Problem
This problem happened if on the host machine Firewall is enabled or Security Enhanced linux(SELinux) is enabled.
Solution of the Problem
Step 01: Login as root user on the node which you have ran root.sh. Check whether SELinux is enabled or not.
You can check by,
# /usr/sbin/sestatus
command.
Step 02: If enabled you need to disable it permanently as well as temporarily unless you want to restart your server. Temporarily disable is very good workaround because you no longer need to restart your OS and also no need to reinstall everything.
Step 03: You can permanently disable SELinux by editing file /etc/selinux/config and set SELINUX =disabled.
# vi /etc/selinux/config
SELINUX=disabled
Temporarily disabled SELinux by setting setenforce to 0.
# /usr/sbin/setenforce 0 (to disable which is permissive, meaning SELinux is running and logging events but not controlling permissions)
If you want to know detail about the procedure have a look at How to disable SELinux.
Step 04: Deconfig crs on the nodes which it is failed.
# $GRID_HOME/crs/install/roothas.pl -delete -force -verbose
In order to know detail information about what to do after failure of Oracle 11gR2 Grid Infrastructure (CRS) Installation have a look at http://arjudba.blogspot.com/2010/03/what-to-do-after-failure-of-oracle.html.
Step 05: Run root.sh again.
[root@rac1 grid]# ./root.sh
No comments:
Post a Comment