Menu

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.

Show posts Menu

Messages - adimitrov

#76
I saw this in another topic and i already tried it, but still same result error 404. (sorry for not mention this in the original description)
#77
Hello team ,

I am new to the forum and to NetXMS as well. I am new with the linux system also, but i am doing my best.

I have trouble with connecting to the NetXMS web management console.

I have 2 working machines in VM environment one windows 7 (ip address 10.11.13.26) and the other debian 8 (ip address 10.11.13.25).Both machines can ping each other.
I have installed NetXMS server and agent on the debian8 machine as follows:

installed PREREQUISITES: 
Flex
Bison
Autoconf
Libtool
Byacc
Build-essential
libssl-dev
Snmp
libmysqlclient-dev 
Mysql (5.0.3 or higher)
Sqlite (preferable is version 3)

Executed:
ldconfig

downloaded netxms-2.0.3.tar.gz (i am installing older version so i can learn how to upgrade it after)

tar zxvf netxms-VERSION.tar.gz

in the /netxms-VERSION directory:
./reconf
./configure --server --with mysql --with-agent

make
make install

Copied:

cp contrib/netxmsd.conf-dist /etc/netxmsd.conf
cp contrib/nxagentd.conf-dist /etc/nxagentd.conf

modified /etc/nxagentd.conf as follows:

MasterServers = 127.0.0.1, 10.11.13.25

initialized the data base and ran the nxagentd and netxmsd

also runed them as services (copying the file 2 files from contrib/startup/debian folder to init.d)
both running as services and responding

Now i tried to install the web console which i want to access from my windows machine. I followed the following steps:

1. installing the servlet container

apt-get install tomcat7

2. downloading the latest version of WAR file:

wget https://www.netxms.org/download/webui/nxmc-2.0.5.war

3. copy nxmc.war to webapps directory

cp /nxmc-2.0.5.war /var/lib/tomcat7/webapps

ls command shows:
nxmc-2.0.5 nxmc-2.0.5.war ROOT

Additional steps

Created nxmc.properties in /usr/share/tomcat7/lib as follows

server = 10.11.13.15 ##netxms server IP address
sessionTimeout = 120
enableAdvancedSettings = True


all seems great, but when trying to access using windows explorer i am getting error 404. I tried with:

http://10.11.13.25:8080/nxmc
http://10.11.13.25:8080/nxmc/nxmc

both gaves same results.

trying with http://10.11.13.25:8080/ opens apache tomcat (It works! and so on ...)

Am i missing something or there is something i don't know?