andreasdijkman / oracle-systemd-scripts

Scripts for start/stopping Oracle databases with systemd
GNU General Public License v3.0
9 stars 2 forks source link

Bugfix for RHEL8 with Python3 #5

Closed Rendanic closed 3 years ago

Rendanic commented 3 years ago

This change is needed for RHEL8 with Python3.

It fixes following bug in syslog:

Failed to write to file /sys/fs/cgroup/systemd/system.slice/oracle.service/cgroup.procs write() argument must be str, not bytes

I tested it with OL7 with Python2.7.5, too.