<?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[NetXMS Debian 9 MsSQL]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I installed NetXMS 2.2.2 on Debian 9.3.0 with netxms release package.<br />
I tried to use nxdbmgr to create all the table but it didn't work.<br />
I copied the dbinit_mssql.sql file from the /usr/share/netxms and ran it manually on the sql server.</p>
<p dir="auto">everytime I try to start the process I get this error:</p>
<blockquote>
<p dir="auto">2018.01.12 14:30:51.864 Log file opened (rotation policy 2, max size 16777216)<br />
2018.01.12 14:30:51.865 *I* Platform subagent "/usr/lib/x86_64-linux-gnu/netxms/linux.nsm" successfully loaded<br />
2018.01.12 14:30:51.865 *I* Database driver "odbc.ddr" loaded and initialized successfully<br />
2018.01.12 14:31:16.892 *E* Unable to establish connection with database ([unixODBC][Driver Manager]Data source name not found, and no default driver specified)</p>
</blockquote>
<p dir="auto">This is my netxmsd.conf:</p>
<blockquote>
<p dir="auto">DBDriver=odbc.ddr<br />
DBServer=SQL_NetXMS<br />
DBName=NetXMS<br />
DBLogin=sa_netxms<br />
DBPassword=test</p>
</blockquote>
<p dir="auto">Can anyone help me make it run?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netxms.org/topic/5395/netxms-debian-9-mssql</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:57:36 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5395.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 12 Jan 2018 20:12:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NetXMS Debian 9 MsSQL on Mon, 29 Jan 2018 15:55:05 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, it works.</p>
<p dir="auto">I added this in my ODBC.ini:</p>
<blockquote>
<p dir="auto">[sql-server]<br />
Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so<br />
Setup = /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so<br />
Server = &lt;servername&gt;<br />
Port = 1433<br />
Database = &lt;DBname&gt;<br />
Username = &lt;username&gt;<br />
Password = &lt;password&gt;</p>
</blockquote>
<p dir="auto">and it connected but with a lot of errors so I added this to my netxmsd.conf:</p>
<blockquote>
<p dir="auto">DBDrvParams = unicode=false</p>
</blockquote>
<p dir="auto">I still had some error when the process started but not after.<br />
so I deleted all the tables from my database and recreate it using nxdbmgr and no more errors</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netxms.org/post/23761</link><guid isPermaLink="true">https://forum.netxms.org/post/23761</guid><dc:creator><![CDATA[Francois]]></dc:creator><pubDate>Mon, 29 Jan 2018 15:55:05 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS Debian 9 MsSQL on Wed, 17 Jan 2018 08:33:12 GMT]]></title><description><![CDATA[<p dir="auto">Configuring ODBC is not related to NetXMS itself, so it is not covered in manual. There are lot of information on how to configure unixODBC to work with MS SQL, for example: <a href="http://help.interfaceware.com/kb/904" rel="nofollow ugc">http://help.interfaceware.com/kb/904</a></p>
<p dir="auto">On NetXMS side, you may need to add to your netxmsd.conf the following line:</p>
<p dir="auto">DBDrvParams = unicode=false</p>
<p dir="auto">but only do that if you'll be unable to connect without it.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/23706</link><guid isPermaLink="true">https://forum.netxms.org/post/23706</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 17 Jan 2018 08:33:12 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS Debian 9 MsSQL on Tue, 16 Jan 2018 15:39:24 GMT]]></title><description><![CDATA[<p dir="auto">No I'm not sure, my odbc.ini file is empty<br />
can you tell me where is the information in the guide? I didn't found anything</p>
<p dir="auto">Thanks</p>
<p dir="auto">Frank</p>
]]></description><link>https://forum.netxms.org/post/23697</link><guid isPermaLink="true">https://forum.netxms.org/post/23697</guid><dc:creator><![CDATA[Francois]]></dc:creator><pubDate>Tue, 16 Jan 2018 15:39:24 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS Debian 9 MsSQL on Sun, 14 Jan 2018 11:42:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">if you are using ODBC driver then database server is in fact ODBC data source. Are you sure that you have configured UNIX ODBC data source correctly?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/23687</link><guid isPermaLink="true">https://forum.netxms.org/post/23687</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 14 Jan 2018 11:42:46 GMT</pubDate></item></channel></rss>