Unable to bind socket for local admin interface

Started by JesusCruzAcr, February 25, 2020, 12:57:59 AM

Previous topic - Next topic

JesusCruzAcr

Hello,

when I tried to start the demon, the log file gives me the next error:

2020.02.24 13:18:42.874 Log file opened (rotation policy 2, max size 16777216)
2020.02.24 13:18:42.874 *I* [                   ] Code page set to ISO8859-1
2020.02.24 13:18:42.875 *I* [                   ] Platform subagent "/~/acrxmsserver/lib/netxms/linux.nsm" successfully loaded
2020.02.24 13:18:42.883 *I* [db.drv             ] Database driver "mysql.ddr" loaded and initialized successfully
2020.02.24 13:18:42.900 *E* [                   ] Unable to bind socket for local admin interface (98 Address already in use)
2020.02.24 13:18:42.936 *I* [                   ] Server certificate not set
2020.02.24 13:18:42.956 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2020.02.24 13:18:43.011 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2020.02.24 13:18:43.028 *I* [                   ] Network device driver NETONIX loaded successfully
2020.02.24 13:18:43.028 *I* [                   ] Network device driver TB loaded successfully
2020.02.24 13:18:43.028 *I* [                   ] Network device driver H3C loaded successfully
2020.02.24 13:18:43.028 *I* [                   ] Network device driver HPSW loaded successfully
2020.02.24 13:18:43.028 *I* [                   ] Network device driver PROCURVE loaded successfully
2020.02.24 13:18:43.028 *I* [                   ] Network device driver EXTREME loaded successfully
2020.02.24 13:18:43.029 *I* [                   ] Network device driver BAYSTACK loaded successfully
2020.02.24 13:18:43.029 *I* [                   ] Network device driver NTWS loaded successfully
2020.02.24 13:18:43.029 *I* [                   ] Network device driver ERS8000 loaded successfully
2020.02.24 13:18:43.029 *I* [                   ] Network device driver MIKROTIK loaded successfully
2020.02.24 13:18:43.029 *I* [                   ] Network device driver OPTIX loaded successfully
2020.02.24 13:18:43.029 *I* [                   ] Network device driver DELL-PWC loaded successfully
2020.02.24 13:18:43.030 *I* [                   ] Network device driver AT loaded successfully
2020.02.24 13:18:43.030 *I* [                   ] Network device driver SYMBOL-WS loaded successfully
2020.02.24 13:18:43.030 *I* [                   ] Network device driver AIRESPACE loaded successfully
2020.02.24 13:18:43.030 *I* [                   ] Network device driver IGNITENET loaded successfully
2020.02.24 13:18:43.031 *I* [                   ] Network device driver DLINK loaded successfully
2020.02.24 13:18:43.031 *I* [                   ] Network device driver CATALYST-GENERIC loaded successfully
2020.02.24 13:18:43.031 *I* [                   ] Network device driver CATALYST-2900XL loaded successfully
2020.02.24 13:18:43.031 *I* [                   ] Network device driver CISCO-ESW loaded successfully
2020.02.24 13:18:43.031 *I* [                   ] Network device driver CISCO-NEXUS loaded successfully
2020.02.24 13:18:43.031 *I* [                   ] Network device driver CISCO-SB loaded successfully
2020.02.24 13:18:43.031 *I* [                   ] Network device driver CISCO-GENERIC loaded successfully
2020.02.24 13:18:43.031 *I* [                   ] Network device driver NET-SNMP loaded successfully
2020.02.24 13:18:43.031 *I* [                   ] Network device driver PING3 loaded successfully
2020.02.24 13:18:43.032 *I* [                   ] Network device driver UBNT loaded successfully
2020.02.24 13:18:43.032 *I* [                   ] Network device driver JUNIPER loaded successfully
2020.02.24 13:18:43.032 *I* [                   ] Network device driver NETSCREEN loaded successfully
2020.02.24 13:18:43.032 *I* [                   ] Network device driver QTECH-OLT loaded successfully
2020.02.24 13:18:43.032 *I* [                   ] Network device driver RITTAL loaded successfully
2020.02.24 13:18:43.033 *I* [db.drv             ] Database driver "sqlite.ddr" loaded and initialized successfully
2020.02.24 13:18:43.573 *I* [                   ] Listening for SNMP traps on UDP socket 0.0.0.0:162
2020.02.24 13:18:43.574 *I* [                   ] Listening for SNMP traps on UDP socket :::162
2020.02.24 13:18:43.575 *I* [                   ] NetXMS Server started
2020.02.24 13:18:43.575 *E* [                   ] SocketListener/AgentTunnels: cannot bind IPv4 socket (98 Address already in use)
2020.02.24 13:18:43.576 *E* [                   ] SocketListener/AgentTunnels: cannot bind IPv6 socket (98 Address already in use)
2020.02.24 13:18:43.576 *E* [                   ] SocketListener/Clients: cannot bind IPv4 socket (98 Address already in use)
2020.02.24 13:18:43.576 *E* [                   ] SocketListener/Clients: cannot bind IPv6 socket (98 Address already in use)
2020.02.24 13:18:43.576 *E* [                   ] SocketListener/MobileDevices: cannot bind IPv4 socket (98 Address already in use)
2020.02.24 13:18:43.576 *E* [                   ] SocketListener/MobileDevices: cannot bind IPv6 socket (98 Address already in use)





Have a nice day!

JesusCruzAcr

The problem is in UBUNTU 18.04 and NetXMS 3.1.241

Filipp Sudanov

Most probably another copy of netxmsd is running. You can check what process has acclaimed a port with
sudo netstat -lptun
You may need to install it.
sudo apt install nettools

These are ports 4701, 4703 and 4747.

JesusCruzAcr

there were no services that were occupying the port (apparently something remained, generating this error). Just simply restart the OS and raise the demon again and without problems.

Thanks for the attention, good day!