CHECK_FILE Precondition with Unix Agent - U00020411 The command 'EXIT' in 'XC_INC.CONDITION.CHECK_FILE', line '00086' stopped the generation of this task.

Document ID : KB000087774
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
U02000102 Error when calling the function 'lstat', error code '2(No such file or directory)'.

A WF contains a JOBS.UNIX. The precondition "CHECK FILE" checks for the existence of a file on a Linux-agent. If the file is present, all is good. If not, the task hangs in "waiting for preconditions" doing checks over and over again. In the report you can see this message reoccurring app. every 20 seconds:
 
2016-02-02 09:35:08 - IF file '/appli2/was/Envts/cwebsvci1/Current/Versions/v.wsr.ws-0230.0020030' does not exist (check via DMGRSVRC1).
2016-02-02 09:35:08 - U02000102 Error when calling the function 'lstat', error code '2(No such file or directory)'.
2016-02-02 09:35:08 - U00020411 The command 'EXIT' in 'XC_INC.CONDITION.CHECK_FILE', line '00086' stopped the generation of this task.
Cause:
Cause type:
Defect
Root Cause: Error in code
Resolution:
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: Released

Fix Version(s):
AE Server 11.2.2 of Automation.Engine - already available
AE Server 11.1.3 of Automation.Engine - already available
Additional Information:
Workaround :
N/A