Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

srsRAN looks for wrong path for config files #1389

Open
armin485 opened this issue Sep 22, 2024 · 0 comments
Open

srsRAN looks for wrong path for config files #1389

armin485 opened this issue Sep 22, 2024 · 0 comments

Comments

@armin485
Copy link

Issue Description

Dear srsRAN commity.
First of all I want to thank you for this wonderful project.
I've been installing srsRAN_4G from code with zmq as RF device and it's working great. However, since the applications (EPC, ENB and UE) required to be run with sudo, all of them are trying to read config files in root directory but the build and installation process have been done with my normal user (ubuntu). The typical error I got is:

`ubuntu@zbook:~$ sudo srsepc

Built in Release mode using commit ec29b0c on branch master.

--- Software Radio Systems EPC ---

Couldn't open , trying /root/.config/srsran/epc.conf
Couldn't open /root/.config/srsran/epc.conf either, trying /etc/srsran/epc.conf
Failed to read EPC configuration file /etc/srsran/epc.conf - exiting`

After copying the config files from home directory (ubuntu) into root, it works.

Setup Details

[Specify details of the test setup. This would help us reproduce the problem reliably]
All nework components are running on same machine (my laptop) with zmq as radio transceiver. I've followed official installation and running instruction.

Expected Behavior

sudo srsepc to be run without setting config directories

Actual Behaviour

srsepc, srsenb and srsue all fail to find config files

Steps to reproduce the problem

Installation and building from source including zmp. Follow the official instruction.

@armin485 armin485 changed the title srsRAN looks for wrong path for config files and LD_LIBRARY_PATH is not set by the make install srsRAN looks for wrong path for config files Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant