<?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[Problems connecting linux to MSSQL 2005]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I have been trying to install netxms on debian linux connecting to MSSQL 2005. I can init the database, however when I start netxms deamon, I get the following error:<br />
"Your database has format version 0, but server is compiled for version 99"</p>
<blockquote>
<p dir="auto">[15-Mar-2010 15:59:44] Log file opened<br />
[15-Mar-2010 15:59:44] Platform subagent "/usr/local/lib/libnsm_linux.so" successfully loaded<br />
[15-Mar-2010 15:59:44] Database driver "libnxddr_odbc.so" loaded and initialized successfully<br />
[15-Mar-2010 15:59:44] Your database has format version 0, but server is compiled for version 99</p>
</blockquote>
<p dir="auto">These are the things that I tried:</p>
<ul>
<li>Create new db and user using server sql server management studio. I Could connect to db using isql odbc in linux, and was able to init db using "nxdbmgr init /usr/local/share/netxms/sql/dbinit_mssql.sql", and can query db OK, but netxmsd does not start.</li>
<li>Since the above failed, I'd thought I'd install windows version on a windows PC so the windows GUI can install and init the db. When this install finished, I stopped the services on the windows install and connect the linux install to this newly created db, and I get the same error as above.</li>
</ul>
<p dir="auto">When I run "nxdbmgr check" I get the following error:</p>
<blockquote>
<p dir="auto">"Unable to determine database syntax"</p>
</blockquote>
<p dir="auto">This is my config file.</p>
<blockquote>
<p dir="auto"> Configuration file for NetXMS server<br />
#<br />
DBDriver = libnxddr_odbc.so<br />
DBServer = netxms<br />
DBLogin = netxms<br />
DBPassword = PaSsWd<br />
LogFile = /var/log/netxmsd<br />
LogFailedSQLQueries = yes</p>
</blockquote>
<p dir="auto">I have been trying for a while now to get this to work, and would appreciate any insights on this.</p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.netxms.org/topic/874/problems-connecting-linux-to-mssql-2005</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:25:52 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/874.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Mar 2010 10:58:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problems connecting linux to MSSQL 2005 on Mon, 15 Mar 2010 22:05:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">That worked!!</p>
<p dir="auto">Your help was greatly appreciated.</p>
<p dir="auto">Thank you.<br />
Steve...</p>
]]></description><link>https://forum.netxms.org/post/4073</link><guid isPermaLink="true">https://forum.netxms.org/post/4073</guid><dc:creator><![CDATA[SteveK]]></dc:creator><pubDate>Mon, 15 Mar 2010 22:05:12 GMT</pubDate></item><item><title><![CDATA[Reply to Problems connecting linux to MSSQL 2005 on Mon, 15 Mar 2010 21:34:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Do you use FreeTDS ODBC driver for connecting to MS SQL server? It has known problem with UCS-2 encoding, which is used by NetXMS by default. Try to add the following line to your netxmsd.conf:</p>
<pre><code>DBDrvParams = unicode=false
</code></pre>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/4072</link><guid isPermaLink="true">https://forum.netxms.org/post/4072</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 15 Mar 2010 21:34:07 GMT</pubDate></item><item><title><![CDATA[Reply to Problems connecting linux to MSSQL 2005 on Mon, 15 Mar 2010 20:47:45 GMT]]></title><description><![CDATA[<p dir="auto">Hi Jdamien,</p>
<p dir="auto">Thanks for your reply,</p>
<blockquote>
<p dir="auto">Configuring root access to mysql:</p>
</blockquote>
<p dir="auto">Is mysql required for microsoft sql server? I didn't install mysql, as I am using ODBC to connect to database. My configure script contained "--with-odbc", and I installed unix odbc package and not mysql as per installation guide</p>
<p dir="auto">Kind Regards,<br />
Steve..</p>
]]></description><link>https://forum.netxms.org/post/4071</link><guid isPermaLink="true">https://forum.netxms.org/post/4071</guid><dc:creator><![CDATA[SteveK]]></dc:creator><pubDate>Mon, 15 Mar 2010 20:47:45 GMT</pubDate></item><item><title><![CDATA[Reply to Problems connecting linux to MSSQL 2005 on Mon, 15 Mar 2010 12:52:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Did you do the following while installing your server?</p>
<ul>
<li>Configuring root access to mysql: /usr/bin/mysqladmin -u root password &lt;password_1&gt;</li>
<li>Configuring mysql for netxms:</li>
<li>
<ul>
<li>mysql -u root -p mysql</li>
<li>CREATE DATABASE netxms;</li>
<li>GRANT ALL ON netxms.* TO netxms IDENTFIED by ‘&lt;password_2’;</li>
<li>\q</li>
</ul>
</li>
<li>Modify server configuration file (default is /etc/netxmsd.conf). It should look the following way:</li>
<li>
<ul>
<li>DBDriver = /usr/local/lib/libnxddr_mysql.so</li>
<li>DBServer = localhost</li>
<li>DBName = netxms</li>
<li>DBLogin = root</li>
<li>DBPassword = &lt;password_1&gt;</li>
<li>LogFile = /var/log/netxmsd.log</li>
<li>LogFailedSQLQueries = yes</li>
</ul>
</li>
</ul>
<p dir="auto">    </p>
<p dir="auto">Cheers,<br />
Jdamien</p>
]]></description><link>https://forum.netxms.org/post/4069</link><guid isPermaLink="true">https://forum.netxms.org/post/4069</guid><dc:creator><![CDATA[jdl]]></dc:creator><pubDate>Mon, 15 Mar 2010 12:52:01 GMT</pubDate></item></channel></rss>