图形化安装grid时,跑 /app/grid/root.sh 会有问题
== bug==
1.手动解决
touch /usr/lib/systemd/system/ohas.service
chmod 777 /usr/lib/systemd/system/ohas.service
vim /usr/lib/systemd/system/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
当运行root.sh时,一直刷新/etc/init.d目录,直到出现 init.ohasd 文件,马上手动启动ohas.service服务(每个节点都要如此)
systemctl daemon-reload
systemctl enable ohas.service
Created symlink from /etc/systemd/system/multi-user.target.wants/ohas.service to /usr/lib/systemd/system/ohas.service.
systemctl status ohas
● ohas.service - Oracle High Availability Services
Loaded: loaded (/usr/lib/systemd/system/ohas.service; enabled; vendor preset: disabled)
Active: inactive (dead)
2.预先打补丁 18370031