is that agent running under a Automic Service Manager? If yes please make sure also the Service Manager gets restarted after any changes in permissions have been applied. This is required because the Agent inherits the environment from the ServiceManager.
Please also check permissions on ACL level.
Original Message:
Sent: Sep 25, 2024 10:08 AM
From: Madhu Sudhan Gajavalli
Subject: Unix job fails with error :: temp/OAGDFNUU.TXT(ReadFileAuthority())', error code '2', error description: 'No such file or directory
Hello @Markus
I have tried to create and delete the file. it worked fine with working and non-working user.
We were checking with user management team, if there might be some difference level of permissions among these users in server level
Original Message:
Sent: Sep 23, 2024 01:46 AM
From: Markus Embacher
Subject: Unix job fails with error :: temp/OAGDFNUU.TXT(ReadFileAuthority())', error code '2', error description: 'No such file or directory
Hi,
can you log on manually with the non-working user, cd into the temp folder and try to create and delete a test file using touch and rm? Does it work?
Regards, Markus
Original Message:
Sent: Sep 20, 2024 02:57 AM
From: Madhu Sudhan Gajavalli
Subject: Unix job fails with error :: temp/OAGDFNUU.TXT(ReadFileAuthority())', error code '2', error description: 'No such file or directory
These were permissions for the folder.
drwxr-xr-x 2 uc4 uc4 6 Jun 24 2022 resources
drwxrwxrwx 2 uc4 uc4 6 Jun 24 2022 out
drwxr-xr-x 2 uc4 uc4 6 Jun 24 2022 backup
-rwxr-xr-x 1 uc4 uc4 7047680 Dec 15 2022 ucxjlx6_12.3.9.tar
drwxr-xr-x 2 uc4 uc4 154 Mar 7 2023 bin
drwxrwxrwx 2 uc4 uc4 4096 Sep 19 10:36 temp
Agnet is running as root.
root 57118 1 0 Sep19 ? 00:00:01 ./ucxjlx6
The Job is failing with only one user, when executed with three other users, it's working fine.
Original Message:
Sent: Sep 19, 2024 09:23 AM
From: Daryl Brown
Subject: Unix job fails with error :: temp/OAGDFNUU.TXT(ReadFileAuthority())', error code '2', error description: 'No such file or directory
This sounds like a permission issue on your /opt/uc4/V12.3.9/agent/temp folder (or perhaps one of the parent folders).
Does your user in question not have read access to that folder?
Is your agent itself running as root? (i.e., did you run the 'chown root ucxjlx6' and 'chmod 4755 ucxjlx6' commands when you installed the agent?)
Original Message:
Sent: Sep 19, 2024 02:48 AM
From: Madhu Sudhan Gajavalli
Subject: Unix job fails with error :: temp/OAGDFNUU.TXT(ReadFileAuthority())', error code '2', error description: 'No such file or directory
Unix job fails with error
U02000009 Job 'JOBS.UNIX.NEW.4' with RunID '72756392' ended with return code '9'.20240919/083638.569 - U00029003 Cannot open file '/opt/uc4/V12.3.9/agents/bin/./../temp/OAGDFNUU.TXT(ReadFileAuthority())',
error code '2', error description: 'No such file or directory
Agent V12.3.9.
this error occurs only when job executes on a particular user.
when job executed with other users, it works fine on the same Agent.