Installing Linux agent on Redhat

Started by Lotfi, May 15, 2016, 11:54:15 AM

Previous topic - Next topic

Lotfi

Hello,
I have a test environment with couple of Windows vms monitored by NetXMS, and i wanted to add a new VM with RedHat OS to be monitored. I downloaded the almost of the agents available on the Download Webpage, but when i try to install it, it asks for ./Configure file following the NetXMS manual labeled : Agent Installation Guide:Installing NetXMS Agent on UNIX

When i try to run : ./configure netxms , i get an error saying sh: ./configure no such file or directory, the screenshot is attached.

I have to say too, that it's a fresh OS install and nothing has been installed yet on the System which is a RedHat 5


tomaskir

You have to do ./configure inside the NetXMS directory.

Just do "cd netxmsd" and then do configure.

Lotfi

it gives the same error....

tomaskir

#3
This is because you downloaded the generic linux already pre-compiled package.
In this case, you can just run it.

"cd /opt/netxms/bin && chmod 0755 nxagentd && ./nxagentd"

You need to download the source if you want to compile it.

Lotfi

You're right, i've downloaded both of them. And because i do not have big knowledge of Linux, i wanted to build it while i have the file needed. nxagentd on Desktop, in the screenshot.
But when i try to run it, after CHMOD , it tells me that some libraries are missing, GLIBC_2.7, GLIBC_2.10 like in the screenshot attached
Please, what do i have to make it?
Thanks in advance

Lotfi

Hello,

I believe that i were using the wrong package.
According to this document : http://netxms.readthedocs.io/projects/admin/en/latest/installation.html , the installation of the agent had to be done with the same package used for setting up a NetXMS server on Linux machine, so i downloaded that package : netxms-2.0.3.tar.gz and here, i do find ./configure file, but when i execute it, it gives me an error that might be related to the system libraries. I used Yum to install development tools and it works now,
Just one question please, when i try to start the agent, i read in the log file :
Unable to bind socket : Address already in use
What is this error about??

Lotfi

I just had to stop the firewall service,

Problem resolved!! thanks :)