On a new installed SAP agent all jobs ends with ENDED_LOST after an agent restart.

Document ID : KB000089366
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Affects Release version(s): null

On a new installed SAP agent all jobs ends with ENDED_LOST after an agent restart.
Resolution:
On a new installed SAP agent all jobs ends with ENDED_LOST after an agent restart.
Sample of error message:    
java.io.FileNotFoundException: restart85534525 (Permission denied) at java.io.FileOutputStream.open(Native Method)

Cause:
The restart* files in the bin directory of the agent needs write rights.

Solution:
Set write permissions.