Command on NFS fails to execute - WA Agent and Solaris/AIX
search cancel

Command on NFS fails to execute - WA Agent and Solaris/AIX

book

Article ID: 245234

calendar_today

Updated On:

Products

CA Workload Automation DE Workload Automation Agent CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

Job fails when user runs a script or command located in NFS mounts.  This is observed in Solaris or AIX OS, similar commands will work on Linux.

202XXXXX 00012345+0400 AGENT1234 CAWADES_7500 JOB1234/APPL1234.1/MAIN RUN . Data(Args="xxxx",Script=/mnt/special.sh,Shell=/bin/ksh) User(usera) .....
202XXXXX 00012345+0400 AGENT1234 CAWADES_7500 JOB1234/APPL1234.1/MAIN  State SUBERROR Failed SetEnd Status
(Script/Command not accessible) Cmpc(4015)  User(AGENT1234) Host(solaris_host)

 

Environment

Release : 12.2

Component : Workload Automation System Agent

Cause

The Solaris/AIX may have permissions that restrict access to NFS.  The WA Agent usually runs as root and then user SETUID to become the user defined in job.  This may be an issue.

Resolution

The UNIX admin should check OS settings.  The other workaround is:

1. Change job type from script to command.  

2. Put /bin/ksh (or any shell) as command.  

3. Put the script with NFS auth and args in Arguments to pass field.