osmo-nitb-scripts
osmo-nitb-scripts copied to clipboard
Error when starting main.py
I tried to install this on my Ubuntu 18.04 machine and LimeSDR Mini. But I always got this kind of error
`root@user:~/osmo-nitb-scripts# sudo ./main.py [*] Checking for SDR device.. [+] Found device: * [LimeSDR Mini, media=USB 3.0, module=FT601, addr=24607:1027, serial=xxxxx]
Unit osmocom-nitb.service could not be found. kernel.sched_rt_runtime_us = -1 [+] starting osmo-nitb.service ... [+] starting osmo-trx-lms.service ... [+] starting osmo-bts-trx.service ... Somethigs wrong with osmo-nitb.service, see journalctl -b -S 17:11:17 -u osmo-nitb.service Unit osmocom-nitb.service could not be found. `
Sep 12 17:19:45 base osmo-nitb[3110]: Error occurred during reading below line: Sep 12 17:19:45 base osmo-nitb[3110]: subscriber-create-on-demand random 100 199 Sep 12 17:19:45 base osmo-nitb[3110]: <0005> bsc_init.c:494 Failed to parse the config file: '/etc/osmocom/osmo-nitb.cfg' Sep 12 17:19:45 base systemd[1]: osmo-nitb.service: Main process exited, code=exited, status=1/FAILURE Sep 12 17:19:45 base systemd[1]: osmo-nitb.service: Failed with result 'exit-code'.
This is for osmocom debian10 repository, the error says "osmocom-nitb.service could not be found", to installing osmocom-nitb from repository we need libosmocore12 that dose not exist in repository, same problem i have.
Hello, you can try another repo from here https://osmocom.org/projects/cellular-infrastructure/wiki/Latest_Builds Or just build osmo-nitb and configure it as a systemd service
tell me what this error can be connected with? Ubuntu 18.04
osmo@osmo:~/osmo-nitb-scripts$ sudo ./main.py [*] Checking for SDR device.. [+] Found device: * [LimeSDR-USB, media=USB 2.0, module=FX3, addr=1d50:6108, serial=00090726074F1A1B]
Unit osmocom-nitb.service could not be found.
kernel.sched_rt_runtime_us = -1
[+] starting osmo-nitb.service ...
[+] starting osmo-trx-lms.service ...
[+] starting osmo-bts-trx.service ...
[+] Done
Traceback (most recent call last):
File "./main.py", line 196, in
I tried to install this on my Ubuntu 18.04 machine and LimeSDR Mini. But I always got this kind of error
`root@user:~/osmo-nitb-scripts# sudo ./main.py [*] Checking for SDR device.. [+] Found device: * [LimeSDR Mini, media=USB 3.0, module=FT601, addr=24607:1027, serial=xxxxx]
Unit osmocom-nitb.service could not be found. kernel.sched_rt_runtime_us = -1 [+] starting osmo-nitb.service ... [+] starting osmo-trx-lms.service ... [+] starting osmo-bts-trx.service ... Somethigs wrong with osmo-nitb.service, see journalctl -b -S 17:11:17 -u osmo-nitb.service Unit osmocom-nitb.service could not be found. `
Sep 12 17:19:45 base osmo-nitb[3110]: Error occurred during reading below line: Sep 12 17:19:45 base osmo-nitb[3110]: subscriber-create-on-demand random 100 199 Sep 12 17:19:45 base osmo-nitb[3110]: <0005> bsc_init.c:494 Failed to parse the config file: '/etc/osmocom/osmo-nitb.cfg' Sep 12 17:19:45 base systemd[1]: osmo-nitb.service: Main process exited, code=exited, status=1/FAILURE Sep 12 17:19:45 base systemd[1]: osmo-nitb.service: Failed with result 'exit-code'.
in the line: subscriber-create-on-demand random 100 199 remove random 100 199
Unit osmocom-nitb.service could not be found
There is no systemctl nitb service in you system, so osmo-nitb did not start and didn't create a hlr.db.
I would not advise to use this script because it uses legacy osmocom infrastructure. It is better to install new osmocom stack with splitted hlr, msc and bsc with new features and wrap all this stuff to bash script, that will start it
Unit osmocom-nitb.service could not be found
There is no systemctl nitb service in you system, so osmo-nitb did not start and didn't create a hlr.db.
Ubuntu 18.04 clean my program starts with this line Unit osmocom-nitb.service could not be found. kernel.sched_rt_runtime_us = -1 [+] starting osmo-nitb.service ... [+] starting osmo-trx-lms.service ... [+] starting osmo-bts-trx.service ... [+] Done Then the window changes and the data appears, so it was a month ago, now with a new installation and when changing a window, I see an error. And really osmo-nitb doesn't start. Apparently the packages were broken. I tried installing modules manually, I get a working program, there are calls, a request for my number, NO SMS SENDING. I also installed the last version of the modules and approximately the same when your project was still being assembled, the result is the same, everything works except SMS. Question: Maybe I don't connect all modules? LimeSuite ibosmocore osmo-abis osmo-netif osmo-bts libsmpp34 openbsc osmo-trx osmo-ggsn osmo-ggsn osmo-pcu osmo-hlr osmo-sgsn osmo-sip-connector Everything is assembled without errors, your configs.