I have tried running grafana on a Raspberry Pi Model B Rev 2. Installation was successful but when trying to start it up the start up fails. I can’t get to the Dashboard at port 3000.
/var/log/syslog contains the following entries:
Jul 3 08:53:21 openHABianPi systemd[1]: Stopped Grafana instance.
Jul 3 08:53:21 openHABianPi systemd[1]: Started Grafana instance.
Jul 3 08:53:21 openHABianPi systemd[1]: grafana-server.service: Main process exited, code=killed, status=4/ILL
Jul 3 08:53:21 openHABianPi systemd[1]: grafana-server.service: Unit entered failed state.
Jul 3 08:53:21 openHABianPi systemd[1]: grafana-server.service: Failed with result ‘signal’.
Jul 3 08:53:21 openHABianPi systemd[1]: grafana-server.service: Service hold-off time over, scheduling restart.
Jul 3 08:53:21 openHABianPi systemd[1]: Stopped Grafana instance.
Jul 3 08:53:21 openHABianPi systemd[1]: Started Grafana instance.
Jul 3 08:53:21 openHABianPi systemd[1]: grafana-server.service: Main process exited, code=killed, status=4/ILL
Jul 3 08:53:21 openHABianPi systemd[1]: grafana-server.service: Unit entered failed state.
Jul 3 08:53:21 openHABianPi systemd[1]: grafana-server.service: Failed with result ‘signal’.
Jul 3 08:53:22 openHABianPi systemd[1]: grafana-server.service: Service hold-off time over, scheduling restart.
Jul 3 08:53:22 openHABianPi systemd[1]: Stopped Grafana instance.
Jul 3 08:53:22 openHABianPi systemd[1]: grafana-server.service: Start request repeated too quickly.
Jul 3 08:53:22 openHABianPi systemd[1]: Failed to start Grafana instance.
Jul 3 08:53:22 openHABianPi systemd[1]: grafana-server.service: Unit entered failed state.
Jul 3 08:53:22 openHABianPi systemd[1]: grafana-server.service: Failed with result ‘signal’.
Jul 3 08:53:46 openHABianPi systemd[1]: Reloading.
I can’t pass systemctl daemon-reload it ask for a password, I enter my system password and that’s what I get:
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
Failed to reload daemon: Access denied
Is it the same password has for login into a session by SSH?
I’ve seen this error too. The error is a result of trying to use your ARMv7 binary on ARMv6. All the quad-core Pi’s (2, 3 and 3+) are v7 while the single-core (A, B, and Zero) are v6. Installation works fine since Raspbian is “armhf”, however the binary will get a SIGKILL due to illegal instructions.
Could you please make the binary ARMv6 compatible to allow use on all Raspberry Pi’s? It’s as easy as adding GOARM=6 to your build environment. I believe the performance won’t be affected much (as all of Raspbian, the official Pi OS, is built that way). The former fg2it binaries were built that way too, however he has discontinued updates after official binaries for ARM became available.
This is an old thread but I keep hitting this one when I try to install Grafana on a PiZero. For anyone with the same issue you need to install the correct version for your PI. For a PI Zero (first gen) go here and use the ARMv6 version, second from the top. This likely also applies to the first gen PIs.