Systemd: Failed to start Grafana instance

Hey there,
I have installed Grafana according to your install instructions from

on my Raspberry Pi 1B
with Raspian Buster Lite installed:

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.57+ #1244 Thu Jul 4 18:42:50 BST 2019 armv6l GNU/Linux

pi@raspberrypi:~ $ systemctl status grafana-server.service
● grafana-server.service - Grafana instance
Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Tue 2019-08-13 18:02:19 BST; 23min ago
Docs: http://docs.grafana.org
Process: 398 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidfile=${PID_FILE_DIR}/grafana-server.pid --packaging=deb cfg:default.pa
Main PID: 398 (code=killed, signal=SEGV)
Aug 13 18:02:19 raspberrypi systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart.
Aug 13 18:02:19 raspberrypi systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 5.
Aug 13 18:02:19 raspberrypi systemd[1]: Stopped Grafana instance.
Aug 13 18:02:19 raspberrypi systemd[1]: grafana-server.service: Start request repeated too quickly.
Aug 13 18:02:19 raspberrypi systemd[1]: grafana-server.service: Failed with result ‘signal’.
Aug 13 18:02:19 raspberrypi systemd[1]: Failed to start Grafana instance.

The log file of Grafana does not exist:

pi@raspberrypi:~ $ ls -a /var/log/grafana/
. …

Anyone a idea what I can do?

Run in one terminal
tail -f /var/log/syslog
and in another restart grafana
sudo systemctl start grafana-server
hopefully you will see the problem in syslog.

1 Like

@chileshe did that help?

sorry I have had no access to my pi for some days, as I have been away from home.
I do not see any information that would help me.

Aug 18 10:21:59 raspberrypi systemd[1]: Started Grafana instance.
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Main process exited, code=killed, status=11/SEGV
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Failed with result ‘signal’.
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart.
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 1.
Aug 18 10:21:59 raspberrypi systemd[1]: Stopped Grafana instance.
Aug 18 10:21:59 raspberrypi systemd[1]: Started Grafana instance.
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Main process exited, code=killed, status=11/SEGV
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Failed with result ‘signal’.
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart.
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 2.
Aug 18 10:21:59 raspberrypi systemd[1]: Stopped Grafana instance.
Aug 18 10:21:59 raspberrypi systemd[1]: Started Grafana instance.
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Main process exited, code=killed, status=11/SEGV
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Failed with result ‘signal’.
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart.
Aug 18 10:21:59 raspberrypi systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 3.
Aug 18 10:21:59 raspberrypi systemd[1]: Stopped Grafana instance.
Aug 18 10:22:00 raspberrypi systemd[1]: Started Grafana instance.
Aug 18 10:22:00 raspberrypi systemd[1]: grafana-server.service: Main process exited, code=killed, status=11/SEGV
Aug 18 10:22:00 raspberrypi systemd[1]: grafana-server.service: Failed with result ‘signal’.
Aug 18 10:22:00 raspberrypi systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart.
Aug 18 10:22:00 raspberrypi systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 4.
Aug 18 10:22:00 raspberrypi systemd[1]: Stopped Grafana instance.
Aug 18 10:22:00 raspberrypi systemd[1]: Started Grafana instance.
Aug 18 10:22:00 raspberrypi systemd[1]: grafana-server.service: Main process exited, code=killed, status=11/SEGV
Aug 18 10:22:00 raspberrypi systemd[1]: grafana-server.service: Failed with result ‘signal’.
Aug 18 10:22:00 raspberrypi systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart.
Aug 18 10:22:00 raspberrypi systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 5.
Aug 18 10:22:00 raspberrypi systemd[1]: Stopped Grafana instance.
Aug 18 10:22:00 raspberrypi systemd[1]: grafana-server.service: Start request repeated too quickly.
Aug 18 10:22:01 raspberrypi systemd[1]: grafana-server.service: Failed with result ‘signal’.
Aug 18 10:22:01 raspberrypi systemd[1]: Failed to start Grafana instance.

What happens if you run in a terminal
grafana-server

pi@raspberrypi:~ $ grafana-server
Segmentation fault

That’s not good, obviously. What about
apt policy grafana

[Edit] I presume you have already done
sudo apt update && sudo apt full-upgrade
and rebooted.

The full-upgrade didn’t help.

pi@raspberrypi:~ $ apt policy grafana
grafana:
Installed: 6.3.3
Candidate: 6.3.3
Version table:
*** 6.3.3 500
500 https://packages.grafana.com/oss/deb stable/main armhf Packages
100 /var/lib/dpkg/status
6.3.2 500
As I am a new user I can’t put in more than 2 hyperlinks. But I think this will do
2.6.0+dfsg-3+b1 500
500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

As the raspberrypi 1B runns on a ARMv6 processor which the offical Grafana repository does not support.
See:
https://localhost:3000/t/grafana-does-not-run-on-raspberry-pi-model-b-rev-2/5232

Man, this one is really something great! One always can use this method to find any bug anywhere, and really, it helped me a lot. Thanks