NetXMS Support Forum

English Support => General Support => Topic started by: d-ray on June 04, 2014, 06:48:18 PM

Title: Cannot generate object tool ID: Database failure (After update to 1.2.14)
Post by: d-ray on June 04, 2014, 06:48:18 PM
Hi,

When I want to create a new Object Tools I get an error "Cannot generate object tool ID: Database failure"

Configuration > Object Tools > Add New

Anyone with the same problem after update?

How to fix it?

Regards

Denis
Title: Re: Cannot generate object tool ID: Database failure (After update to 1.2.14)
Post by: Tatjana Dubrovica on June 06, 2014, 04:58:24 PM
It was not possible to reproduce for me.
Please run server in debug mode on a level 6 and check what is in log.

Thank you!
Tatjana Dubrovica
Title: Re: Cannot generate object tool ID: Database failure (After update to 1.2.14)
Post by: flynao on June 10, 2014, 08:09:18 PM
I have the same problem. I just updated from version 1.2.8 to 1.2.4 on a VM running Centos 6.

Please find the debug message after trying to modify an object tool:

[10-Jun-2014 13:06:57.880] [ERROR] SQL query failed (Query = "DELETE FROM object_tools_acl WHERE tool_id=?"): 08P01 ERROR:  bind message supplies 9 parameters, but prepared statement "netxms_stmt_0x7fbef4055630_1402420017" requires 1

I could modify the objects by doing it manually on the Database. 
Title: Re: Cannot generate object tool ID: Database failure (After update to 1.2.14)
Post by: Victor Kirhenshtein on June 11, 2014, 11:17:48 AM
Hi!

This bug is already fixed in development branch. Fix will be included into upcoming 1.2.15 release.

Best regards,
Victor
Title: Re: Cannot generate object tool ID: Database failure (After update to 1.2.14)
Post by: d-ray on June 14, 2014, 03:43:02 AM
Quote from: Victor Kirhenshtein on June 11, 2014, 11:17:48 AM
Hi!

This bug is already fixed in development branch. Fix will be included into upcoming 1.2.15 release.

Best regards,
Victor

Is the development branch online? 8)
Title: Re: Cannot generate object tool ID: Database failure (After update to 1.2.14)
Post by: andrey--k on June 14, 2014, 11:28:49 AM
You can use git or daily snapshot.

Quotehttp://wiki.netxms.org/wiki/Oracle#Latest_snapshot

But you can face with troubles in communication with nxmc or webinterface.