Raspberry Pi 3 - Compile Agent
-
Hi,
I'm trying to compile the NetXMS agent from source on a Raspberry Pi 3 (wouldn't mind just using a package instead
).
The following command line runs through ok:sudo ./configure --with-agent --with-snmp --with-client --with-client-proxyAfter that I run
make make installSo far so good.
But when I want to actually run the agent (be it via nxagentd or sudo nxagentd, makes no difference), I receive this:
nxagentd: error while loading shared libraries: libappagent.so.2: cannot open shared object file: No such file or directorySo I ran
ls -l /usr/local/lib/libappagent.*and got this:-rwxr-xr-x 1 root staff 1144 May 3 23:55 libappagent.la lrwxrwxrwx 1 root staff 20 May 3 23:55 libappagent.so -> libappagent.so.2.0.0 lrwxrwxrwx 1 root staff 20 May 3 23:55 libappagent.so.2 -> libappagent.so.2.0.0 -rwxr-xr-x 1 root staff 45432 May 3 23:55 libappagent.so.2.0.0To me that looks ok. Not sure why nxagentd has a problem with this?
Any suggestions? -
-
-
-
It works fine for me from those packages
root@raspberrypi:/etc# nxagentd -f -D5 [10-May-2016 13:39:12.363] [INFO ] Additional configs was loaded from /etc/nxagentd.conf.d [10-May-2016 13:39:12.363] [INFO ] Debug level set to 5 ... [10-May-2016 13:39:12.468] [DEBUG] Thread pool SNMPPROXY initialized (min=2, max=128) ... [10-May-2016 13:39:14.589] [DEBUG] SNMP Trap sender thread started [10-May-2016 13:39:14.592] [DEBUG] Data collection scheduler thread started [10-May-2016 13:39:14.594] [DEBUG] Data sender thread started [10-May-2016 13:39:14.594] [DEBUG] Database writer thread started [10-May-2016 13:39:14.594] [DEBUG] Data reconciliation thread started ... [10-May-2016 13:39:14.598] [DEBUG] SNMPTrapReceiver: listening on 0.0.0.0:162 [10-May-2016 13:39:15.599] [INFO ] NetXMS Agent started Agent running. Press Ctrl+C to shutdown. ...What is not working for you?
-
-
I can give you RPi server packages, but I really do NOT recommend running netxmsd on RPi.
Usually when running the server on RPi, you would use sqlite DB (since you will not have a full featured DB server available).
The NetXMS team has stated multiple times that they want to deprecate sqlite, and sqlite has quite a few known bugs.Also, unless you have a very good SDHC Card (class 10+ with read/write of 40+ MBps), it will be painfully slow.
-
-
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