LanGuard Agents are not getting the new definitions and packages and their updates are failing with an error: Last update failed.
This article provides information about the possible root causes and how to address them.
There are several possible root causes for the Agent "Last update failed" error, most of them are related to the environment changes or missing requirements. Also, the updated definitions are only provided to the latest versions of the product that are released. If you are not using the latest LanGuard version, upgrade first, and verify whether the error is gone.
One of the common reasons for the Agent update failures is the LanGuard server itself not updating due to some stuck old packages in the update folder. In the LanGuard console navigate to the Activity Monitor tab and check Program Updates Activity -> GFI LanGuard Updates for the error "Failed to validate the integrity of the file". If you see this error, follow the steps from the Error: 'Failed to validate the integrity of the file' While Running the Update article. If you see any other errors with LanGuard server updates, Update LanGuard Server Manually and verify whether the error is gone.
The rest of the possible causes are related to your environment variables, proceed with the Solution steps.
Ensure that the required Firewall Ports are open on the target machine(s) with an Agent and on the LanGuard server. Also, the firewall might block outbound connections as well, refer to the Recommended Settings for Best Performance in GFI LanGuard for the relevant configuration guidelines.
Antivirus software can be the cause of the update operations failing, verify and configure proper Antivirus exclusions.
Trigger Agent scan by right-clicking on the target machine in the network tree and selecting Scan > Refresh information now. The Agent will automatically run an update before the scan. Verify the Agent status after the scan finishes. If the issue persists, redeploy the Agent to the target machine.