I have an AIX 7.1 LPAR where Nagios agent was installed for monitoring. The issue is that when I start the nagios service (ncpa_listener), it starts but does not open the 5693 port it requires for communication. On all other LPARs the service opens the port and is listening. I tried reinstalling the agent. Sometimes, when I try to stop the service it goes into a stopping state and has to be killed forcefully. The oslevel is 7100-05-01-1731. The LPAR has about 120GB of memory and 6 CPUs as entitled capacity. This is an Oracle DB DR server. Please let me know if more details are required.
I tried to see if there is anything using the port using netstat -an | grep 5693. I also checked the services file to see if any service is already using this port, but there was nothing in both cases.
------ Post updated at 12:22 PM ------
I just wanted to add one more thing. If I do a "telnet localhost 5693", I don't get a telnet prompt. But on all other LPARs, the telnet connects and gives a prompt. I can't seem to think of a reason why the service should not be able to open an unused port.
I tried to see if there is anything using the port using netstat -an | grep 5693. I also checked the services file to see if any service is already using this port, but there was nothing in both cases.
------ Post updated at 12:22 PM ------
I just wanted to add one more thing. If I do a "telnet localhost 5693", I don't get a telnet prompt. But on all other LPARs, the telnet connects and gives a prompt. I can't seem to think of a reason why the service should not be able to open an unused port.