HOME > > Failed to start Oracle OHASD service during root.sh

Failed to start Oracle OHASD service during root.sh

Anup - Monday, February 20, 2023



 Issue: 


^CFailed to write the checkpoint:'ROOTCRS_BOOTCFG' with status:FAIL.Error code is 33280


INT at /oracle/grid/11g/crs/install/crsconfig_lib.pm line 1446.

/oracle/grid/11g/perl/bin/perl -I/oracle/grid/11g/perl/lib -I/oracle/grid/11g/crs/install /oracle/grid/11g/crs/install/rootcrs.pl execution failed

Oracle root script execution aborted!



Solution: 


Failed to start Oracle OHASD service during root.sh

During the installation of 11gr2 RAC on RHEL 7, when running root.sh script getting error as Failed to start Oracle OHASD service when gone through the DOC came to know that its knows issue for 11gr2 with RHEL 7, This happens since RHEL 7 onwards, it uses systemd rather than initd for starting or restarting processes and runs them as a service. And in current software install of 11.2.0.4 will not succeed because the ohasd process does not start properly. Hence you can use following work around


Perform below steps on both node


Step 1: Login as  ROOT user


cd /etc/systemd/system/

touch ohasd.service


Step 2: Edit the file ohasd.service and add the following text

[Unit]

Description=Oracle High Availability Services

After=syslog.target


[Service]

ExecStart=/etc/init.d/init.ohasd run >/dev/null 2>&1 Type=simple

Restart=always


[Install]

WantedBy=multi-user.target


Step3 : Run the following commands (as root):


systemctl daemon-reload

systemctl enable ohasd.service

systemctl start ohasd.service


4. Now run root.sh from the Grid $OH and it should succeed


Refer Doc ID 1959008.1


Contact me

Get in Touch

Need to get touch with me? Please fill out the form with your enquiry.

Name
Anup Srivastav
Address
Lucknow - Utter Pradesh
Email
myindiandba@gmail.com
Message me