Services don't start after changing to Raspberry Pi zero W


#1

Hi,

I have a stable version of all modules that compose LoraServer running in my Raspberry Pi 3. I have done a lot of tests and got to a point that I considered good for my application.

Then, I have decided to migrate my gateway to a Raspberry Pi zero W, which is better to me in terms of size and price. I am using the same SD Card that I was using before, with the other version of Raspberry, once the images are compatible among the boards’ versions.

But now, the services of loraserver, lora-app-server and lora-gateway-bridge are not executing when the system boot. Not only this, but also when I try to start it manually. This is the return that I obtain using the command journalctl -u loraserver -f, after execute sudo systemctl start loraserver:

Nov 26 16:25:44 raspberrypi systemd[1]: Started LoRa Server.
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Main process exited, code=killed, status=4/ILL
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Unit entered failed state.
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Failed with result ‘signal’.
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Service hold-off time over, scheduling restart.
Nov 26 16:25:44 raspberrypi systemd[1]: Stopped LoRa Server.
Nov 26 16:25:44 raspberrypi systemd[1]: Started LoRa Server.
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Main process exited, code=killed, status=4/ILL
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Unit entered failed state.
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Failed with result ‘signal’.
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Service hold-off time over, scheduling restart.
Nov 26 16:25:44 raspberrypi systemd[1]: Stopped LoRa Server.
Nov 26 16:25:44 raspberrypi systemd[1]: Started LoRa Server.
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Main process exited, code=killed, status=4/ILL
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Unit entered failed state.
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Failed with result ‘signal’.
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Service hold-off time over, scheduling restart.
Nov 26 16:25:44 raspberrypi systemd[1]: Stopped LoRa Server.
Nov 26 16:25:44 raspberrypi systemd[1]: Started LoRa Server.
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Main process exited, code=killed, status=4/ILL
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Unit entered failed state.
Nov 26 16:25:44 raspberrypi systemd[1]: loraserver.service: Failed with result ‘signal’.
Nov 26 16:25:45 raspberrypi systemd[1]: loraserver.service: Service hold-off time over, scheduling restart.
Nov 26 16:25:45 raspberrypi systemd[1]: Stopped LoRa Server.
Nov 26 16:25:45 raspberrypi systemd[1]: Started LoRa Server.
Nov 26 16:25:45 raspberrypi systemd[1]: loraserver.service: Main process exited, code=killed, status=4/ILL
Nov 26 16:25:45 raspberrypi systemd[1]: loraserver.service: Unit entered failed state.
Nov 26 16:25:45 raspberrypi systemd[1]: loraserver.service: Failed with result ‘signal’.
Nov 26 16:25:45 raspberrypi systemd[1]: loraserver.service: Service hold-off time over, scheduling restart.
Nov 26 16:25:45 raspberrypi systemd[1]: Stopped LoRa Server.
Nov 26 16:25:45 raspberrypi systemd[1]: loraserver.service: Start request repeated too quickly.
Nov 26 16:25:45 raspberrypi systemd[1]: Failed to start LoRa Server.
Nov 26 16:25:45 raspberrypi systemd[1]: loraserver.service: Unit entered failed state.
Nov 26 16:25:45 raspberrypi systemd[1]: loraserver.service: Failed with result ‘signal’.

The same result is obtained when I try to start lora-app-server and lora-gateway-bridge too.

Is there some other configuration that I have to do? Does raspberry pi zero have the requisites needed to run LoraServer and all modules?

Thanks in advance


#2

If you were using a Pi 3 you’d most likely have armhf packages installed. The pi 3 uses a newer arm core (v7 ISA). The pi zero uses the original arm core from the first Pi, which is only Arm V6.

I’d check to see if your binaries are for the right architecture (armel) which has support for older CPUs