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. Cannot access web management console (netxms installed on debian8) from win7

Cannot access web management console (netxms installed on debian8) from win7

Scheduled Pinned Locked Moved Support
5 Posts 2 Posters 15.7k 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.
  • A
    A
    adimitrov
    wrote on last edited by
    #1

    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

    1. downloading the latest version of WAR file:

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

    1. 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?

    1 Reply Last reply
    0
    • T
      T
      tomaskir
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • A
        A
        adimitrov
        wrote on last edited by
        #3

        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)

        1 Reply Last reply
        0
        • A
          A
          adimitrov
          wrote on last edited by
          #4

          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 ?

          1 Reply Last reply
          0
          • A
            A
            adimitrov
            wrote on last edited by
            #5

            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 !

            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