You keep getting alerts in the GFI LanGuard console that the 'Communication server is not running.'
While this error is displayed, you may encounter other issues with deployments failing to download patches or agent communications.
The 'Communication server is not running ' error usually indicates that the Communication server (Apache) on the LanGuard server machine is down.
Normally, there should be 2
httpd.exe processes running on the LanGuard server machine. If you can see them in Windows Task Manager, there might be other missing requirements or environmental variables disrupting the communications. Ensure that all the Services Prerequisites, Settings, and Administrator Privileges Requirements are in place, and restart GFI LanGuard Attendant Service, that should resolve the issue.
If no httpd processes are running, this can be caused by the configuration issues or corruptuion. Proceed with the steps below.
Ensuring the correct configuration
The issue can be caused by using a mapped drive for the Patch Repository folder. The httpd processes need to access the Patch Repository, and if GFI LanGuard Attendant Service account used to start these processes does not have the mapped drive in its profile, the processes will fail to initialize. Even if the option is disabled, the Apache server will try and check the path. To this end, it is best not to use a mapped drive for these directories.
- Restart the GFI LanGuard Attendant Service and check for the two
httpd.exeprocesses. If they are still not present, continue.
- Ensure that the file
toolcfg_patchautodownload.mdbis present in the
- In the GFI LanGuard console go to Configuration > Patch Auto-Download.
- In the navigation pane, under Common Tasks click on Edit patch auto-download options.
- In the Patch Auto-download Properties dialog click on the Patch Repository tab.
- Make sure that the Download directory and the
WSUS Contentfolder (if specified) use either a local drive path or a UNC path (if on a remote machine).
DO NOT use a mapped drive. Also, make sure a mapped drive is not showing in the box (even if the option to Use files downloaded by WSUS is disabled). If it is showing, change it to a local drive and then disable the setting.
Ensuring that the required DLL module is installed
C:\Program Files (x86)\GFI\LanGuard 12 Agent\Httpd\bin\httpd.exe manually. If the
MSVCR100.DLL is reported missing or Windows event log shows "Faulting module name: 'MSVCR100.dll' or 'MSVCR120.dll.'", it means that the required DLL was not installed. Resolve this depending on your LanGuard server version:
LanGuard v12.6 and later
Close the GFI LanGuard GUI and stop all of its services.
Navigate to this URL: Visual C++ Redistributable Packages for Visual Studio 2013.
Click on Download.
vcredist_x86.exeon the Choose the download you want page, and then click Next.
Note: Make sure to pick exactly the x86 version (32-bit) even if you are installing it on a 64-bit machine.
After downloading the
vcredist_x86.exefile, right-click on the installer > Properties > Unblock and Apply before running the installation.
Run the installer and follow the prompts to completion.
Restart the GFI LanGuard services and reopen the GUI.
LanGuard v12.5 and earlier
Upgrade LanGuard to the most recent version as the program updates and vulnerability definitions are provided only to the latest version.
Fixing the corrupted installation
Restart GFI LanGuard Attendant Service. If the httpd processes are still not running, this can be due to a corruption of LanGuard. Try repairing your LanGuard installation. If the issue persists even after this, you have to reinstall the LanGuard server completely:
- To keep the current configurations, export them.
- Write down your license and database details.
- Uninstall LanGuard via the Windows Control Panel and restart the server.
- Check whether the GFI LanGuard XX Attendant service was removed successfully. If it is still there, remove it manually via the Registry and restart the server.
- Disable antivirus and install LanGuard, strictly ensuring all the requirements and following the installation steps, including unblocking the installer.
- If you exported the configurations, import them.
Restart GFI LanGuard Attendant Service. If the issue persists, contact GFI LanGuard Support.