Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - aeonaura

#1
Ubuntu

https://wiki.odroid.com/odroid-xu4/os_images/linux/ubuntu_4.14/ubuntu_4.14

Was using a minimal OS, maybe need to try the full one
#2
Really close! Any help over the weekend?
#3
Thanks for pointing that out Borgso!

What do I need to change with this code. I believe this was my problem.
tar xvzf nxagent-3.1.343-linux-arm.tar.gz

Issue I see now
root@odroid:~# /opt/netxms/bin/nxagentd -D 6
/opt/netxms/bin/nxagentd: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by /opt/netxms/bin/nxagentd)
/opt/netxms/bin/nxagentd: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by /opt/netxms/lib/libnetxms.so.31)
root@odroid:~#

Added
touch /etc/ld.so.conf.d/netxms.conf
nano /etc/ld.so.conf.d/netxms.conf
entered:/opt/netxms/lib/ 

#4
root@odroid:~# /opt/netxms/bin/nxagentd -D 6
-bash: /opt/netxms/bin/nxagentd: No such file or directory

then tried this

root@odroid:~# opt/netxms/bin/nxagentd -D 6
opt/netxms/bin/nxagentd: error while loading shared libraries: libappagent.so.31             : cannot open shared object file: No such file or directory
root@odroid:~#


see this in the folder
root@odroid:~# opt/netxms/bin/nx
nxagentd     nxapush      nxdevcfg     nxgenguid    nxmibc       nxsnmpset
nxappget     nxcsum       nxencpasswd  nxlptest     nxsnmpget    nxsnmpwalk



when Nano into: /etc/ld.so.conf.d/netxms.conf

  **GNU nano 2.9.3 /etc/ld.so.conf.d/netxms.conf**

/opt/netxms/lib/


#5
What I did:
touch /etc/ld.so.conf.d/netxms.conf
nano /etc/ld.so.conf.d/netxms.conf (added in /opt/netxms/lib/)
ldconfig

--here is the results--

/sbin/ldconfig.real: /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3.5.3.dpkg-tmp is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3.5.3 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3 is not a symbolic link

root@odroid:~/opt/netxms/lib#


What did I miss?



#6
Once I get home I'll try this out! Thanks so much.
#7
root@odroid:~# opt/netxms/bin/nx
nxagentd     nxapush      nxdevcfg     nxgenguid    nxmibc       nxsnmpset
nxappget     nxcsum       nxencpasswd  nxlptest     nxsnmpget    nxsnmpwalk
root@odroid:~# opt/netxms/bin/nx
nxagentd     nxapush      nxdevcfg     nxgenguid    nxmibc       nxsnmpset
nxappget     nxcsum       nxencpasswd  nxlptest     nxsnmpget    nxsnmpwalk
root@odroid:~# opt/netxms/bin/nxa
nxagentd  nxappget  nxapush
root@odroid:~# opt/netxms/bin/nxagentd -D 6
opt/netxms/bin/nxagentd: error while loading shared libraries: libappagent.so.31: cannot open shared object file: No such file or directory
root@odroid:~#

error I'm getting

Imagine this is the missing config file?

BTW once this is working will write all the steps to help others in OP
#8
Steps so far:

wget https://www.netxms.org/download/releases/3.1/nxagent-3.1.343-linux-arm.tar.gz

No sure how and where to extract this. Looking up the commands. "tar xvzf file.tar.gz -C /path/to/somedirectory"  but not sure what to enter

tar xvzf nxagent-3.1.343-linux-arm.tar.gz

is this correct?
#9
General Support / NetXMS Agent on Odroid-HC2, level zero
February 13, 2020, 04:38:31 PM
Not a big Linux guy, struggling to even get started with this.

I would believe it's like 4 commands and its off to the races. Running Ubuntu 18.04.1 LTS (GNU/Linux 4.14.85-152 armv7l) on an Odroid-HC2.

As far as where I am, let's call it level zero.

Will this OS support the NetXMS Agent?


Have the server setup and working, don't need much help from that side.