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?
The name of the .war file will become the path on Tomcat.
So in your case, you path should be: http://10.11.13.25:8080/nxmc-2.0.5
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)
Hello Again,
I am researching what am i doing wrong and i found this.
https://www.netxms.org/forum/configuration/web-gui-ports/5/?wap2
not sure if it will help me, but in the pointed .jar file the directories are different after /netxms in my case ../netxms/ui/eclipse/....
could it be that i am messing up the nxmc.properties file ? will it help if i deploy it this way or i am far away from the truth here ?
Hello Again,
I uninstalled and than installed the latest java version on the windows machine and restarted the machine.
On the netxms server i recreated the nxmc.properties.
Tried to connect and with http://10.11.13.15:8080/nxmc-2.0.5/nxmc and it worked.
Thanks for the help !