News:

We really need your input in this questionnaire

Main Menu

Installing NetXMS agent error

Started by ZacHow, April 18, 2018, 03:05:01 PM

Previous topic - Next topic

ZacHow

Hello!

I am having trouble installing NetXMS on Centos 7.

I download the file "nxagent-2.2.4-linux-x86_64.tar.gz", extract it, this leaves me with a folder called "opt"

I take the folder called "netxms" FROM the extracted folder, and move to location /opt/

I then run the command shown in screenshot, and get the error "./nxagentd: error while loading shared libraries..." (see screenshot)

I've also tried the 32 bit version to see if that made a dfference, and it didnt.

What am I doing wrong? :(

Any help would be much appreciated

Cheers,

Zac.

Victor Kirhenshtein

Hi,

seems that agent was built against older OpenSSL version. If you can install some sort of compatibility package that will bring OpenSSL 0.9.8 to the system it will help. Otherwise please wait for release 2.2.5 - we will fix generic Linux agent packaging.

Best regards,
Victor

Victor Kirhenshtein

Turns out to be packaging error. We just updated packages on web site - please try to download again.

Best regards,
Victor

ZacHow

Hi Victor,

Thanks for your fast reply!

Unfortunately, same error. I have tried the 32 and 64 bit versions.

Any ideas?

Cheers,

Zac.

Victor Kirhenshtein

Hi,

please send output of command

ldd /opt/netxms/bin/nxagentd

Best regards,
Victor

ZacHow

Thanks again for the fast reply Victor, much appreciated!

Please see output in screenshot attached.

Many thanks

zac.

Victor Kirhenshtein

Hi,

are you sure you download correct agent again? I just downloaded agent 2.2.4 (https://netxms.org/download/releases/2.2/2.2.4/nxagent-2.2.4-linux-x86_64.tar.gz) and get the following ldd output:

   linux-vdso.so.1 =>  (0x00007fffe67fb000)
   libappagent.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libappagent.so.2 (0x00007fe6af982000)
   libnxagent.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libnxagent.so.2 (0x00007fe6af77d000)
   libnxdb.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libnxdb.so.2 (0x00007fe6af569000)
   libnetxms.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libnetxms.so.2 (0x00007fe6af2dc000)
   libnxsnmp.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libnxsnmp.so.2 (0x00007fe6af0c6000)
   libnxexpat.so.2 => /home/victor/tmp/agent/opt/netxms/lib/libnxexpat.so.2 (0x00007fe6aeea3000)
   libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe6aec6e000)
   libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe6aea51000)
   libssl.so.1.0.0 => /home/victor/tmp/agent/opt/netxms/lib/libssl.so.1.0.0 (0x00007fe6ae7e1000)
   libcrypto.so.1.0.0 => /home/victor/tmp/agent/opt/netxms/lib/libcrypto.so.1.0.0 (0x00007fe6ae3a7000)
   libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe6ae025000)
   libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe6add1c000)
   libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe6adb05000)
   libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe6ad73b000)
   libnxtre.so.5 => /opt/netxms/lib/libnxtre.so.5 (0x00007fe6ad529000)
   libnxzlib.so.1 => /home/victor/tmp/agent/opt/netxms/lib/libnxzlib.so.1 (0x00007fe6ad314000)
   libnxjansson.so.4 => /home/victor/tmp/agent/opt/netxms/lib/libnxjansson.so.4 (0x00007fe6ad108000)
   /lib64/ld-linux-x86-64.so.2 (0x000055d0dfb86000)
   libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fe6acede000)
   libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe6accc4000)
   libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fe6acaa8000)
   libjemalloc.so.1 => /usr/lib/x86_64-linux-gnu/libjemalloc.so.1 (0x00007fe6ac871000)

As you see it references correct libssl library from it's own directory.

Best regards,
Victor