How do we fixed the Oracle ASM Oracle High Availability Services (OHAS) Errors

Fixed the ASM Installation Error

ASM Installation Error

Sometime we had face the Link binaries and Prepare database setup issue during the database installation.

We need to check the file status and binaries status also need to start Oracle High Availability Services (OHAS)

File location

[root@asmqp install]# cd /u01/app/oracle/product/11.2.0/grid_1/crs/install/s_crsconfig_lib.pm

Add this before # Start OHASD

my $UPSTART_OHASD_SERVICE = “oracle-ohasd”;
my $INITCTL = “/sbin/initctl”;

($status, @output) = system_cmd_capture (“$INITCTL start $UPSTART_OHASD_SERVICE”);
if (0 != $status)
{
error (“Failed to start $UPSTART_OHASD_SERVICE, error: $!”);
return $FAILED;
}

We also need to check the init High Availability Services

Edit the oracle ohasd config file and add the line

[root@asmqp install]# vi /etc/init/oracle-ohasd.conf

Add this in ohasd.conf file

# Oracle OHASD startup

start on runlevel [35]

stop on runlevel [!35]

respawn

exec /etc/init.d/init.ohasd run >/dev/null 2>&1

(This is usually force to start the services)

After that we need to check the roothas.pl file for de-configure it.

[root@asmqp install]# ./roothas.pl -deconfig -force –verbose

In the bottom we can check the successfully de-configured

Now we can run the the orainst and root file

File location: /u01/app/oraInventory/orainstRoot.sh

[root@asmqp oraInventory]# ./orainstRoot.sh

File location: /u01/app/oracle/product/11.2.0/grid_1

[root@asmqp grid_1]# ./root.sh

One thought on “How do we fixed the Oracle ASM Oracle High Availability Services (OHAS) Errors

  • August 21, 2022 at 5:57 pm
    Permalink

    Excellent post however , I was wanting to know if you could write a litte more on this topic? I’d be very thankful if you could elaborate a little bit more. Kudos!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *