Problem:
Unable to find certain columns when creating a query, but you are able to see those columns in the device inventory and their values. Inventory has been working fine.
e.g. Customer wants to create a query which lists all devices with less than 500MB available storage on their drive C, so he wants to select Computers | Mass storage | Logical Drive | Available Storage. The query looks like the below screenshot. However he could not find the column "Logical Drive" or anything beneath it at all. Several other columns went missing.
Cause:
It is possible that the database has corrupt entries which "blocks" the correct one for query creation.
Solution / Workaround:
Use Dbrepair.exe and Dbutil.exe to clean the corrupt data and rebuild components. Detailed steps of using these tools are described in What is DBRepair.exe and Coredbutil.exe? How do I use DBRepair.exe and Coredbutil.exe? This article will only lists steps relevant to resolving this issue.
- Close all web consoles, remote consoles and the core console
- Turn off the Landesk Inventory Server service.
- Download the correct version of dbrepair tool to your core server from Database Repair Utility (DBRepair.exe download). Copy the file to \ManagementSuite directory.
- FollowWhat is DBRepair.exe and Coredbutil.exe? How do I use DBRepair.exe and Coredbutil.exe? to run Dbrepair.exe as administrator to clean the corrupt data. Do a snapshot before you run clean operation to keep custom data from being deleted. See https://community.landesk.com/support/servlet/JiveServlet/download/2297-32-29883/UsingSnapshotInDbrepairRev1.pdf for more info regarding snapshot function.
- Follow What is DBRepair.exe and Coredbutil.exe? How do I use DBRepair.exe and Coredbutil.exe? to run Dbutil.exe as administrator, select Build Components function. Wait until it is finished.
- Start LANDesk Inventory server service.
- Access core console, and verify if the issue persists.
Useful Links:
Database Repair Utility (DBRepair.exe download)
What is DBRepair.exe and Coredbutil.exe? How do I use DBRepair.exe and Coredbutil.exe?