Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Web Management Console Installation Issue

Web Management Console Installation Issue

Scheduled Pinned Locked Moved Support
8 Posts 3 Posters 82.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    R
    radw
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • K
      K
      KjellO
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • R
        R
        radw
        wrote on last edited by
        #3

        @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>

        1 Reply Last reply
        0
        • R
          R
          radw
          wrote on last edited by
          #4

           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.

          1 Reply Last reply
          0
          • R
            R
            radw
            wrote on last edited by
            #5

            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:

            1. Edit default configuration file (/etc/netxmsd.conf): In my case , I use MySQL

            2. 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

            1. Restart  netxmsd service : With /etc/init.d/netxmsd restart (I dont know why in Debian service netxmsd restart didnt work)

            Regards.

            1 Reply Last reply
            0
            • Dani@M3TU
              Dani@M3TU
              Dani@M3T
              wrote on last edited by
              #6

              I renamed the .war-file to 'ROOT.war', so I reach the web-interface under 'https://servername' without '/nxmc'

              1 Reply Last reply
              0
              • R
                R
                radw
                wrote on last edited by
                #7

                @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 🙂

                1 Reply Last reply
                0
                • Dani@M3TU
                  Dani@M3TU
                  Dani@M3T
                  wrote on last edited by
                  #8

                  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-tomcat

                  sorry I dont' know much more about that, I'm not a Tomcat guy.

                  1 Reply Last reply
                  0

                  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
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  Powered by NodeBB Contributors
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups