oracle 11.2.0.4 rac/restart on rhel7/ol7 部署gi执行root.sh 报错ohasd failed to start处理

1、root用户创建服务文件
# touch /usr/lib/systemd/system/ohas.service
# chmod 777 /usr/lib/systemd/system/ohas.service

2、将以下内容添加到新创建的ohas.service文件中

[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

3、root用户运行下面的命令
# systemctl daemon-reload
# systemctl enable ohas.service
# systemctl start ohas.service

4、重新执行root.sh 脚本

posted @ 2021-03-10 09:12  踏雪无痕2017  阅读(128)  评论(0编辑  收藏  举报