Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Errors in /etc/init.d/init.ohasd (19.3)

Dude!May 18 2019 — edited Oct 7 2019

Is anyone from the Oracle GI team monitoring this space?

Anyway, while troubleshooting some issue I noticed some "permission denied" errors looking at journalctl -u oracle-ohasd. It turns out the source of the error is probably benign but nevertheless can be avoided:

It's the following in /etc/init.d/init-ohasd:

[root@localhost ~]# grep '$line >' /etc/init.d/init.ohasd

        my_logsys "$line > /sys/fs/cgroup/system.slice/oracle-ohasd.service/tasks"

        $ECHO $line > /sys/fs/cgroup/systemd/system.slice/oracle-ohasd.service/tasks

        while `/bin/ps -p $line >/dev/null`

            my_logsys "$line > /sys/fs/cgroup/cpu,cpuacct/tasks"

            $ECHO $line > /sys/fs/cgroup/cpu,cpuacct/tasks

      if `/bin/ps -p $line >/dev/null`; then

Either the my_logsys function needs put the command arguments between quotes or the greater sign needs to be escaped. Considering this is not a meaningful user message, the easy fix is to simply remove those lines.

Oracle GI Installation 19c (19.3).

This post has been answered by stormy-Oracle on May 28 2019
Jump to Answer
Comments
Post Details
Added on May 18 2019
8 comments
3,722 views