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

Error: ERROR: [main] failed to start the concentrator #91

Open
heydemar opened this issue Aug 31, 2022 · 1 comment
Open

Error: ERROR: [main] failed to start the concentrator #91

heydemar opened this issue Aug 31, 2022 · 1 comment

Comments

@heydemar
Copy link

heydemar commented Aug 31, 2022

Hello,
After my SD card crashed, I had to set up my LORAWAN Gateway again and followed the instructions as before, but unfortunately I now get the following error message when I look at the status with the following command (SPI is on):

sudo journalctl -u ttn-gateway -f


Aug 31 10:58:27 LORAWAN ttn-gateway[2280]: INFO: [main] Starting the concentrator
Aug 31 10:58:27 LORAWAN ttn-gateway[2280]: ERROR: [main] failed to start the concentrator
Aug 31 10:58:27 LORAWAN systemd[1]: ttn-gateway.service: Main process exited, code=exited, status=1/FAILURE
Aug 31 10:58:27 LORAWAN systemd[1]: ttn-gateway.service: Failed with result 'exit-code'.
Aug 31 10:58:32 LORAWAN systemd[1]: ttn-gateway.service: Scheduled restart job, restart counter is at 24.
Aug 31 10:58:32 LORAWAN systemd[1]: Stopped The Things Network Gateway.
Aug 31 10:58:32 LORAWAN systemd[1]: Started The Things Network Gateway.

That's the result of: service ttn-gateway status

pi@LORAWAN:/opt/ttn-gateway/bin $ service ttn-gateway status
● ttn-gateway.service - The Things Network Gateway
Loaded: loaded (/lib/systemd/system/ttn-gateway.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2022-08-31 11:27:43 CEST; 4s ago
Process: 9223 ExecStart=/opt/ttn-gateway/bin/start.sh (code=exited, status=1/FAILURE)
Main PID: 9223 (code=exited, status=1/FAILURE)
CPU: 618ms

Aug 31 11:27:43 LORAWAN systemd[1]: ttn-gateway.service: Main process exited, code=exited, status=1/FAILURE
Aug 31 11:27:43 LORAWAN systemd[1]: ttn-gateway.service: Failed with result 'exit-code'.

@marcobrianza
Copy link

I fixed the issue enabling SPI

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

2 participants