<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Issues after upgrade to NetXms 1.2.17]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">We are experiencing with crashing netxms after the upgrade to 1.2.17. This generally happens after 10 minutes of loading, setting up the server for CrashDumpLog does not produce a log file for program crash. Running the server with debug mode 9 also does not give any clear indication before netxms stops. We have currently tried this on a windows instance and on a linux instance, both appear to have the same issue. The only current indication of issues are from;</p>
<p dir="auto">[03-Dec-2014 08:57:48.626] [ERROR] SQL query failed (Query = "INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?)"): Duplicate entry '405363-30146854' for key 'PRIMARY'<br />
[03-Dec-2014 08:57:48.639] [ERROR] SQL query failed (Query = "INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?)"): Duplicate entry '405363-30146855' for key 'PRIMARY'<br />
[03-Dec-2014 08:57:48.668] [ERROR] SQL query failed (Query = "INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?)"): Duplicate entry '405941-30146859' for key 'PRIMARY'<br />
[03-Dec-2014 08:57:48.695] [ERROR] SQL query failed (Query = "INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?)"): Duplicate entry '405941-30146862' for key 'PRIMARY'<br />
[03-Dec-2014 08:57:48.714] [ERROR] SQL query failed (Query = "INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?)"): Duplicate entry '405363-30146864' for key 'PRIMARY'<br />
[03-Dec-2014 08:57:48.725] [ERROR] SQL query failed (Query = "INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?)"): Duplicate entry '406032-30146865' for key 'PRIMARY'<br />
[03-Dec-2014 08:57:48.737] [ERROR] SQL query failed (Query = "INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?)"): Duplicate entry '405363-30146866' for key 'PRIMARY'</p>
<p dir="auto">We have made no amendments to the Database structure. Deleting the content of the alarm_events table completely makes no difference. 'nxdbmgr check' passes all the current checks.</p>
<p dir="auto">Not to sure what the next step should be. Not particularly clear how the BIGINT is shown as a hyphenated number?</p>
<p dir="auto">Regards</p>
<p dir="auto">Aron</p>
]]></description><link>https://forum.netxms.org/topic/3496/issues-after-upgrade-to-netxms-1.2.17</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:53:13 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3496.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Dec 2014 09:15:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Issues after upgrade to NetXms 1.2.17 on Wed, 03 Dec 2014 14:08:42 GMT]]></title><description><![CDATA[<p dir="auto">Thank you,</p>
<p dir="auto">Will apply the fix now.</p>
<p dir="auto">Regards</p>
<p dir="auto">Aron</p>
]]></description><link>https://forum.netxms.org/post/15454</link><guid isPermaLink="true">https://forum.netxms.org/post/15454</guid><dc:creator><![CDATA[aron]]></dc:creator><pubDate>Wed, 03 Dec 2014 14:08:42 GMT</pubDate></item><item><title><![CDATA[Reply to Issues after upgrade to NetXms 1.2.17 on Wed, 03 Dec 2014 12:32:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">it's a bug that is already fixed in development branch (will be released as 2.0-M1 soon). In the meantime you can patch server code manually if you are building it from source:</p>
<p dir="auto">In file src/server/core/node.cpp find line</p>
<pre><code>             Node *peerNode = (Node *)FindObjectById(iface-&gt;getPeerNodeId(), OBJECT_NODE);
</code></pre>
<p dir="auto">(should be around line 5329). Immediately after that line add the following code:</p>
<pre><code>            if (peerNode == NULL)
            {
               iface-&gt;clearPeer();
               continue;
            }
</code></pre>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15453</link><guid isPermaLink="true">https://forum.netxms.org/post/15453</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 03 Dec 2014 12:32:57 GMT</pubDate></item><item><title><![CDATA[Reply to Issues after upgrade to NetXms 1.2.17 on Wed, 03 Dec 2014 11:43:06 GMT]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">Found a core dump for which I have a backtrace of, awaiting the gdb version to run and provide a live version;</p>
<p dir="auto">(gdb) bt<br />
#0  Node::topologyPoll (this=0xcbd8090, pSession=0x0, dwRqId=0, nPoller=115) at node.cpp:5329<br />
#1  0xb7666ba1 in TopologyPoller (arg=0x73) at poll.cpp:586<br />
#2  0xb7335d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0<br />
#3  0xb6f999de in clone () from /lib/i386-linux-gnu/libc.so.6<br />
(gdb) bt full<br />
#0  Node::topologyPoll (this=0xcbd8090, pSession=0x0, dwRqId=0, nPoller=115) at node.cpp:5329<br />
        peerNode = 0x0<br />
        ifaceFound = &lt;optimized out&gt;<br />
        iface = 0x18eb61d8<br />
        i = &lt;optimized out&gt;<br />
        fdb = &lt;optimized out&gt;<br />
        nbs = 0xa26a7f60<br />
#1  0xb7666ba1 in TopologyPoller (arg=0x73) at poll.cpp:586<br />
        node = 0xcbd8090<br />
        szBuffer = L"poll: BLC-SW1 [110]\000]\000 [50574]\000]\000\000\060]\000]", '\000' &lt;repeats 89 times&gt;<br />
#2  0xb7335d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0<br />
No symbol table info available.<br />
#3  0xb6f999de in clone () from /lib/i386-linux-gnu/libc.so.6<br />
No symbol table info available.<br />
(gdb) thread apply all bt</p>
<p dir="auto">Summary look at the node does not imply any particular issue;<br />
Seems to be un-connected with the other SQL errors which are happening -D5</p>
<p dir="auto">[03-Dec-2014 11:40:44.198] [ERROR] SQL query failed (Query = "INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?)"): Duplicate entry '405363-30157884' for key 'PRIMARY'<br />
[Thread 0xa5107b40 (LWP 28681) exited]<br />
[03-Dec-2014 11:40:44.272] [DEBUG] EVENT 52 (ID:30157885 F:0x0001 S:4 TAG:"") FROM Ldn-NetXMS: Database query failed (Query: INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?); Error: Duplicate entry '405363-30157075' for key 'PRIMARY')<br />
[Thread 0x824fcb40 (LWP 27788) exited]</p>
<p dir="auto">Regards</p>
<p dir="auto">Aron</p>
]]></description><link>https://forum.netxms.org/post/15451</link><guid isPermaLink="true">https://forum.netxms.org/post/15451</guid><dc:creator><![CDATA[aron]]></dc:creator><pubDate>Wed, 03 Dec 2014 11:43:06 GMT</pubDate></item><item><title><![CDATA[Reply to Issues after upgrade to NetXms 1.2.17 on Wed, 03 Dec 2014 10:24:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">if you have Linux installation, can you please run it under gdb?</p>
<p dir="auto">Commands would be like this:</p>
<p dir="auto">gdb /path/to/netxmsd</p>
<p dir="auto">will show (gdb) prompt, then</p>
<p dir="auto">run -D5</p>
<p dir="auto">server will run in foreground. When crash will happen, (gdb) prompt will be shown again. Type</p>
<p dir="auto">bt</p>
<p dir="auto">and send me an output.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15445</link><guid isPermaLink="true">https://forum.netxms.org/post/15445</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 03 Dec 2014 10:24:59 GMT</pubDate></item></channel></rss>