autosyslog command unable to retrieve job out/err logs in NFS mount
search cancel

autosyslog command unable to retrieve job out/err logs in NFS mount

book

Article ID: 217805

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

When the job logs are stored under an NFS mount, the autosyslog command is unable to retrieve them.

Environment

Release : 11.3.6

Component : CA Workload Automation AE (AutoSys)

Cause

The NFS share would have been created with root_squash by default, in which case the root account on the client is treated as an unprivileged account and would not be able to access the files under the mount. 

Resolution

There are 2 options to resolve this:

1)  Enable remote root users (root accounts on clients) to be able to access directories and files on the NFS mount similar to any files on the local server.

2) If enabling remote root accounts (no_root_squash) is not feasible, at least the files and directories in the NFS mount need to have read permissions for the 'other' user. So the 'root' account on the agent would be able to read and retrieve the files whenever the 'autosyslog' command is triggered.

Additional Information

SECURING NFS

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/s1-nfs-security

root_squash
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/storage_administration_guide/nfs-serverconfig#nfs-serverconfig-exports