Installation prerequisites for Ubuntu 12.04 LTS

Started by wzastrow, October 01, 2013, 06:34:47 PM

Previous topic - Next topic

wzastrow

Good morning.  Can you please provide a list of the prerequisites for a clean installation on Ubuntu 12.04 LTS?  I plan to install with mySQL support.  I am a complete newbie, but I believe this information would be helpful in general.  Thanks!

wzastrow

For anyone keeping track I've installed the following prerequisites as my best guess.  This is starting from a fresh installation of Ubuntu 12.04 LTS with Open-SSL.  I have run an apt-get update, apt-get upgrade, and rebooted to apply a new kernel.

Using apt-get, retrieve the following packages (as sudo):

apt-get install build-essential
apt-get install mysql-server
apt-get install mysql-client
apt-get install libmysqlclient-dev

I then ran "sudo sh ./configure --with-server --with-mysql --with-agent" per the documentation.

Following that I ran "sudo make" per the documentation, followed by a "sudo make install".

These appear to have run correctly, so I will be continuing through the online documentation located here:

http://wiki.netxms.org/wiki/Server_Installation_Guide

Hope this helps!

wzastrow

I ran into another minor issue when trying to initialize the database.  See below for the error:

/usr/local/bin/nxdbmgr: error while loading shared libraries: libnetxms.so.1: cannot open shared object file: No such file or directory

I issued "sudo ldconfig" and re-ran the initialization command:

sudo /usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql

This time the database initialized successfully.

wzastrow

I'm having an issue with starting the nxagentd with the -d option.  It's not disconnecting and returning me to a prompt for some reason.

Any ideas?

Victor Kirhenshtein

Hi!

Please show exact command line you are using. Also, common problem is that you start agent under non-root account and it does not have write access to log file given in nxagentd.conf.

Best regards,
Victor