Problem Installing 11.2.0 on RHEL 7 64 Bit I have problem in stalling Oracle ASM on RHEL 7, Please advice

 [root@localhost grid]# ./root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/grid/product/11.2.0/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: /u01/app/grid/product/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node lrma086 successfully pinned.
Adding Clusterware entries to inittab
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow:
2015-10-19 10:19:43.306
[client(28082)]CRS-2101:The OLR was formatted using version 3.
2015-10-19 10:19:46.259
[client(28109)]CRS-1001:The OCR was formatted using version 3.
[client(28227)]CRS-10001:CRS-6021: No msg for has:crs-6021 [l][unlimited]
[client(28228)]CRS-10001:CRS-6021: No msg for has:crs-6021 [n][65536]

ohasd failed to start at /u01/app/grid/product/11.2.0/grid/crs/install/roothas.pl line 358, &lt;ALERTLOG&gt; line 6.
/u01/app/grid/product/11.2.0/grid/perl/bin/perl -I/u01/app/grid/product/11.2.0/grid/perl/lib -I/u01/app/grid/product/11.2.0/grid/crs/install /u01/app/grid/product/11.2.0/grid/crs/install/roothas.pl execution failed
Cause

The security limits requirements were not set according the recommended values

The message
[client(15674)]CRS-10001:CRS-6021: No msg for has:crs-6021 [n][65536]
makes think about the value recommended for oracle hard nofile 65536 in /etc/security/limits.conf

Then these messages makes think that probably the other parameters in /etc/security/limits.conf were not set
[client(15669)]CRS-10001:CRS-6021: No msg for has:crs-6021 [l][unlimited]
[client(15672)]CRS-10001:CRS-6021: No msg for has:crs-6021 [c][unlimited]

Solution

Using root user make sure that /etc/security/limits.conf are set as follows
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240