Job fails with Unable to create STDOUT: Permission denied. Error code: 13 on RHEL 9.x
search cancel

Job fails with Unable to create STDOUT: Permission denied. Error code: 13 on RHEL 9.x

book

Article ID: 366970

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

Users may experience issue when running jobs on RHEL 9.x server. The first execution of a job completes successfully, Subsequent executions or job resubmit may fail with error this message:

  "Unable to create STDOUT: Permission denied. Error code: 13"

 

Environment

OS: RHEL 9.x

Agent Version: 12.x

Cause

This is error is due to a change in RHEL 9.  Redhat has provided a kernel parameter to control the behaviour similar to previous versions.

https://www.kernel.org/doc/Documentation/sysctl/fs.txt

 

Resolution

Per the above kernel document,

  1. Add the below parameter in /etc/sysctl.conf
    fs.protected_regular=0
  2. Reload the kernel parameters and the problem should be fixed as we tested locally.
    sysctl -p /etc/sysctl.conf

The OS restart may be necessary.