You receive "FileNotFoundException" and the Grid Manager module for SAS® Environment Manager does not work correctly when you install LSF as root


When you install the Load Sharing Facility (LSF) as the root user, the lsf.shared file might be unreadable by the SAS installation account. This behavior can cause the following error in the PlatformWebServices.log (where LSF_TOP is the LSF installation directory):

Exception occured with details:java.io.FileNotFoundException: <LSF_TOP>/conf/lsf.shared (Permission denied)

This behavior also prevents the Grid Manager module for SAS® Environment Manager from working correctly.

To work around the issue, you must change the ownership of the file to the SAS installation account. To make this change, use the following command, which assumes that the SAS installation account and its primary group are sas.

chown sas:sas <LSF_TOP>/conf/lsf.shared