eNB failed to bind to socket
Hi Experts,
I tried to run eNB on ubuntu 16.04. USRP B210 is connected and is detected. I am using the below command to run. root@USRPB2101604LTS:/opt/openairinterface5g/openairinterface5g/cmake_targets/lte_build_oai/build# ./lte-softmodem -O /opt/openairinterface5g/openairinterface5g/targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.25PRB.usrpb210.replay.conf -d
(I've used this build command: ./build_oai -w USRP --eNB) eNB failed to bind to socket. UDP: Failed to bind socket: (Address already in use:98) address 192.168.1.28 port 2152 As per my observation netstat -na | grep 2152 has an entry after loading the FPGA image.
Much appreciated quick help here.
Thanks, Sangram.
Log info is given below:
[LIBCONFIG] loader.oai_device: 2/2 parameters successfully set, (1 to default value) [LOADER] library liboai_device.so successfully loaded [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.14.1.0-release Found USRP b200 [INFO] [B200] Detected Device: B210 [INFO] [B200] Loading FPGA image: /usr/share/uhd/images/usrp_b210_fpga.bin... [LIBCONFIG] (root): 3/3 parameters successfully set, (1 to default value) [LIBCONFIG] eNBs.[0]: 18/18 parameters successfully set, (9 to default value) [LIBCONFIG] eNBs.[0].plmn_list.[0]: 3/3 parameters successfully set, (0 to default value) [LIBCONFIG] eNBs.[0].component_carriers.[0]: 78/78 parameters successfully set, (17 to default value) [LIBCONFIG] eNBs.[0].mme_ip_address.[0]: 5/5 parameters successfully set, (0 to default value) [LIBCONFIG] eNBs.[0].SCTP: 2/2 parameters successfully set, (0 to default value) [LIBCONFIG] eNBs.[0].NETWORK_INTERFACES: 7/7 parameters successfully set, (0 to default value) [LIBCONFIG] (root): 3/3 parameters successfully set, (1 to default value) [LIBCONFIG] eNBs.[0].NETWORK_INTERFACES: 3/3 parameters successfully set, (0 to default value)
Assertion (rc >= 0) failed! In udp_eNB_create_socket() /opt/openairinterface5g/openairinterface5g/openair3/UDP/udp_eNB_task.c:173 UDP: Failed to bind socket: (Address already in use:98) address 192.168.1.28 port 2152
Exiting execution lte-softmodem: /usr/include/boost/thread/pthread/mutex.hpp:111: boost::mutex::~mutex(): Assertion `!res' failed. Linux signal Aborted... /opt/openairinterface5g/openairinterface5g/targets/RT/USER/lte-softmodem.c:253 signal_handler() Exiting OAI softmodem: softmodem starting exit procedure