Project

General

Profile

Actions

Bug #5203

closed

osmo-pcap-server has same port as osmo-bts in default config

Added by osmith over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
07/29/2021
Due date:
% Done:

100%

Spec Reference:

Description

As noted in Port Numbers, osmo-pcap-server and osmo-bts are listening on the same ctrl interface port.

osmo-pcap-server fails to start if osmo-bts is also running:

osmo-pcap-server -c osmo-pcap-server.cfg          
<0005> ../../../src/libosmocore/src/socket.c:939 unable to bind socket:127.0.0.1:4238: Address already in use             
<0005> ../../../src/libosmocore/src/socket.c:950 no suitable addr found for: 127.0.0.1:4238                               
<0005> ../../../../src/libosmocore/src/vty/telnet_interface.c:100 Cannot bind telnet at 127.0.0.1 4238                    
<0001> ../../../src/osmo-pcap/src/osmo_server_main.c:298 Failed to bind telnet interface

This caused repo-install-test to fail sometimes, so I'm disabling it there until this is resolved.

How should this be fixed, can we change the default port of osmo-pcap-server?

Do we even care if both can be started with the default config?

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)