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. LinuxMint 20.04 Installation issues

LinuxMint 20.04 Installation issues

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 9.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.
  • G
    G
    gokiwi
    wrote on last edited by
    #1

    Hi, Trying to install on LM20.04 but am hitting issues.

    I have both PostgreSQL and MySQL installed - have installed the driver for PostgreSQL as when I try and install the driver for MySQL it says

    sudo apt-get install netxms-dbdrv-mysql
    Reading package lists... Done
    Building dependency tree     
    Reading state information... Done
    E: Unable to locate package netxms-dbdrv-mysql

    I then try "/usr/local/bin/nxdbmgr init" but get
    /user/local/bin/nxdbmgr init
    bash: /user/local/bin/nxdbmgr: No such file or directory

    Also I dont see anywhere where it says how to launch the webgui ?

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

      MySQL driver is not available on Ubuntu / Mint 20. You can use mariadb driver instead, it's compatible.

      If you installed server from packages, nxdbmgr should be in /use/bin (and it's in default path)

      Web UI - install jetty or tomcat, then deploy nxmc.war from the web site.

      1 Reply Last reply
      0
      • G
        G
        gokiwi
        wrote on last edited by
        #3

        Hi , Thanks for the quick response - unfortunately it still doesn't work - Ive done a fresh install of 20.04  and a fresh install of Netxms. The provided instructions are both wrong and confusing .

        I now get the following errors

        sudo /usr/bin/nxdbmgr init
        NetXMS Database Manager Version 3.4.232 Build 3.4-232-g55c414782e (UNICODE)

        Unable to load and initialize database driver ""

        and

        sudo systemctl start netxms-server
        Failed to start netxms-server.service: Unit netxms-server.service not found.

        Postgresql is running and listening on port 5432

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

          What's in /etc/netxmsd.conf?
          When installed, netxms-server package show following message:

          NetXMS server is installed but currently stopped.
          
          Additional steps required:
          
          1. Edit default configuration file (/etc/netxmsd.conf)
          
          2. Load database schema
          
             nxdbmgr init
          
          3. Start daemon with command:
          
             systemctl start netxms-server
          

          I've updated installation guide a bit, it should be pushed to to web soon.

          1 Reply Last reply
          0
          • G
            G
            gokiwi
            wrote on last edited by
            #5

            Hi, Again thanks for the reply.

            I did somehow get it working briefly last night , but then today LM 20.04 had some updates that required a reboot and now it doesn't work again.

            The daemon I think is running.

            sudo systemctl status netxmsd
            ● netxmsd.service - NetXMS Server
                Loaded: loaded (/lib/systemd/system/netxmsd.service; disabled; vendor pres>
                Active: active (running) since Thu 2020-07-30 15:44:22 BST; 1h 29min ago
                Process: 5220 ExecStart=/usr/bin/netxmsd -d (code=exited, status=0/SUCCESS)
              Main PID: 5233 (netxmsd)
                  Tasks: 94 (limit: 9304)
                Memory: 32.2M
                CGroup: /system.slice/netxmsd.service
                        └─5233 /usr/bin/netxmsd -d

            Jul 30 15:44:22 Hampton-Downs systemd[1]: Starting NetXMS Server...
            Jul 30 15:44:22 Hampton-Downs systemd[1]: Started NetXMS Server.

            But when I try to login via ncmc I get

            Connection Error - Access denied.

            I have followed the instructions to reset the password (which seemed to be successful)

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

              "nxdbmgr reset-system-account" unlock account "system", not "admin".
              Login as system/netxms, then change password for user admin in user manager and re-lock user "system"

              1 Reply Last reply
              0
              • G
                G
                gokiwi
                wrote on last edited by
                #7

                We have lift off - Everyday that you learn something is a good day !!! - Thank you for your help & assistance  - much appreciated

                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