<?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[Errors - var_name=? and initializing component locks table]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have used NetXMS for a while on a Win 2008 server, and while it was great when it worked I found it a little unstable and it couldnt be trusted to restart correctly. So I am now moving it to Debian, but would like to create a fresh DB on the same MSSQL server.</p>
<p dir="auto">I have installed from the .debs available (with unixodbc and freetds) and have got to a point where the DB is installed, but the daemon wont start. When I install the database it succeeds, then 'nxdbmgr check' passes. But when I start the service, the log produces:</p>
<p dir="auto">[16-Jan-2013 10:02:24.276] Log file opened<br />
[16-Jan-2013 10:02:24.276] Code page set to ISO-8859-1<br />
[16-Jan-2013 10:02:24.277] Platform subagent "/usr/lib/libnsm_linux.so" successfully loaded<br />
[16-Jan-2013 10:02:24.277] Debug callback set for DB library<br />
[16-Jan-2013 10:02:24.277] Database driver "odbc.ddr" loaded and initialized successfully<br />
[16-Jan-2013 10:02:24.283] New DB connection opened: handle=0x8147008<br />
[16-Jan-2013 10:02:24.283] Successfully connected to database netxms_linux@kgsql<br />
[16-Jan-2013 10:02:24.284] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name=?"): Unable to obtain description for this error<br />
[16-Jan-2013 10:02:24.284] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name=?"): Unable to obtain description for this error<br />
[16-Jan-2013 10:02:24.284] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name=?"): Unable to obtain description for this error<br />
[16-Jan-2013 10:02:24.287] New DB connection opened: handle=0x8147140<br />
[16-Jan-2013 10:02:24.290] New DB connection opened: handle=0x8195d38<br />
[16-Jan-2013 10:02:24.292] New DB connection opened: handle=0x8195690<br />
[16-Jan-2013 10:02:24.294] New DB connection opened: handle=0x81bc610<br />
[16-Jan-2013 10:02:24.297] New DB connection opened: handle=0x81e3b00<br />
[16-Jan-2013 10:02:24.297] Database Connection Pool initialized<br />
[16-Jan-2013 10:02:24.297] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name=?"): Unable to obtain description for this error<br />
[16-Jan-2013 10:02:24.298] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name=?"): Unable to obtain description for this error<br />
[16-Jan-2013 10:02:24.298] SQL query failed (Query = "INSERT INTO config (var_name,var_value,is_visible,need_server_restart) VALUES (?,?,?,?)"): Unable to obtain description for this error<br />
[16-Jan-2013 10:02:24.298] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name=?"): Unable to obtain description for this error<br />
[16-Jan-2013 10:02:24.299] Error initializing component locks table</p>
<p dir="auto">My config file contains:</p>
<p dir="auto">LogFile = {syslog}<br />
DBDriver = odbc.ddr<br />
DBServer = kgsql<br />
DBName = netxms_linux<br />
DBLogin = netxms<br />
DBPassword = netxms<br />
LogFile = /var/log/netxmsd<br />
LogFailedSQLQueries = yes<br />
DBDrvParams = unicode=false</p>
<p dir="auto">Any hints on how to overcome the ??? ?</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forum.netxms.org/topic/2125/errors-var_name-and-initializing-component-locks-table</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:14:39 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2125.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 16 Jan 2013 00:35:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Errors - var_name=? and initializing component locks table on Wed, 16 Jan 2013 23:10:10 GMT]]></title><description><![CDATA[<p dir="auto">Dont worry about it - I couldnt make it work. I had enough resources on the same machine so I whacked MySQL on there and it works fine.</p>
]]></description><link>https://forum.netxms.org/post/9357</link><guid isPermaLink="true">https://forum.netxms.org/post/9357</guid><dc:creator><![CDATA[nfkg]]></dc:creator><pubDate>Wed, 16 Jan 2013 23:10:10 GMT</pubDate></item><item><title><![CDATA[Reply to Errors - var_name=? and initializing component locks table on Wed, 16 Jan 2013 01:49:03 GMT]]></title><description><![CDATA[<p dir="auto">BTW I did try the suggestion from the previous post too. Initially I setup with:<br />
nxdbmgr init /usr/share/netxms/sql/dbinit_mssql.sql</p>
<p dir="auto">Then I tried:<br />
nxdbmgr -c /etc/netxmsd.conf init /usr/share/netxms/sql/dbinit_mssql.sql</p>
<p dir="auto">Didnt seem to make any difference, as my config file is in /etc which I believe is default.</p>
]]></description><link>https://forum.netxms.org/post/9336</link><guid isPermaLink="true">https://forum.netxms.org/post/9336</guid><dc:creator><![CDATA[nfkg]]></dc:creator><pubDate>Wed, 16 Jan 2013 01:49:03 GMT</pubDate></item></channel></rss>