/build/static/layout/Breadcrumb_cap_w.png

Agent not taking inventory of machine

When you receive an error in the runkbot log similar to below, follow the instructions at the end of the error.

I did plenty of searching and didn't find anything so I hope this

will help those who need it in the future.

 

KInventory Begin capturing Inventory...

KInventory Error: InventoryData AddItem : sqlite3_connection[]: SQL logic error or missing database

...

KInventory Error: InventoryData PostProcess : sqlite3_connection[]: SQL logic error or missing database

KInventory Error: InventoryData GetSession : sqlite3_connection[]: SQL logic error or missing database

KInventory An error was detected in the WMI repository that resulted in missing data for some of the sections.

To repair the WMI repository, you will need to manually run the tool with the -autorepair flag

 

Resolution:

The Kinventory.db file is corrupted;

to fix you only need to delete it (its located in the same directory you got the runkbot log from)

then do a Kinventory.exe via command line and that should fix it.

If it doesn't fix , then stop the Kace agent service

delete the Kinventory.db file

restart the service

then do a Kinventory.exe -autorepair

-courtesy of Dell Kace Support (Mark G.)


Comments

  • Article may be dated, but it is still valid as it helped me resolve an issue with a 5.4 Agent. Thanks! - KACE_Troy 8 years ago
  • This just worked for me on agent version 5.4.10622. Thank you very much for posting this! - awingren 8 years ago
  • I just tried "Kinventory.exe -autorepair " on another problem machine and I get this result:

    C:\PROGRA~1\Dell\KACE>kinventory.exe -autorepair
    KInventory Begin capturing Inventory...
    KInventory Could not connect. Error code = 0x8004100e
    KInventory InventoryData attempting to open DB file [C:\Documents and Settings
    \All Users\Dell\KACE\kinventory.db]
    KInventory InventoryData opening DB
    KInventory InventoryData calling db.open
    KInventory InventoryData opened DB successfully
    KInventory InventoryData populated the DB
    KInventory An error was detected in the WMI repository that resulted in missin
    g data for some of the sections. To repair the WMI repository, you will need to
    manually run the tool with the -autorepair flag.
    KInventory Inventory Capture completed and stored in C:\WINDOWS\TEMP\inventory
    .html
    [InventoryArgs.cpp::_parseArgs] SUCCESS

    Normally if I just run a WMI repair (as described here: http://windowsxp.mvps.org/repairwmi.htm ) I can resolve WMI issues, but it's not helping this time. Has anyone had this issue? Does anyone have any idea on how to resolve it short of reimaging the PC?

    Thank you,
    Alicia - awingren 8 years ago
This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Blog

View More Blogs from Hammer1790

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ