Hi,

In installing Grid as the first phase of a RAC build, all works fine until I come to execute the root.sh script on the first node - here is what happens

Code:
rvecrcdrprod: >./root.sh
Running Oracle 11g root script...

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /mware/oracle/11.2/grid

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 by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /mware/oracle/11.2/grid/crs/install/crsconfig_params
ACFS-9200: Supported
ACFS-9200: Supported
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9312: Existing ADVM/ACFS installation detected.
ACFS-9314: Removing previous ADVM/ACFS installation.
This may take several minutes. Please wait ...
0518-307 odmdelete: 1 objects deleted.
0518-307 odmdelete: 1 objects deleted.
0518-307 odmdelete: 1 objects deleted.
ACFS-9315: Previous ADVM/ACFS components successfully removed.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9359: The AIX ODM entry for 'acfsctl' was successfully added.
ACFS-9359: The AIX ODM entry for 'advmctl' was successfully added.
ACFS-9359: The AIX ODM entry for 'advmvol' was successfully added.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9309: ADVM/ACFS installation correctness verified.
CRS-2672: Attempting to start 'ora.mdnsd' on 'rvecrcdrprod'
CRS-2676: Start of 'ora.mdnsd' on 'rvecrcdrprod' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rvecrcdrprod'
CRS-2676: Start of 'ora.gpnpd' on 'rvecrcdrprod' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rvecrcdrprod'
CRS-2672: Attempting to start 'ora.gipcd' on 'rvecrcdrprod'
CRS-2676: Start of 'ora.cssdmonitor' on 'rvecrcdrprod' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rvecrcdrprod' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rvecrcdrprod'
CRS-2672: Attempting to start 'ora.diskmon' on 'rvecrcdrprod'
CRS-2676: Start of 'ora.diskmon' on 'rvecrcdrprod' succeeded
CRS-2676: Start of 'ora.cssd' on 'rvecrcdrprod' succeeded

null

The ora.asm resource is not ONLINE
Did not succssfully configure and start ASM at /mware/oracle/11.2/grid/crs/install/crsconfig_lib.pm line 6468.
/mware/oracle/11.2/grid/perl/bin/perl -I/mware/oracle/11.2/grid/perl/lib -I/mware/oracle/11.2/grid/crs/install /mware/oracle/11.2/grid/crs/install/rootcrs.pl execution failed
This is my second time of running root.sh

The group is oinstall, the OCR and VOTING disks have been created successfully and the main part of the install
runs without any errors. I found an oracle workaround [ID 1259874.1] which suggests the following.

Code:
Owner of grid can not access olr.loc which is created by root.sh with wrong permission.

/etc/oracle has wrong permission and ownership:

 rwxr-x--- root root /etc/oracle
Solution

Unpublished bug 10357090 is fixed in 11.2.0.3, the workaround is to as root:

chmod g+rx,o+rx /etc/oracle 
umask 022
rvecrcdrprod: >pwd
/etc/oracle
rvecrcdrprod: >ls -ltr
total 32
drwxrwx---    2 root     oinstall        256 07 Sep 18:05 lastgasp
drwxr-xr-x    3 root     oinstall        256 07 Sep 18:05 scls_scr
drwxrwxr-x    5 root     oinstall        256 07 Sep 18:05 oprocd
-rw-r--r--    1 root     system           94 08 Sep 11:59 olr.loc.orig
-rw-r--r--    1 root     oinstall         94 08 Sep 11:59 olr.loc
-rw-r--r--    1 root     system           40 08 Sep 11:59 ocr.loc.orig
-rw-r--r--    1 root     oinstall         40 08 Sep 11:59 ocr.loc
rvecrcdrprod: >
So I implemented this but still the same error arises when I re-execute root.sh

I even changed the olr.loc file to an ownership of grid.oinstall and full 777 priv, but again stil no joy

Any ideas, what this could be and a resolution?

If I need to wipe away any files/tidy up and then attempt the install again I can do so, as environment is not in use as yet, but can I remove the files from /etc/oracle?

Many thanks