While running root.sh for Oracle RAC 11gR2, it failed with following error stack.
root.sh fails with the following error:
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: A specified file does not support the ioctl system call.
ohasd failed to start at /oracle/product/11.2.0/gridhome/crs/install/rootcrs.pl line 451.
Solution is to cleanup following directories:
/etc/oracle (replace it with platform specific location)