Cannot access web management console (netxms installed on debian8) from win7
-
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-agentmake
make installCopied:
cp contrib/netxmsd.conf-dist /etc/netxmsd.conf
cp contrib/nxagentd.conf-dist /etc/nxagentd.confmodified /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 respondingNow i tried to install the web console which i want to access from my windows machine. I followed the following steps:
- installing the servlet container
apt-get install tomcat7
- downloading the latest version of WAR file:
wget https://www.netxms.org/download/webui/nxmc-2.0.5.war
- 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 ROOTAdditional steps
Created nxmc.properties in /usr/share/tomcat7/lib as follows
server = 10.11.13.15 ##netxms server IP address
sessionTimeout = 120
enableAdvancedSettings = Trueall 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/nxmcboth 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
-
-
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 !
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login