<?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[Deleted objects return after NetXMS core restart]]></title><description><![CDATA[<p dir="auto">Hello,<br />
We are seeing an issue where when we delete nodes, subnets, and/or zones from NetXMS, they return after the NetXMS core service is restarted. We are running version 3.1p3, though I can't say exactly when the issue started. I've run the nxdbmgr check -f command it it resolved some issues, but the issue still occurs. What can I check? Thanks!</p>
]]></description><link>https://forum.netxms.org/topic/6405/deleted-objects-return-after-netxms-core-restart</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 15:17:33 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6405.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Feb 2020 16:16:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Wed, 26 Feb 2020 22:06:56 GMT]]></title><description><![CDATA[<p dir="auto">You can just delete all tables in the database and re-run nxdbmgr init. You can delete all regular tables with attached SQL. Tricky part is to delete all idata_ and tdata_ tables. One option is to use command like this to generate SQL file (Postgres version):</p>
<p dir="auto">psql -c "SELECT id FROM nodes" | grep -ve '[(i-]' | sed -e 's/\s*\([0-9]*\)/DROP TABLE idata_\1; DROP TABLE tdata_\1;/' &gt; drop_data_tables.sql</p>
<p dir="auto">and then run drop_data_tables.sql</p>
<p dir="auto">Best regards,<br />
Victor</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000005054-drop_all_tables.sql">drop_all_tables.sql</a></p>
]]></description><link>https://forum.netxms.org/post/27454</link><guid isPermaLink="true">https://forum.netxms.org/post/27454</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 26 Feb 2020 22:06:56 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Wed, 26 Feb 2020 17:09:41 GMT]]></title><description><![CDATA[<p dir="auto">Ok, that's good to know. We're in something of a rough state at the moment with our install due to this issue (things don't move around properly, zone GUIDs are duplicated because we deleted one and added one and the original didn't delete properly, can't remove old cruft) and think we might be better served starting over fresh. Is there an easy way to re-initialize the database and start over from scratch that doesn't involve deleting the DB? Another team manages our databases and if we can do this ourselves it'd be easier.</p>
]]></description><link>https://forum.netxms.org/post/27452</link><guid isPermaLink="true">https://forum.netxms.org/post/27452</guid><dc:creator><![CDATA[TSimmonsHJ]]></dc:creator><pubDate>Wed, 26 Feb 2020 17:09:41 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Wed, 26 Feb 2020 09:43:07 GMT]]></title><description><![CDATA[<p dir="auto">We just published 3.2 which is current stable release now. I think we will made those internal changes in 3.3, so April seems reasonable.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/27444</link><guid isPermaLink="true">https://forum.netxms.org/post/27444</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 26 Feb 2020 09:43:07 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Mon, 24 Feb 2020 17:48:09 GMT]]></title><description><![CDATA[<p dir="auto">Hey that's great news. Do you happen to have a time-frame for when we can expect to see that released?</p>
]]></description><link>https://forum.netxms.org/post/27427</link><guid isPermaLink="true">https://forum.netxms.org/post/27427</guid><dc:creator><![CDATA[TSimmonsHJ]]></dc:creator><pubDate>Mon, 24 Feb 2020 17:48:09 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Mon, 24 Feb 2020 17:36:29 GMT]]></title><description><![CDATA[<p dir="auto">Developers are planning to rewrite the part of code that is responsible for that bug. So it makes no sense to debug the current code as it is, let's wait for a new version.</p>
]]></description><link>https://forum.netxms.org/post/27426</link><guid isPermaLink="true">https://forum.netxms.org/post/27426</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 24 Feb 2020 17:36:29 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Fri, 21 Feb 2020 15:39:28 GMT]]></title><description><![CDATA[<p dir="auto">Alright, that sounds good to me! Thanks for all so far.</p>
]]></description><link>https://forum.netxms.org/post/27418</link><guid isPermaLink="true">https://forum.netxms.org/post/27418</guid><dc:creator><![CDATA[TSimmonsHJ]]></dc:creator><pubDate>Fri, 21 Feb 2020 15:39:28 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Fri, 21 Feb 2020 15:38:13 GMT]]></title><description><![CDATA[<p dir="auto">Ah, right, you have server on Windows. For Win it too complicated to set up the compiling environment. Let's get back to this next week, we will try to make a test build that should be able to get some more debug information.</p>
]]></description><link>https://forum.netxms.org/post/27417</link><guid isPermaLink="true">https://forum.netxms.org/post/27417</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 21 Feb 2020 15:38:13 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Fri, 21 Feb 2020 15:30:55 GMT]]></title><description><![CDATA[<p dir="auto">I can certainly try! What dev studio do I need for that? Eclipse? I've only worked in Visual Studio and some Borland stuff ages ago.</p>
]]></description><link>https://forum.netxms.org/post/27415</link><guid isPermaLink="true">https://forum.netxms.org/post/27415</guid><dc:creator><![CDATA[TSimmonsHJ]]></dc:creator><pubDate>Fri, 21 Feb 2020 15:30:55 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Fri, 21 Feb 2020 15:28:14 GMT]]></title><description><![CDATA[<p dir="auto">It's a rare bug that is hard to replicate. Would it be possible that you compile netxms server from sources? If yes, we could prepare a patch that could do deeper debugging in this situation.</p>
]]></description><link>https://forum.netxms.org/post/27414</link><guid isPermaLink="true">https://forum.netxms.org/post/27414</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 21 Feb 2020 15:28:14 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Thu, 20 Feb 2020 19:06:10 GMT]]></title><description><![CDATA[<p dir="auto">That worked quite well, thank you. This is what we're seeing:<br />
D:\NetXMS\log&gt;find "delet" netxmsd.log<br />
.... (snipped)<br />
2020.02.20 20:00:27.827 *D* [obj.sync           ] Unable to delete object with id 81066 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.827 *D* [obj.sync           ] Object 23 [81067] marked for deletion<br />
2020.02.20 20:00:27.827 *D* [obj.sync           ] Unable to delete object with id 81067 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.827 *D* [obj.sync           ] Object 24 [81068] marked for deletion<br />
2020.02.20 20:00:27.827 *D* [obj.sync           ] Unable to delete object with id 81068 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object 25 [81069] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81069 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object 26 [81070] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81070 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object 27 [81071] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81071 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object 28 [81072] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81072 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object DEFAULT_VLAN [81073] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81073 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object VLAN4 [81074] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81074 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object VLAN7 [81075] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81075 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object VLAN8 [81076] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81076 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object VLAN9 [81077] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81077 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object VLAN10 [81078] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81078 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object VLAN41 [81079] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81079 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object VLAN55 [81080] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81080 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object VLAN85 [81081] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81081 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object VLAN92 [81082] marked for deletion<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Unable to delete object with id 81082 because it is being referenced 2 time(s)<br />
2020.02.20 20:00:27.828 *D* [obj.sync           ] Object VLAN93 [81083] marked for deletion<br />
.... (snipped)</p>
<p dir="auto">There are 1566 matching lines generated over the course of maybe 30 seconds, so I think it's safe to say you're onto something here. I'm not sure what to do about it, though. <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/27411</link><guid isPermaLink="true">https://forum.netxms.org/post/27411</guid><dc:creator><![CDATA[TSimmonsHJ]]></dc:creator><pubDate>Thu, 20 Feb 2020 19:06:10 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Thu, 20 Feb 2020 13:51:26 GMT]]></title><description><![CDATA[<p dir="auto">You can change logging level for particular debug tags, e.g.:</p>
<pre><code>nxadm -c "debug obj.sync 6"
</code></pre>
<p dir="auto">Then you can check current status of logging</p>
<pre><code>nxadm -c "debug"
</code></pre>
<p dir="auto">And reset logging to default level for particular tag:</p>
<pre><code>nxadm -c "debug obj.sync -1"
</code></pre>
<p dir="auto">"SQL query failed" are errors, so should be visible on debug level 0, so we assume there is no such errors on your system.</p>
<p dir="auto">obj.sync messages are delayed, should happen within about a minute after deletion on the front-end. Try setting debug level 6 to obj.sync and see what's going to be in the log.</p>
]]></description><link>https://forum.netxms.org/post/27408</link><guid isPermaLink="true">https://forum.netxms.org/post/27408</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 20 Feb 2020 13:51:26 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Thu, 20 Feb 2020 13:35:37 GMT]]></title><description><![CDATA[<p dir="auto">We keep logging set at 0 generally, so I turned on debug 6 and deleted a set of objects that are known to return. I let the debug run for a few seconds after that as well, and don't find any references to what you mentioned in the log. We generate a lot of logging very quickly, so that few seconds of debug 6 made a 4MB log, making it challenging to leave it running for a while. Would that be occurring randomly, or right at the time of delete?</p>
]]></description><link>https://forum.netxms.org/post/27406</link><guid isPermaLink="true">https://forum.netxms.org/post/27406</guid><dc:creator><![CDATA[TSimmonsHJ]]></dc:creator><pubDate>Thu, 20 Feb 2020 13:35:37 GMT</pubDate></item><item><title><![CDATA[Reply to Deleted objects return after NetXMS core restart on Thu, 20 Feb 2020 12:33:37 GMT]]></title><description><![CDATA[<p dir="auto">Try checking server log either for SQL query error messages or messages with tag <code>[obj.sync           ]</code> saying something like "Unable to delete...". If you see nothing, try increasing debug level to 6.</p>
]]></description><link>https://forum.netxms.org/post/27405</link><guid isPermaLink="true">https://forum.netxms.org/post/27405</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 20 Feb 2020 12:33:37 GMT</pubDate></item></channel></rss>