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. Installing agent onto Ubuntu 12.04/14.04

Installing agent onto Ubuntu 12.04/14.04

Scheduled Pinned Locked Moved Support
8 Posts 3 Posters 46.9k 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.
  • T
    T
    Tengu
    wrote on last edited by
    #1

    Hi All

    I was browsing through the forums and was wondering if anyone else is having an issue installing the NetXMS agent onto Ubuntu 12.04 or 14.04 x64?

    I downloaded the netxms-base_1.2.17_amd64.deb file and installed it okay using dpkg -i, I then moved onto the netxms-agent_1.2.17_amd64.deb but it comes up with the following error:

    ...
    Unpacking replacement netxms-agent ...
    dpkg: dependency problems prevent configuration of netxms-agent:
     netxms-agent depends on libsensors4; however:
      Package libsensors4 is not installed.
    dpkg: error processing netxms-agent (--install):
     dependency problems - leaving unconfigured
    Processing triggers for ureadahead ...
    Errors were encountered while processing:
     netxms-agent

    I then decided to try the generic linux package, but when I gunzip the nxagent-1.7.17-linux-x86-static.tar.gz file I find there’s only “nxagentd”. Is there some way to set up just the nxagentd?

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

      This is completely normal, nxagentd has some dependencies which it needs.

      I suggest adding the netxms apt repo, and installing said packages from the apt repo.
      Apt will take care of the dependency chain automatically for you.

      1 Reply Last reply
      0
      • T
        T
        Tengu
        wrote on last edited by
        #3

        I'm assuming the repository is here: https://www.netxms.org/apt/dists/
        The only distros I see in the repository are for Debian 5, 6 and 7.
        How do I go about using them for Ubuntu 14.04 and 12.04?

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          Hi,

          Debian 7 packages should work on Ubuntu, and so you can use repository for Debian 7. You can just add

          deb https://www.netxms.org/apt wheezy main

          to /etc/apt/sources.list, then run

          apt-get update
          apt-get install netxms-agent

          Should work fine.

          Best regards,
          Victor

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

            Yes, that is the right repo.

            Simply do in console:

            echo deb https://www.netxms.org/apt wheezy main >> /etc/apt/sources.list.d/netxms.list
            

            Then

            apt-get update && apt-get install netxms-agent
            
            1 Reply Last reply
            0
            • T
              T
              tomaskir
              wrote on last edited by
              #6

              Damn, Victor beat me to it 🙂

              1 Reply Last reply
              0
              • T
                T
                Tengu
                wrote on last edited by
                #7

                Thanks for the replies, I've added it to the sources list and went to get netxms-agent, but I'm presented with the following error:

                The following packages have unmet dependencies.
                 netxms-agent : Depends: libsensors4 but it is not going to be installed
                E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

                1 Reply Last reply
                0
                • V
                  V
                  Victor Kirhenshtein
                  wrote on last edited by
                  #8

                  Try to install libsensors4 manually. It's a bit strange though - I test it on Ubuntu 14.04 LTS and installation went fine.

                  Best regards,
                  Victor

                  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