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. Agent on ubuntu 16.04 not starting

Agent on ubuntu 16.04 not starting

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 35.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.
  • M
    M
    Mko61
    wrote on last edited by
    #1

    Hi all,

    I tried the installation as described in https://www.netxms.org/documentation/adminguide/installation.html but I can't get the agent running.

    As a recap from the above link the installation steps were:
    $ wget http://packages.netxms.org/netxms-release_1.2_all.deb
    $ sudo dpkg -i netxms-release_1.2_all.deb
    sudo apt-get update
    apt-get install netxms-agent

    I try to start tha agent by the command "nxagentd -d" and have no errors nor messages, but the agent doesn't start. The server doesn't recognize the agent (altought the machine il seen) and it's not listed by "ps -A".

    Since I'm really not skilled in linux, maybe that I miss something fundamental, so fundamental that it's not in the manual.

    Can anyone help me?

    Thanks, Marco

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

      Hi,

      check agent configuration file - it should have correct log settings and correct management server address in MasterServers. You can also tun agent in foreground with maximum debug as

      nxagentd -D9

      and check what is going on.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • M
        M
        Mko61
        wrote on last edited by
        #3

        Hi Victor,

        thank you for you answer.

        I did what you suggested and got a lot of messages on the screen, none of errors except the first: "Error reading additional configuration files from '/etc/nxagentd.conf.d'" ... actually that file does not exist. Is it really missing or is not needed?

        Anyway, the bunch of lines terminates with a nice "Agent running. Press Ctrl+C to shutdown."

        Now the agent is visible as a running process (ps -A, pstree) but the object detail in the Management Console continues to show it as "isAgent=No" and no monitoring action (eg. adding a data collector based on agent) is possible.

        Have you any further suggestion?

        Best Regards,

        Marco

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

          Try to run configuration poll manually (right click on node, Poll, then Configuration). Check what agent will report.

          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