Autosys fails to reads the profile file, even though it manually looks visible, accessible and executable.
Autosys server side:
---------------------
$ echo $AUTOSERV
QNA
$ autoflags -a
1701 LINUX SYB 11.3.6 SP8CUM1 650a404e
$ autorep -j TESTING-shindv-missn-profile-case -wd
Job Name Last Start Last End ST/Ex Run/Ntry Pri/Xit
________________________________________________________________ ____________________ ____________________ _____ ________ _______
TESTING-shindv-missn-profile-case ----- 2020-12-03 05:31:30 FA 234636246/2 -655
Status/[Event] Time Ntry ES ProcessTime Machine
-------------- --------------------- -- -- --------------------- ----------------------------------------
STARTING 2020-12-03 05:31:13 1 PD 2020-12-03 05:31:13 eqrqana3
RESTART 2020-12-03 05:31:13 1 PD 2020-12-03 05:31:14
<Rescheduled by the agent, profile could not be found.>
[*** ALARM ***]
RESOURCE 2020-12-03 05:31:13 1 PD 2020-12-03 05:31:14 eqrqana3
<Rescheduled by the agent, profile could not be found.>
[STARTJOB] 2020-12-03 05:31:29 2 PD 2020-12-03 05:31:29
<Scheduled due to RESTART event.>
STARTING 2020-12-03 05:31:29 2 PD 2020-12-03 05:31:29 eqrqana3
RESTART 2020-12-03 05:31:29 2 PD 2020-12-03 05:31:30
<Rescheduled by the agent, profile could not be found.>
[*** ALARM ***]
RESOURCE 2020-12-03 05:31:29 2 PD 2020-12-03 05:31:30 eqrqana3
<Rescheduled by the agent, profile could not be found.>
[*** ALARM ***]
MAX_RETRYS 2020-12-03 05:31:30 2 PD 2020-12-03 05:31:31 eqrqana3
FAILURE 2020-12-03 05:31:30 2 PD 2020-12-03 05:31:31
<Have EXCEEDED the Max # of times (2) to attempt a restart. Something is wrong and needs to be investigated manually.>
[*** ALARM ***]
JOBFAILURE 2020-12-03 05:31:31 2 PD 2020-12-03 05:31:32 eqrqana3
$ autorep -qj TESTING-shindv-missn-profile-case
/* ----------------- TESTING-shindv-missn-profile-case ----------------- */
insert_job: TESTING-shindv-missn-profile-case job_type: CMD
command: echo
machine: eqrqana3
owner: zresgpsq
permission: me,mx
date_conditions: 0
std_out_file: "/v/global/appl/jobsched/misc/data/tmp3/logs/$AUTOSERV.$AUTO_JOB_NAME.$AUTORUN"
std_err_file: "/v/global/appl/jobsched/misc/data/tmp3/logs/$AUTOSERV.$AUTO_JOB_NAME.$AUTORUN"
alarm_if_fail: 1
profile: "/ms/dist/eqr/PROJ/gpsbi/2020.12.03-1/common/.profile"
alarm_if_terminated: 1
iapp544.howard.ms.com / 330$ ls -l /ms/dist/eqr/PROJ/gpsbi/2020.12.03-1/common/.profile
-rwxrwxrwx 1 pjenkdst trainsrv 1265 Dec 3 01:20 /ms/dist/eqr/PROJ/gpsbi/2020.12.03-1/common/.profile
Autosys Agent Side
---------------------
$ ls -l /ms/dist/eqr/PROJ/gpsbi/2020.12.03-1/common/.profile
-rwxrwxrwx 1 pjenkdst trainsrv 1265 Dec 3 01:20 /ms/dist/eqr/PROJ/gpsbi/2020.12.03-1/common/.profile
$ cd /var/tmp/jobsched/spool/QNA_SCH/MAIN/WAAE_WF0.1
$ ls -lrt *234636246*
-rwxr-xr-x 1 zresgpsq cc1831 103 Dec 3 05:31 1909769.234636246_1.90011236F263897B08AE0CB345CD26685C405930_wrapper.sh
-rwxr-xr-x 1 zresgpsq cc1831 17 Dec 3 05:31 1909769.234636246_1.90011236F263897B08AE0CB345CD26685C405930.sh
-rw-r--r-- 1 zresgpsq cc1831 6631 Dec 3 05:31 1909769.234636246_1.90011236F263897B08AE0CB345CD26685C405930.joblog
-rw-r--r-- 1 zresgpsq cc1831 411 Dec 3 05:31 1909769.234636246_1
-rwxr-xr-x 1 zresgpsq cc1831 103 Dec 3 05:31 1909769.234636246_2.231EC3419CAB050711D84FA0F56131E1FFC32E4D_wrapper.sh
-rwxr-xr-x 1 zresgpsq cc1831 17 Dec 3 05:31 1909769.234636246_2.231EC3419CAB050711D84FA0F56131E1FFC32E4D.sh
-rw-r--r-- 1 zresgpsq cc1831 6631 Dec 3 05:31 1909769.234636246_2.231EC3419CAB050711D84FA0F56131E1FFC32E4D.joblog
-rw-r--r-- 1 zresgpsq cc1831 411 Dec 3 05:31 1909769.234636246_2
$ cat 1909769.234636246_2.231EC3419CAB050711D84FA0F56131E1FFC32E4D_wrapper.sh
#!/bin/ksh
cd /ms/dist/eqr/PROJ/gpsbi/qa/
. /ms/dist/eqr/PROJ/gpsbi/2020.12.03-1/common/.profile
$ cat 1909769.234636246_2
----------------------------------------------------------------
Output of messages for workload object 1909769.234636246_2/WAAE_WF0.1/MAIN
Start date Thu Dec 3 05:31:29 2020
----------------------------------------------------------------
cybspawn: Thu Dec 3 05:31:29 2020:1909769.234636246_2/WAAE_WF0.1/MAIN: cybspawn: unable to verify profile file ('/ms/dist/eqr/PROJ/gpsbi/2020.12.03-1/common/.profile')
Release : 11.3.6
Component : CA Workload Automation AE (AutoSys)
Confirm if the Andrew File System in MS is involved as it has its own access control on top of Unix permissions.
Public access to the full path and file name are needed.