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. NetXMS-WebUI configuration in UBUNTU Server

NetXMS-WebUI configuration in UBUNTU Server

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 13.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.
  • U
    U
    [email protected]
    wrote on last edited by
    #1

    Dears,

    Facing issues with WebUI configuration of NetXMS, on UBUNTU 24.02, with JETTY 12. and JRE 21.

    I've followed all below steps, without any issues

    1. sudo apt install default-jre
    2. sudo curl -O https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/12.0.18/jetty-home-12.0.18.tar.gz
    3. sudo tar -xvf jetty-home-12.0.18.tar.gz -C /opt
    4. sudo ln -s /opt/jetty-home-12.0.18 /opt/jetty-home-12
    5. sudo mkdir -p /opt/netxms-webui/{etc,logs} && cd /opt/netxms-webui
    6. sudo java -jar /opt/jetty-home-12/start.jar --add-modules=ee8-deploy,gzip,http,http2,https,logging-logback,plus,server,ssl,work
    7. sudo curl -o webapps/ROOT.war https://netxms.com/releases/5.2/nxmc-5.2.0.war
    8. sudo keytool -genkeypair -alias jetty -keyalg RSA -keysize 2048 -keystore /opt/netxms-webui/etc/keystore.p12 -storetype PKCS12 -storepass Test@Fatmir123 -keypass Test@Fatmir123 -validity 3650 -dname "CN=netxms-webui, OU=Fatmir, O=Fatmir, L=Fatmir, ST=Fatmir, C=Fatmir"
    9. sudo sed 's,# jetty.sslContext.keyStorePassword=,jetty.sslContext.keyStorePassword=Test@Fatmir123,' -i'' start.d/ssl.ini

    After this I've edited conf service file, but because in my server didn't have jetty/jetty (user/group), I've added my current user. Now service is running, but page is unavailable (error 503)

    systemctl edit --force --full netxms-webui.service

    [Service]
    Type=simple
    WorkingDirectory=/opt/netxms-webui
    Environment=JETTY_HOME=/opt/jetty-home-12
    Environment=JETTY_BASE=/opt/netxms-webui
    User=fts-fatmir
    Group=fts-fatmir

    I'm missing something, at least how to tell WebUI to access server, perhaps with specific User/Password in some configuration, but I cannot figure it out where.
    If anyone has some ideas, in advance thank your very much

    Best, Fatmir

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      Try "chown -R fts-fatmir /opt/netxms-webui/", then restart jetty

      1 Reply Last reply
      0
      • U
        U
        [email protected]
        wrote on last edited by
        #3

        Worked Alex, thanks millions.

        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