Web Management Console Installation Issue
-
Good Evening NetXMS Support Team, I kindly ask your advice or support regarding the described issue.
Im installing NetXMS in a Debian8 system following the installation guide (https://www.netxms.org/documentation/adminguide/installation.html#installing-on-debian-or-ubuntu), however, when I want to install the Web Management Console with Tomcat7 (using the nxmc-2.0.3.war in the folder /var/lib/tomcat7/webapps, I get in my web browser "HTTP 404 - /nxmc" error when I type "ip:8080/nxmc".
However, if i only type "ip:8080" I get the tomcat message "It works !"
Regards.
-
-
@kjello said in Web Management Console Installation Issue:
Try "ip:8080/nxmc-2.0.3/" or rename nxmc-2.0.3.war to nxmc.war
The rename option is probably preferred, to keep URL consistent when upgrading to newer releases.I tried both options and neither worked.
Also, I was reading this thread relating the tomcat configuration (https://www.netxms.org/forum/installation/problems-with-centos-and-tomcat-web-server-install/), but neither the tomcat give me access to the manager , even configuring the /etc/tomcat7/tomcat-users.xml file in different ways that I foound in message boards across google. (This is my last /etc/tomcat7/tomcat-users.xml file configuration):
<tomcat-users>
<role rolename="admin-gui"/>
<user username="admin" password="password" roles="admin-gui"/><role rolename="manager-gui"/>
<user username="admin" password="password" roles="manager-gui"/></tomcat-users>
-
I just found my error, in the line 18 of /etc/tomcat7/tomcat-users.xml, there was the field <tomcat-users> already declared between two commentaries. I didnt see it and i wrote the <tomcat-users> </tomcat-users> at the end of the file.
I changed the nxmc-2.0.3.war to nxmc.war and I deployed it via the the http://IP-ADD:8080/manager. The GUI appear in http://IP-ADD:8080/nxmc/nxmc. In this moment is giving "connecting refusing", but Im going to search what's happening.
-
I also found why was giving me "connection refused" because the message given by apt-get install "NetXMS server is installed but currently stopped". I needed to follow those steps:
-
Edit default configuration file (/etc/netxmsd.conf): In my case , I use MySQL
-
Load database schema (replace DBTYPE with proper name), and the db configuration guide (https://wiki.netxms.org/wiki/Server_Installation_Guide)
MySQL:
nxdbmgr init /usr/share/netxms/sql/dbinit_mysql.sql- Restart netxmsd service : With /etc/init.d/netxmsd restart (I dont know why in Debian service netxmsd restart didnt work)
Regards.
-
-
I renamed the .war-file to 'ROOT.war', so I reach the web-interface under 'https://servername' without '/nxmc'
-
@user54119 said in Web Management Console Installation Issue:
I renamed the .war-file to 'ROOT.war', so I reach the web-interface under 'https://servername' without '/nxmc'
Hello, yesterday I also tried it but didnt work. However thanks for the advice

-
If there is a default 'ROOT' directory in the webapp directory, delete this one before you rename the .war-file to 'ROOT.war' ('ROOT' in capital letters).
Maybe you find further info in this stackoverflow thread:
http://stackoverflow.com/questions/5328518/deploying-my-application-at-the-root-in-tomcatsorry I dont' know much more about that, I'm not a Tomcat guy.
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