Code: Select all
[root@pmyws01 ~]# cat /etc/systemd/system/ohasd.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@pmyws01 ~]# systemctl daemon-reload
[root@pmyws01 ~]# systemctl enable ohasd.service
[root@pmyws01 ~]# systemctl start ohasd.service
[root@pmyws01 ~]# systemctl status ohasd.service
● ohasd.service - Oracle High Availability Services
Loaded: loaded (/etc/systemd/system/ohasd.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Wed 2019-12-25 00:37:26 IST; 14min ago
Main PID: 815 (code=exited, status=203/EXEC)
Dec 25 00:37:26 pmyws01.oracle.local systemd[1]: Unit ohasd.service entered failed state.
Dec 25 00:37:26 pmyws01.oracle.local systemd[1]: ohasd.service failed.
Dec 25 00:37:26 pmyws01.oracle.local systemd[1]: ohasd.service holdoff time over, scheduling restart.
Dec 25 00:37:26 pmyws01.oracle.local systemd[1]: start request repeated too quickly for ohasd.service
Dec 25 00:37:26 pmyws01.oracle.local systemd[1]: Failed to start Oracle High Availability Services.
Dec 25 00:37:26 pmyws01.oracle.local systemd[1]: Unit ohasd.service entered failed state.
Dec 25 00:37:26 pmyws01.oracle.local systemd[1]: ohasd.service failed.
[root@pmyws01 ~]#