ohasd failed to start

Situation :

1) Two 11.2.0.4 RAC nodes( racnode1/2). Deleted node racnode2 . Upgraded OS from RHEL 4  to RHEL 7 for racnode2, then tried to add node racnode2 back into cluster from racnode1.

2) export IGNORE_PREADDNODE_CHECKS=Y, Ran addnode.sh ->  orainstRoot.sh->root.sh, then got the below errors:

...
..
.
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow:
2017-07-24 16:11:23.098:
[client(11401)]CRS-2101:The OLR was formatted using version 3.
2017-07-24 16:11:24.001:
[client(11424)]CRS-1001:The OCR was formatted using version 3.

ohasd failed to start at /u01/app/11.2.0.4/grid/crs/install/roothas.pl line 377, line 4.

Solution :

1)Create ohasd-oracle.service before running root.sh:

[root@racnode1 system]# cat /etc/systemd/system/oracle-ohasd.service

# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.

#

# Oracle OHASD startup



[Unit]

Description=Oracle High Availability Services

After=syslog.target network.target remote-fs.target



[Service]

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

Type=simple

Restart=always



[Install]

WantedBy=multi-user.target graphical.target
[root@racnode2]#systemctl start oracle-ohasd
[root@racnode2]#systemctl status oracle-ohasd
 oracle-ohasd.service - Oracle High Availability Services
 Loaded: loaded (/etc/systemd/system/oracle-ohasd.service; enabled; vendor preset: disabled)
 Active: active (running) since Wed 2017-07-26 14:55:19 AEST; 21h ago
 Main PID: 3073 (init.ohasd)
 CGroup: /system.slice/oracle-ohasd.service
Jul 26 14:55:19 racnode2 systemd[1]: Started Oracle High Availability Services.
Jul 26 14:55:19 racnode2 systemd[1]: Starting Oracle High Availability Services...
Jul 26 14:55:29 racnode2 init.ohasd[3073]: /etc/init.d/init.ohasd: Writing 4769 to oracle-ohasd tasks
ith operating system process ID 10136
...
..
.

OR

2) Download and apply patch  18370031 for 11.2.0.4.0 before running root.sh.

OR

3) Download and apply 11.2.0.4 GIPSU05 or later one before running root.sh. For 11.2.0.4, fter GIPSU05,  patch  18370031 is included in the PSU already.

Advertisements
This entry was posted in GI and RAC, Upgrading and Patching and tagged , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s