A Linux job ends normally, but the job report cannot be opened.
Configuration: login_check in the ini file is set to no. The agent uses its own UC_HOSTCHAR variable with ANONYMOUS_JOB set to Y.
7/1/2024 04:50:20 AM U00029003 Cannot open file '/opt/Automic/21/Agents/linux_nologin/temp/OAAGLXKV.TXT', error code '5', error description: 'Access is denied'.
7/1/2024 04:50:20 AM U00011000 'REPORT' (RunID: '0002951022') could not be started on 'LINUX_AGENT'. See next message.
7/1/2024 04:50:20 AM U00011002 Job 'JOBS.UNIX.35337366.HERA' (RunID '0002951021') on Host 'LINUX_AGENT' ended normally. Remote ID=5229
Agent Unix 21.0.10 Java-based.
Configuration.
Change the reportMode in the agent ini file to 666.
reportMode=666
Once changed the job will complete as expected and the report can be read.
7/5/2024 12:30:06 AM U00011002 Job 'JOBS.UNIX.35337366.HERA' (RunID '0002961002') on Host 'LINUX_AGENT' ended normally. Remote ID=2432