<?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[Nodes lost after NetXMS restart]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I recently installed 0.2.23.  I previously had 0.2.22 installed, but instead of an upgrade I did a clean install (deleted DB, deleted old install directory, did fresh configure/make/make install in 0.2.23 source directory).</p>
<p dir="auto">The problem I am having is that nodes disappear after NetXMS restart.</p>
<p dir="auto">After a little bit of investigation, it seems that nothing ever gets written to the NODES table.  Even after I add nodes via the console app, the NODES table remains empty.  The other tables seem to survive the restart (actions, event log, etc.).</p>
<p dir="auto">I ran NXDBMGR and this was the result:</p>
<pre><code>root@ladybug:~# /opt/netxms/bin/nxdbmgr check
NetXMS Database Manager Version 0.2.23

Configuration file OK
Checking database:
* Checking node objects...                                              [PASSED]
* Checking interface objects...                                         [PASSED]
* Checking network service objects...                                   [PASSED]
* Checking cluster objects...                                           [PASSED]
Template 10 [@System.Agent] mapped to non-existent node 25. Correct? (Y/N) y
Template 10 [@System.Agent] mapped to non-existent node 28. Correct? (Y/N) y
Template 10 [@System.Agent] mapped to non-existent node 34. Correct? (Y/N) y
* Checking template to node mapping...                                  [FIXED ]
* Checking object properties...                                         [PASSED]
* Checking event processing policy...                                   [PASSED]
* Checking collected data...                                            [PASSED]
3 errors was found, 3 errors was corrected
All errors in database was fixed
Commit changes (Y/N) y
Committing changes...
Changes was successfully committed to database
Database check completed
</code></pre>
<p dir="auto">Looking in the server log, I see a lot of failed queries such as:</p>
<pre><code>[14-Dec-2008 20:38:07] Log file opened
[14-Dec-2008 20:38:07] Platform subagent "/opt/netxms/lib/libnsm_linux.so" successfully loaded
[14-Dec-2008 20:38:07] Database driver "/opt/netxms/lib/libnxddr_mysql.so" loaded and initialized successfully
[14-Dec-2008 20:38:08] Inconsistent database: interface 14 linked to non-existing node 12
[14-Dec-2008 20:38:08] Failed to load interface object with id 14 from database
[14-Dec-2008 20:38:08] Inconsistent database: interface 16 linked to non-existing node 15
[14-Dec-2008 20:38:08] Failed to load interface object with id 16 from database
[14-Dec-2008 20:38:08] Listening for SNMP traps on UDP socket 0.0.0.0:162
[14-Dec-2008 20:38:08] Listening for client connections on TCP socket 0.0.0.0:4701
[14-Dec-2008 20:38:08] NetXMS Server started
[14-Dec-2008 20:39:08] SQL query failed (Query = "INSERT INTO nodes (id,primary_ip,node_flags,snmp_version,community,status_poll_type,agent_port,auth_method,secret,snmp_oid,proxy_node,node_type,agent_version,platform_name,uname,poller_node_id,zone_guid,snmp_proxy,required_polls,use_ifxtable) VALUES (17,'192.168.100.17',16,0,'public',0,4700,0,'#00','',0,0,'#00','#00','#00',0,0,0,0,0)"): Unknown column 'use_ifxtable' in 'field list'
[14-Dec-2008 20:40:08] SQL query failed (Query = "INSERT INTO nodes (id,primary_ip,node_flags,snmp_version,community,status_poll_type,agent_port,auth_method,secret,snmp_oid,proxy_node,node_type,agent_version,platform_name,uname,poller_node_id,zone_guid,snmp_proxy,required_polls,use_ifxtable) VALUES (17,'192.168.100.17',16777232,0,'public',0,4700,0,'#00','',0,0,'#00','#00','#00',0,0,0,0,0)"): Unknown column 'use_ifxtable' in 'field list'
[14-Dec-2008 20:44:08] SQL query failed (Query = "INSERT INTO nodes (id,primary_ip,node_flags,snmp_version,community,status_poll_type,agent_port,auth_method,secret,snmp_oid,proxy_node,node_type,agent_version,platform_name,uname,poller_node_id,zone_guid,snmp_proxy,required_polls,use_ifxtable) VALUES (19,'xxx.xxx.xxx.xxx',16777218,0,'public',0,4700,2,'password','',0,0,'0.2.23','Linux-i686','Linux box106 2.6.24-16-server #231 SMP Thu Apr 10 13:58:00 UTC 2008 i686',0,0,0,0,0)"): Unknown column 'use_ifxtable' in 'field list'
[14-Dec-2008 20:45:08] SQL query failed (Query = "INSERT INTO nodes (id,primary_ip,node_flags,snmp_version,community,status_poll_type,agent_port,auth_method,secret,snmp_oid,proxy_node,node_type,agent_version,platform_name,uname,poller_node_id,zone_guid,snmp_proxy,required_polls,use_ifxtable) VALUES (19,'xxx.xxx.xxx.xxx',16777218,0,'public',0,4700,2,'password','',0,0,'0.2.23','Linux-i686','Linux box106 2.6.24-16-server #231 SMP Thu Apr 10 13:58:00 UTC 2008 i686',0,0,0,0,0)"): Unknown column 'use_ifxtable' in 'field list'
</code></pre>
<p dir="auto">So it's like the initial data structure isn't getting created correctly.  Short of completely wiping the box, I have started from scratch twice with the same results.  Here is my configure line:</p>
<p dir="auto">./configure --prefix=/opt/netxms --with-server --with-mysql --with-agent --with-openssl --with-nxhttpd</p>
<p dir="auto">I am using MySQL 5 on Ubuntu 8.04 server.  Please let me know if there is anything else I can post regarding this issue.</p>
<p dir="auto">Thanks!</p>
<p dir="auto">Dave</p>
]]></description><link>https://forum.netxms.org/topic/568/nodes-lost-after-netxms-restart</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:41:19 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/568.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Dec 2008 01:56:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nodes lost after NetXMS restart on Mon, 15 Dec 2008 15:14:18 GMT]]></title><description><![CDATA[<p dir="auto">Awesome!  Thanks Victor!</p>
]]></description><link>https://forum.netxms.org/post/2772</link><guid isPermaLink="true">https://forum.netxms.org/post/2772</guid><dc:creator><![CDATA[rockpenguin]]></dc:creator><pubDate>Mon, 15 Dec 2008 15:14:18 GMT</pubDate></item><item><title><![CDATA[Reply to Nodes lost after NetXMS restart on Mon, 15 Dec 2008 10:44:21 GMT]]></title><description><![CDATA[<p dir="auto">Yes, it's a bug - column use_ifxtable missing from schema. This bug affects only fresh installs, not upgrades from 0.2.22. We will publish new release with this bug fixed today.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/2756</link><guid isPermaLink="true">https://forum.netxms.org/post/2756</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 15 Dec 2008 10:44:21 GMT</pubDate></item><item><title><![CDATA[Reply to Nodes lost after NetXMS restart on Mon, 15 Dec 2008 08:05:07 GMT]]></title><description><![CDATA[<p dir="auto">So, I found workaround. Just incert new column in table:</p>
<pre><code>ALTER TABLE `netxms`.`nodes` ADD COLUMN `use_ifxtable` INTEGER NOT NULL AFTER `uname`;
</code></pre>
<p dir="auto">But, I think it's a bug in latest release...</p>
]]></description><link>https://forum.netxms.org/post/2751</link><guid isPermaLink="true">https://forum.netxms.org/post/2751</guid><dc:creator><![CDATA[Storms]]></dc:creator><pubDate>Mon, 15 Dec 2008 08:05:07 GMT</pubDate></item><item><title><![CDATA[Reply to Nodes lost after NetXMS restart on Mon, 15 Dec 2008 07:48:58 GMT]]></title><description><![CDATA[<p dir="auto">The same issue in fresh Windows Server 2008 x64 installation. On node creation in System event log on NetXMS server writes follow events:</p>
<pre><code>Log Name:      System
Source:        NetXMSCore
Date:          2008.12.15. 9:14:39
Event ID:      43
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      server.mydomain.lv
Description:
SQL query failed (Query = "INSERT INTO nodes (id,primary_ip,node_flags,snmp_version,community,status_poll_type,agent_port,auth_method,secret,snmp_oid,proxy_node,node_type,agent_version,platform_name,uname,poller_node_id,zone_guid,snmp_proxy,required_polls,use_ifxtable) VALUES (80,'172.16.1.29',0,0,'public',0,4700,0,'#00','',0,0,'#00','#00','#00',0,0,0,0,0)"): Unknown column 'use_ifxtable' in 'field list'
</code></pre>
<p dir="auto">SQL: MySQL 5.1.30-community<br />
Server: NetXMS v.0.2.23 (netxms-0.2.23.exe)<br />
Agent: nxagent-0.2.23-x64.exe</p>
]]></description><link>https://forum.netxms.org/post/2750</link><guid isPermaLink="true">https://forum.netxms.org/post/2750</guid><dc:creator><![CDATA[Storms]]></dc:creator><pubDate>Mon, 15 Dec 2008 07:48:58 GMT</pubDate></item></channel></rss>