Error installing Wily agent: "Unable to get PolicyServer root, cannot copy file"

Document ID : KB000071574
Last Modified Date : 15/03/2018
Show Technical Document Details
We have installed the Wily Agent from installer location as root and using the '-i silent' parameter, and after the installation completes, in the install logs we can see the following fatal error:

0 NonFatalErrors 
1 FatalErrors 
Additional Notes: FATAL ERROR - [PSTasksManager] Unable to get PolicyServer root, cannot copy file. 

How can we solve this issue?
If during the installation there were problems to copy Agent.jar and EPAgent.jar files to the /SiteminderManagerAgent/lib folder, or the permissions were not set properly, the JVM will be unable to start completely and causing such errors.

Reminds that the owner of folder /SiteminderManagerAgent/lib should be set for the user which runs the Policy Server.

To solve it, you can verify the permissions are correct or manually copy those files from Policy Server box where SMM was running properly and then, restart the agent.