srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
523 stars 178 forks source link

Running gNB ZMQ config file | INI was not able to parse amf.++ file #858

Closed womper25 closed 1 month ago

womper25 commented 1 month ago

Issue Description

Running the gNB using the gnb_zmq.yaml configuration file from the documentation outputs the error shown below:

gnb_zmq_Issue

Setup Details

VM: Proxmox Memory: 16 GB Cores: 8 Hard Disk: 50 GB Processor: host OS: Ubuntu 22.04.5 Desktop BIOS: Default (SeaBIOS)

I am trying to run the srsRAN gNB with srsUE using ZMQ from the tutorial in the documentation.

Expected Behavior

After inputting the command sudo ./gnb -c gnb_zmq.yaml , it should output the following lines:

gnb_zmq_working

This shows that the gNB is waiting for a core network for it to connect.

Actual Behaviour

For some reason, it always shows the INI cannot parse the amf in the configuration file:

gnb_zmq_Issue

Steps to reproduce the problem

The problem appears when trying to install srsRAN_Project (install from source with ZMQ enabled) on a fresh VM (both in Proxmox and VirtualBox).

Additional Information

HaoxinSEU commented 1 month ago

My two cents: AMF section is now under cu_cp in the configuration file, you can check examples under the folder ./configs/

pgawlowicz commented 1 month ago

indeed, there was a change in the config structure. We are updating the docs.

womper25 commented 1 month ago

Hello thank you for your feedback. With that, should we just wait for the documentation update? Or is there a fix we can do?

pgawlowicz commented 1 month ago

just update your config as done here: https://github.com/srsran/srsRAN_Project/blob/main/configs/gnb_rf_b210_fdd_srsUE.yml#L8-L19

womper25 commented 1 month ago

just update your config as done here: https://github.com/srsran/srsRAN_Project/blob/main/configs/gnb_rf_b210_fdd_srsUE.yml#L8-L19

I tried placing the amf IP addresses within the cu-cp header [and pasted some of the info from the b210 config file] and it works now. Thank you so much!

zhaofeidudu commented 1 month ago

just update your config as done here: https://github.com/srsran/srsRAN_Project/blob/main/configs/gnb_rf_b210_fdd_srsUE.yml#L8-L19

I tried placing the amf IP addresses within the cu-cp header [and pasted some of the info from the b210 config file] and it works now. Thank you so much!

how to do this,i also have this problem,thank you

pgawlowicz commented 1 month ago

Please adapt your amf config to be now under cu_cp as in the example config linked above.

zhaofeidudu commented 1 month ago

Please adapt your amf config to be now under cu_cp as in the example config linked above.

Thank you for your answer. I have changed gnb_zmq.yml in /srsRAN Project/build/apps/gnb,and amf.yml in ~/srsRAN Project/apps/gnb.But the problem still exists, my work is srsRAN gNB for 5G NTN

微信图片_20241021154350 微信图片_20241021154356 微信图片_20241021154359
pgawlowicz commented 1 month ago

Please pull the newest Project version.

zhaofeidudu commented 1 month ago

Please pull the newest Project version.

i already use the latest version

pgawlowicz commented 1 month ago

the newest commit is 9d5dd74

zhaofeidudu commented 1 month ago

the newest commit is 9d5dd74

i dont know how to change my commit to 9d5dd74,my commit is 51e44a642. is there a way to change it ?thanks a lot

pgawlowicz commented 1 month ago

git pull