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 on Raspberry (Raspbian)

Installing on Raspberry (Raspbian)

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

    Hi all,

    I read in another topic that someone was able to compile the netxms agen on a raspberry i tried but failed. as the other topic is closed i am creating a new one.
    Here are the steps i took:

    1. Download Netxms Full Source from netxms site: https://www.netxms.org/download ( netxms-1.2.14.tar.gz )
    2. Extract on computer en transfer to Raspbian using SFTP
          a) put the sources in /tmp/netxms
    3. Open ssh to Raspberry
    4. sudo apt-get update
    5. sudo apt-get upgrade
    6. sudo apt-get install libssl-dev
    7. go to /tmp/netxms
    8. sudo sh configure --with-agent --libdir=/usr/lib --disable-iconv (This runs without any error)
    9. sudo make
      Getting alot of the following errors

    sender.cpp:253:80: warning: use of 'h' length modifier with 's' type character [-Wformat]
    sender.cpp:253:80: warning: use of 'h' length modifier with 's' type character [-Wformat]
    sender.cpp:283:102: warning: use of 'h' length modifier with 's' type character [-Wformat]
    sender.cpp:283:102: warning: use of 'h' length modifier with 's' type character [-Wformat]
    sender.cpp:306:102: warning: use of 'h' length modifier with 's' type character [-Wformat]
    sender.cpp:306:102: warning: use of 'h' length modifier with 's' type character [-Wformat]

    drbd.cpp:189:66: warning: use of 'h' length modifier with 'c' type character [-Wformat]
      CXX    linux_la-hddinfo.lo
      CXX    linux_la-iostat.lo
    iostat.cpp: In function 'void ParseIoStat(char*)':
    iostat.cpp:118:127: warning: use of 'h' length modifier with 's' type character [-Wformat]
      CXX    linux_la-linux.lo
      CXX    linux_la-net.lo
    net.cpp: In function 'LONG H_NetIfList(const char*, const char*, StringList*)':
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
    net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]

    at the end i get this:

    ../../../tools/create_ssa_list.sh "" > static_subagents.cpp
    /bin/bash: ../../../tools/create_ssa_list.sh: Permission denied
    make[4]: *** [static_subagents.cpp] Error 126
    make[4]: Leaving directory `/tmp/netxms/src/agent/core'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/netxms/src/agent'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/tmp/netxms/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/netxms'
    make: *** [all] Error 2

    1. sudo make install
    2. cp contrib/nxagent.conf-dist /etc/nxagentd.conf
    3. sudo /usr/local/bin/nxagentd –d

    So after this i looked in the usr/local/bin but there is no nxagentd

    am i missing something or did i forget something?

    any info, tips or help is welcome 🙂

    grtz,

    Michiel

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

      Hi!

      Check that tools/create_ssa_list.sh has executable permission.

      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