Alloy Service cannot start raspberrypi 4

Hello Everyone. I have issues installing the alloy service by following this manual: Grafana

I have run the terminal command to install the alloy service and it looks successful. But the service cannot start. I get the following error via journalctl:

Nov 13 15:35:56 raspberrypi systemd[1]: Started alloy.service - Vendor-agnostic OpenTelemetry Collector distribution with programmable pipelines.
Nov 13 15:35:56 raspberrypi (alloy)[2204]: alloy.service: Failed to execute /usr/bin/alloy: No such file or directory
Nov 13 15:35:56 raspberrypi (alloy)[2204]: alloy.service: Failed at step EXEC spawning /usr/bin/alloy: No such file or directory
Nov 13 15:35:56 raspberrypi systemd[1]: alloy.service: Main process exited, code=exited, status=203/EXEC

The file /usr/bin/alloy exists. If i try to run it directly from the terminal I get:

root@raspberrypi.local:/usr/bin# alloy
bash: /usr/bin/alloy: cannot execute: required file not found

Any ideas what to check? thanks a lot.

2 Likes

Still an issue. Alloy won’t start, but the file definitly is there. Not sure what’s going on.

$ file /usr/bin/alloy
/usr/bin/alloy: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=52df53700ff7db82279dcba8f5437ea1b1e4083a, for GNU/Linux 3.7.0, stripped
$ uname -a
Linux raspberrypi 6.12.35-v8+ #1891 SMP PREEMPT Mon Jun 30 15:33:03 BST 2025 aarch64 GNU/Linux

My best guess is that Alloy just isn’t compatible with Raspberry Pi, which is frustrating because Agents should run on as many machines as possible.

Edit: related issue on Github asking to introduce support for older ARM platforms: Reintroduce grafana-agent for armhf? · Issue #302 · grafana/alloy · GitHub

It’s not ideal, but you could try using Docker to run alloy on raspberry pi.

I wish it would be that easy, but the Docker image is not available as linux/arm/v7 or inux/arm/v8. That’s why I tried using the service and ended up here. Only option would be setting up emulation. But honestly, that’s way too much work to get Alloy running already.

I ended up setting up Node Exporter myself and grab the data from my other server.