Monday, July 26, 2010

root.sh fails while installing 11gR2 Grid onAIX with ASM

Error:
mpa001:/oracle/brmgrid/11.2.0>./root.sh
Running Oracle 11g root.sh script...

The following environment variables are set as:
ORACLE_OWNER= oragrid
ORACLE_HOME= /oracle/brmgrid/11.2.0

Enter 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]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:

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.
2010-07-26 10:35:27: Parsing the host name
2010-07-26 10:35:27: Checking for super user privileges
2010-07-26 10:35:27: User has super user privileges
Using configuration parameter file: /oracle/brmgrid/11.2.0/crs/install/crsconfig_params
Improper Oracle Clusterware configuration found on this host
Deconfigure the existing cluster configuration before starting
to configure a new Clusterware
run '/oracle/brmgrid/11.2.0/crs/install/rootcrs.pl -deconfig'
to configure existing failed configuration and then rerun root.sh


Solution:
---------------
mpa001:/oracle/brmgrid/11.2.0>/oracle/brmgrid/11.2.0/crs/install/rootcrs.pl -deconfig -force
mpa001:/oracle/brmgrid/11.2.0>/oracle/brmgrid/11.2.0/crs/install/root.sh


---------
Also try to remove .oracle as:
rm -rf /var/tmp/.oracle
rm -rf /tmp/.oracle

Run root.sh

Check ulimit settings are unlimited oracle root& oragrid,oracle users.
July 28, 2010 12:02 AM
Ashak Khan said...
Also try to remove below before root.sh

rm -rf /var/tmp/.oracle
rm -rf /tmp/.oracle

Run root.sh

And check ulimit setting unlimited for oracle,oragrid and root user.

To increase the shell limits:
.
1. Add the following lines to the /etc/security/limits file:
default:
fsize = -1
core = -1
cpu = -1
data = -1
stack = -1
rss = -1
nofiles = -1
core_hard=-1
cpu_hard=-1
data_hard=-1
fsize_hard=-1
stack_hard=-1


2. Enter the following command to list the current setting for the maximum number of process allowed by the Oracle software user:
/usr/bin/lsattr -E -l sys0 -a maxuproc

If necessary, change the maxuproc setting using the following command:

/usr/sbin/chdev -l sys0 -a maxuproc = 16384

3. Repeat this procedure on all other nodes in the cluster.

No comments: