Posted in RAC

CRS-4124: Oracle High Availability Services startup failed.

Some time ago I got the issue from below:

Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11.2.0/grid
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]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.
Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
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.
2011-05-11 02:20:52: Checking for super user privileges
2011-05-11 02:20:52: User has super user privileges
2011-05-11 02:20:52: Parsing the host name
Using configuration parameter file: /u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'oracle', privgrp 'oinstall'..
Operation successful.
CRS-4664: Node localhost successfully pinned.
Adding daemon to inittab
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device
ohasd failed to start: Inappropriate ioctl for device at /u01/app/oracle/product/11.2.0/grid/crs/install/roothas.pl line 296.

SomeĀ possible solutions could be:

1. Look at these 2 documents:
– OHASD Failed to Start: Inappropriate ioctl for device [ID1069182.1]
– How to Proceed from Failed 11gR2 Grid Infrastructure (CRS) Installation [ID 942166.1]

2. You will have to follow the steps where you monitor the /var/tmp/.oracle directory for the file creation and run the following command as root user as soon as the file exist:

/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1

3. Be sure that you’re using the certified configurations. For instance, I got this error while I was using OEL6 and I was trying to install 11.2.0.4 Grid on it. When I realized, I have used 11.2.0.3 Grid version and all went smoothly.

If you have encountered other situations, please post them in the comments.

Advertisements

Author:

I am an Oracle DBA with experience in Maximum Availability technology such as RAC, Data Guard, Grid Control and ASM. I worked with version 9i through 12c on a number of operating systems. Next to that I have an extensive experience with PL/SQL, Oracle eBusiness Suite and shell scripting. Specialties: Oracle RAC & ASM (Configuration/Monitoring/Tuning) Oracle Data Guard (Configuration/Monitoring/Tuning) EM12c (Installation / troubleshooting) SQL & PLSQL *nix Shell scripting

2 thoughts on “CRS-4124: Oracle High Availability Services startup failed.

  1. I am trying to install 11gR2 Grid Infrastructure (GI) on Oracle Linux 6.8 , facing the same issue while running the root.sh .
    OHAS is failing to start .
    Tried applying mutiple workarounds but no luck .

    Is 11gr2 certified for Linux 6.8 . Where Can I find the OS vs GI version matrix .

    Like

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.