nohup.stdout file presents a permission denied message.
search cancel

nohup.stdout file presents a permission denied message.

book

Article ID: 382251

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

The nohup.stdout file is filling up with the following message regardless if the running job is successful or is failure.

[/opt/CA/WorkloadAutomationAE/SystemAgent/Agent/spool/ACE_SCH/MAIN/WAAE_WF0.1/#######.#######_1.###############.joblog] can not be opened: [Permission denied]. The message is: <mm/dd/yyyy 12:45:14.602-0400 CAWA_I_20009 Successfully changed file owner and group for file

 

 

 

Environment

Agent 12.1 Sp1 

Cause

This is a behavior change in RHEL  and they have given a kernal parameter to control the behavior similar to previous versions. 

 

Resolution

1. Add the below parameter in /etc/sysctl.conf

fs.protected_regular=0

2. Reload the kernel parameters and the problem should be fixed .

sysctl -p /etc/sysctl.conf

 

Additional Information

Please refer the below kernel document : https://www.kernel.org/doc/Documentation/sysctl/fs.tx