You noticed that all of a sudden scanning profiles disappeared on one of the LanGuard servers - all the Scanning Profiles, including the default profiles, are missing. You can't find any manual scanning profiles. At the same time, vulnerabilities database updates are failing to install.
The most common root cause is the corruption of the operationsprofiles.mdb. This database contains all information and settings which make up the LanGuard scanning profiles (except for patch definitions). The database also contains all vulnerability definitions, and the corruption causes the vulnerabilities database updates to fail. Another possible reason may be stuck updates.
Use the Troubleshooter tool to verify the root cause:
- Launch the LanGuard console, click the menu button on the top left, and navigate to Help > Troubleshooter.
- Choose Automatically detect and fix known issues and run through the steps provided by the Troubleshooter.
- If no operationsprofiles.mdb problems were detected, purge the updates folder and manually download the definitions as described in Updating LanGuard Server Manually article.
Fixing the vulnerabilities database
If the Troubleshooter tool found any operationsprofiles.mdb problems, you have to fix the database.
Browse to the Shared Application Data folder with the operationprofile.mdb:
\ProgramData\GFI\LANguard 12on modern Windows OS
\Documents and Settings\All Users\Application Data\GFI\LANguard 12on Windows 2003/XP machines
Stop the GFI LanGuard Attendant service and proceed with one of the options below:
- If you have a backup of the Shared Application Data folder available, locate operationprofile.mdb in the backup and restore it.
- If the backup is not available, try to Compact & Repair the operationprofile.mdb:
- Open the operationsprofiles.mdb in Microsoft Access.
- Compact & Repair the database.
Start the GFI LanGuard Attendant service and check the Scanning Profiles. If they are still missing, replace the operationsprofiles.mdb with a clean copy of another GFI LanGuard installation:
- Stop the GFI LanGuard Attendant service.
- Browse to the Shared Application Data folder.
- Rename the original operationsprofiles.mdb to operationsprofiles_old.mdb
- Copy the new operationsprofiles.mdb to the current folder.
- Start the GFI LanGuard Attendant service.
By replacing operationsprofiles.mdb with a blank file, all the custom scanning profiles will be deleted.
Launch GFI LanGuard console, go to Configuration > Scanning Profiles and verify that they appear. If the issue persists, contact GFI LanGuard Support.