<?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[Trouble installing/initialising db on Ubuntu 16.04 xenial]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I am trying to install NetXMS 1.2 on Ubuntu 16.04 xenial. I have followed all instructions as far as I can tell. I have installed the mysql database driver/connector.</p>
<p dir="auto">I seem to be specifically running into issues initialising the mysql database:</p>
<pre><code># nxdbmgr init /usr/share/netxms/sql/dbinit_mysql.sql
NetXMS Database Manager Version 2.2.8 Build 9514 (2.2.8 ) (UNICODE)

Initializing database...
SQL query failed (Table 'metadata' already exists):
CREATE TABLE metadata (   var_name varchar(63) not null,   var_value varchar(255) not null,   PRIMARY KEY(var_name) )
Database initialization failed
</code></pre>
<p dir="auto">When running <code>netxmsd -f</code>, I get:</p>
<p dir="auto"><code>2018.09.02 22:06:06.833 *E* Unable to get database schema version</code></p>
<p dir="auto">I have tried remaking the netxms database and also importing dbinit_mysql.sql into the db directly.</p>
<p dir="auto">Any ideas what I am doing wrong? Thanks.</p>
]]></description><link>https://forum.netxms.org/topic/5683/trouble-installing-initialising-db-on-ubuntu-16.04-xenial</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 21:03:44 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5683.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 02 Sep 2018 14:11:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trouble installing/initialising db on Ubuntu 16.04 xenial on Mon, 03 Sep 2018 12:50:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Error message "Table 'metadata' already exists" suggests that you are trying to initialize same database after unsuccessful initialization attempt, so it is not possible to determine root cause. Please drop existing database, create a new one, run nxdbmgr init once, and post it's output.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/24771</link><guid isPermaLink="true">https://forum.netxms.org/post/24771</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 03 Sep 2018 12:50:05 GMT</pubDate></item></channel></rss>