NetXMS Support Forum

Please login or register.

Login with username, password and session length

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - jeremyh

Pages: [1]
1
Installation / Trouble installing/initialising db on Ubuntu 16.04 xenial
« on: September 02, 2018, 05:11:20 pm »
Hi,

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.

I seem to be specifically running into issues initialising the mysql database:
# 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


When running netxmsd -f, I get:

2018.09.02 22:06:06.833 *E* Unable to get database schema version

I have tried remaking the netxms database and also importing dbinit_mysql.sql into the db directly.

Any ideas what I am doing wrong? Thanks.

Pages: [1]