Ubuntu 18 rma agent not listening

Remote Monitoring Agent for Linux, FreeBSD, and other UNIX-like platforms.
Post Reply
jcasares
Posts: 50
Joined: Tue Sep 16, 2008 9:33 am

Ubuntu 18 rma agent not listening

Post by jcasares »

We deployed the agent for Linux before in other distributions of Debian and CentOS based OS without any issues. Even with newer or older versions of Ubuntu it worked, but we're observing recently something strange with a few servers on release 18.

The RMA agent starts the listening on IP 127.0.1.1 and so it does not get any connections from outside.

Code: Select all

user@server:/etc/init.d$ netstat -ano | grep 11065
tcp        0      0 127.0.1.1:11065         0.0.0.0:*               LISTEN      off (0.00/0/0)
Does someone know why is this behaviour and how we should avoid it?

As other services, the listening should be on the 0.0.0.0 or static IP of the server for external connections to reach it.

Code: Select all

user@server:/etc/init.d$ netstat -ano | grep 22
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      off (0.00/0/0)
tcp        0     36 192.168.65.18:22        192.168.79.11:47415     ESTABLISHED on (0.24/0/0)
tcp6       0      0 :::22                   :::*                    LISTEN      off (0.00/0/0)
Thank you in advance.
KS-Soft
Posts: 12846
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Check settings in rma.in filei, looks like you added Host=localhost or Host=127.0.0.1 parameter

Regards
Alex
jcasares
Posts: 50
Joined: Tue Sep 16, 2008 9:33 am

Post by jcasares »

Yes, that was it, as the hostname was resolving to that 127.0.1.1 IP through the hosts files.

The one that built these servers made the mistake to add the host value instead of the comment one.

Thank you!
KS-Soft
Posts: 12846
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome

Regards
Alex
Post Reply