Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. NetXMS v3 - duplicate entry for software_inventory?

NetXMS v3 - duplicate entry for software_inventory?

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 31.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    H
    hkusulja
    wrote on last edited by
    #1

    After upgrading to 3.0.0 we started regularly receiving the following errors in the nxagentd log:

    [db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '4454-SQL Server 2012 Client Tools-11.2.5058.0' for key 'PRIMARY'
    [db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '5956-SQL Server 2008 R2 SP1 Common Files-10.51.2500.0' for key 'PRIMARY'
    [db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6002-SQL Server 2008 R2 SP2 Common Files-10.52.4000.0' for key 'PRIMARY'
    [db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6014-Microsoft SQL Server 2008 Analysis Services-10.4.6000.29' for key 'PRIMARY'
    [db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6016-Microsoft SQL Server 2008 R2 Setup (English)-10.53.6000.34' for key 'PRIMARY'
    [db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6024-SQL Server 2008 R2 SP1 Common Files-10.51.2500.0' for key 'PRIMARY'
    [db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6340-SQL Server 2012 Common Files-11.0.2100.60' for key 'PRIMARY'
    [db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '6783-SQL Server 2012 Common Files-11.3.6020.0' for key 'PRIMARY'
    [db.driver          ] SQL query failed (Query = "INSERT INTO software_inventory (node_id,name,version,vendor,install_date,url,description) VALUES (?,?,?,?,?,?,?)"): Duplicate entry '7049-Azure AD Authentication Connected Service-14.0.23107' for key 'PRIMARY'
    

     
    The exact same nine errors repeat themselves every minute, in the same order.
    How can we rectify this? We're ignoring the errors for now since there doesn't seem to be any negative effect from them, other than filling up the logs.

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Those errors should be gone once you upgrade all agents. There were bug in agent that cause it to report identical entries in software list.

      Best regards,
      Victor

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups