IBM Support

Dynamic Agent job failed with mktemp error

Troubleshooting


Problem

DA job ABEND in with mktemp error.

Symptom

The joblog shows that the job abend with the following error:
mktemp: failed to create directory via template ‘/install/tmp.XXXXXXXXXX’: Permission denied
If manually run the job on the OS level using the streamlogon user, there is no problem.
If restart the agent by logon as the twsuser (instance owner, no sudo), the re-run the job in DA, the issue is gone.
The issue happens after OS reboot, there is a customized script used to launch StartUpLwa to start the agent.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGSPN","label":"IBM Workload Scheduler"},"ARM Category":[{"code":"a8m50000000L0hRAAS","label":"Components-\u003EDynamic Agent"}],"ARM Case Number":"TS004562600","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
01 December 2020

UID

ibm16374540