<?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[Ubuntu 12.04 with .deb packages]]></title><description><![CDATA[<p dir="auto">No matter how I change the netxmsd.conf file I get some variation of:</p>
<p dir="auto"># /usr/bin/nxdbmgr init /usr/share/netxms/sql/dbinit_mysql.sql<br />
NetXMS Database Manager Version 1.2.1</p>
<p dir="auto">Unable to load and initialize database driver "/usr/lib/libnxddr_mysql.so"</p>
<p dir="auto">I have tried the following for the driver line:</p>
<p dir="auto">DBDriver = /usr/lib/libnxddr_mysql.so<br />
DBDriver = mysql.ddr<br />
DBDriver = /usr/lib/netxms/dbdrv/mysql.ddr</p>
<p dir="auto">All of them produce a varion of the unable to load message based on the driver name.</p>
<p dir="auto">I can login to MySQL server using:<br />
# mysql -h localhost -u netxms -p netxms</p>
<p dir="auto">This is basically a fresh / patched installation of 64 bit Ubuntu 12.04 and then added the following packages:</p>
<p dir="auto">apt-get install libssl0.9.8 libtre5 libreadline5 mysql-server mysql-client<br />
dpkg -i base<br />
dpkg -i agent<br />
dpkg -i server<br />
dpkg -i server-mysql</p>
<p dir="auto">It is definitely related to the library though.  If I change the config to use the sqlite library then everything runs fine.  Of course do not want to use this, so need the mysql solution.  Will probably try downloading and installing library from source.</p>
<p dir="auto">Stuck, please help.</p>
]]></description><link>https://forum.netxms.org/topic/1793/ubuntu-12.04-with-.deb-packages</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 20:48:32 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1793.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Jun 2012 19:52:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Ubuntu 12.04 with .deb packages on Fri, 29 Jun 2012 21:06:25 GMT]]></title><description><![CDATA[<p dir="auto">Here it is:</p>
<p dir="auto"># ldd /usr/lib/libnxddr_mysql.so<br />
        linux-vdso.so.1 =&gt;  (0x00007fffa33d8000)<br />
        libnetxms.so.1 =&gt; /usr/lib/libnetxms.so.1 (0x00007fa5e1d9a000)<br />
        libmysqlclient.so.16 =&gt; not found<br />
        libtre.so.5 =&gt; /usr/lib/libtre.so.5 (0x00007fa5e1b89000)<br />
        libexpat.so.1 =&gt; /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fa5e195f000)<br />
        libz.so.1 =&gt; /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa5e1748000)<br />
        libreadline.so.5 =&gt; /lib/x86_64-linux-gnu/libreadline.so.5 (0x00007fa5e1509000)<br />
        libncurses.so.5 =&gt; /lib/x86_64-linux-gnu/libncurses.so.5 (0x00007fa5e12e8000)<br />
        libdl.so.2 =&gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa5e10e4000)<br />
        libcrypto.so.0.9.8 =&gt; /lib/x86_64-linux-gnu/libcrypto.so.0.9.8 (0x00007fa5e0d56000)<br />
        libpthread.so.0 =&gt; /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa5e0b39000)<br />
        libstdc++.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa5e0839000)<br />
        libm.so.6 =&gt; /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa5e053e000)<br />
        libc.so.6 =&gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa5e0181000)<br />
        libgcc_s.so.1 =&gt; /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa5dff6b000)<br />
        libtinfo.so.5 =&gt; /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fa5dfd43000)<br />
        /lib64/ld-linux-x86-64.so.2 (0x00007fa5e21d5000)</p>
<p dir="auto">which of course shows no link to the libmysqlclient (18 is current for 12.04).  I ran the following command:</p>
<p dir="auto">ln -s /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0 /usr/lib/x86_64-linux-gnu/libmysqlclient.so.16</p>
<p dir="auto">I was then able to properly use the MySQL driver and load the database!  Thanks for the push in the right direction.  This tool looks awesome and I cannot wait to play with it more.</p>
]]></description><link>https://forum.netxms.org/post/7766</link><guid isPermaLink="true">https://forum.netxms.org/post/7766</guid><dc:creator><![CDATA[lweidig]]></dc:creator><pubDate>Fri, 29 Jun 2012 21:06:25 GMT</pubDate></item><item><title><![CDATA[Reply to Ubuntu 12.04 with .deb packages on Fri, 29 Jun 2012 17:09:23 GMT]]></title><description><![CDATA[<p dir="auto">Can you show me please output of</p>
<p dir="auto">ldd /usr/lib/libnxddr_mysql.so</p>
<p dir="auto">?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/7760</link><guid isPermaLink="true">https://forum.netxms.org/post/7760</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 29 Jun 2012 17:09:23 GMT</pubDate></item></channel></rss>