View previous topic :: View next topic |
Author |
Message |
jcasares
Joined: 16 Sep 2008 Posts: 50
|
Posted: Tue Jul 19, 2022 2:45 pm Post subject: Ubuntu 18 rma agent not listening |
|
|
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: | 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: | 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. |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12736 Location: USA
|
Posted: Wed Jul 20, 2022 7:31 am Post subject: |
|
|
Check settings in rma.in filei, looks like you added Host=localhost or Host=127.0.0.1 parameter
Regards
Alex |
|
Back to top |
|
 |
jcasares
Joined: 16 Sep 2008 Posts: 50
|
Posted: Wed Jul 20, 2022 8:36 am Post subject: |
|
|
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! |
|
Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 12736 Location: USA
|
Posted: Wed Jul 20, 2022 9:47 am Post subject: |
|
|
You are welcome
Regards
Alex |
|
Back to top |
|
 |
|