Hi guys,
We use Netxms for monitoring mikrotik, synology devices and servers, and it works perfectly. We love it! But in this week i installed the agent to a Windows server 2012R2 x64 and a Windows 7 Pro x64 machine. In booth case the agent installed without errors, and run on background, but cannot accessible.
"nxagentd -D 1" says:
....
2018.06.19 11:20:29.040 Trying to bind on 0.0.0.0:4700
2018.06.19 11:20:29.040 Unable to bind socket: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018.06.19 11:20:29.040 Trying to bind on 127.0.0.1:28180
2018.06.19 11:20:29.040 Trying to bind on [::]:4700
2018.06.19 11:20:29.040 Unable to bind socket: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018.06.19 11:20:29.040 Unable to bind socket: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018.06.19 11:20:29.040 Session agent connector terminated (socket error)
.....
Windows system event log says:
Event ID: 9
Event source: NetXMS Win32 Agent
Error: "Unable to bind socket: Only one usage of each socket address (protocol/network address/port) is normally permitted."
"Netstat -an" says:
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2179 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2301 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2381 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING
TCP 0.0.0.0:4700 0.0.0.0:0 LISTENING
TCP 0.0.0.0:5985 0.0.0.0:0 LISTENING
TCP 0.0.0.0:47001 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49155 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49157 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49158 0.0.0.0:0 LISTENING
TCP 10.10.0.1:139 0.0.0.0:0 LISTENING
TCP 10.10.0.1:3389 10.10.0.254:50669 ESTABLISHED
TCP 10.10.0.1:49161 178.255.154.14:5938 ESTABLISHED
TCP 127.0.0.1:5939 0.0.0.0:0 LISTENING
TCP 127.0.0.1:5939 127.0.0.1:49162 ESTABLISHED
TCP 127.0.0.1:9656 0.0.0.0:0 LISTENING
TCP 127.0.0.1:28180 0.0.0.0:0 LISTENING
TCP 127.0.0.1:49162 127.0.0.1:5939 ESTABLISHED
TCP 127.0.0.1:49164 127.0.0.1:49165 ESTABLISHED
TCP 127.0.0.1:49165 127.0.0.1:49164 ESTABLISHED
TCP [::]:135 [::]:0 LISTENING
TCP [::]:445 [::]:0 LISTENING
TCP [::]:2179 [::]:0 LISTENING
TCP [::]:2301 [::]:0 LISTENING
TCP [::]:2381 [::]:0 LISTENING
TCP [::]:3389 [::]:0 LISTENING
TCP [::]:4700 [::]:0 LISTENING
TCP [::]:5985 [::]:0 LISTENING
TCP [::]:47001 [::]:0 LISTENING
TCP [::]:49152 [::]:0 LISTENING
TCP [::]:49153 [::]:0 LISTENING
TCP [::]:49154 [::]:0 LISTENING
TCP [::]:49155 [::]:0 LISTENING
TCP [::]:49157 [::]:0 LISTENING
TCP [::]:49158 [::]:0 LISTENING
TCP [fe80::a049:cfb7:f7c5:3418%15]:2179 [fe80::a049:cfb7:f7c5:3418%15]:49565 ESTABLISHED
TCP [fe80::a049:cfb7:f7c5:3418%15]:49565 [fe80::a049:cfb7:f7c5:3418%15]:2179 ESTABLISHED
UDP 0.0.0.0:161 *:*
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:3389 *:*
UDP 0.0.0.0:4500 *:*
UDP 0.0.0.0:5355 *:*
UDP 0.0.0.0:50992 *:*
UDP 10.10.0.1:137 *:*
UDP 10.10.0.1:138 *:*
UDP 10.10.0.1:5353 *:*
UDP [::]:161 *:*
UDP [::]:500 *:*
UDP [::]:3389 *:*
UDP [::]:4500 *:*
UDP [::]:5355 *:*
UDP [::]:50993 *:*
UDP [::1]:5353 *:*
We tried agent version 2.23 and 2.26 but same result. Booth machine clean installed, no other service or software. I have no idea. Maybe you have a solution.
Thank you advance and have a nice day.
We use Netxms for monitoring mikrotik, synology devices and servers, and it works perfectly. We love it! But in this week i installed the agent to a Windows server 2012R2 x64 and a Windows 7 Pro x64 machine. In booth case the agent installed without errors, and run on background, but cannot accessible.
"nxagentd -D 1" says:
....
2018.06.19 11:20:29.040 Trying to bind on 0.0.0.0:4700
2018.06.19 11:20:29.040 Unable to bind socket: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018.06.19 11:20:29.040 Trying to bind on 127.0.0.1:28180
2018.06.19 11:20:29.040 Trying to bind on [::]:4700
2018.06.19 11:20:29.040 Unable to bind socket: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018.06.19 11:20:29.040 Unable to bind socket: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018.06.19 11:20:29.040 Session agent connector terminated (socket error)
.....
Windows system event log says:
Event ID: 9
Event source: NetXMS Win32 Agent
Error: "Unable to bind socket: Only one usage of each socket address (protocol/network address/port) is normally permitted."
"Netstat -an" says:
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2179 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2301 0.0.0.0:0 LISTENING
TCP 0.0.0.0:2381 0.0.0.0:0 LISTENING
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING
TCP 0.0.0.0:4700 0.0.0.0:0 LISTENING
TCP 0.0.0.0:5985 0.0.0.0:0 LISTENING
TCP 0.0.0.0:47001 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49155 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49157 0.0.0.0:0 LISTENING
TCP 0.0.0.0:49158 0.0.0.0:0 LISTENING
TCP 10.10.0.1:139 0.0.0.0:0 LISTENING
TCP 10.10.0.1:3389 10.10.0.254:50669 ESTABLISHED
TCP 10.10.0.1:49161 178.255.154.14:5938 ESTABLISHED
TCP 127.0.0.1:5939 0.0.0.0:0 LISTENING
TCP 127.0.0.1:5939 127.0.0.1:49162 ESTABLISHED
TCP 127.0.0.1:9656 0.0.0.0:0 LISTENING
TCP 127.0.0.1:28180 0.0.0.0:0 LISTENING
TCP 127.0.0.1:49162 127.0.0.1:5939 ESTABLISHED
TCP 127.0.0.1:49164 127.0.0.1:49165 ESTABLISHED
TCP 127.0.0.1:49165 127.0.0.1:49164 ESTABLISHED
TCP [::]:135 [::]:0 LISTENING
TCP [::]:445 [::]:0 LISTENING
TCP [::]:2179 [::]:0 LISTENING
TCP [::]:2301 [::]:0 LISTENING
TCP [::]:2381 [::]:0 LISTENING
TCP [::]:3389 [::]:0 LISTENING
TCP [::]:4700 [::]:0 LISTENING
TCP [::]:5985 [::]:0 LISTENING
TCP [::]:47001 [::]:0 LISTENING
TCP [::]:49152 [::]:0 LISTENING
TCP [::]:49153 [::]:0 LISTENING
TCP [::]:49154 [::]:0 LISTENING
TCP [::]:49155 [::]:0 LISTENING
TCP [::]:49157 [::]:0 LISTENING
TCP [::]:49158 [::]:0 LISTENING
TCP [fe80::a049:cfb7:f7c5:3418%15]:2179 [fe80::a049:cfb7:f7c5:3418%15]:49565 ESTABLISHED
TCP [fe80::a049:cfb7:f7c5:3418%15]:49565 [fe80::a049:cfb7:f7c5:3418%15]:2179 ESTABLISHED
UDP 0.0.0.0:161 *:*
UDP 0.0.0.0:500 *:*
UDP 0.0.0.0:3389 *:*
UDP 0.0.0.0:4500 *:*
UDP 0.0.0.0:5355 *:*
UDP 0.0.0.0:50992 *:*
UDP 10.10.0.1:137 *:*
UDP 10.10.0.1:138 *:*
UDP 10.10.0.1:5353 *:*
UDP [::]:161 *:*
UDP [::]:500 *:*
UDP [::]:3389 *:*
UDP [::]:4500 *:*
UDP [::]:5355 *:*
UDP [::]:50993 *:*
UDP [::1]:5353 *:*
We tried agent version 2.23 and 2.26 but same result. Booth machine clean installed, no other service or software. I have no idea. Maybe you have a solution.
Thank you advance and have a nice day.