Grafana Uninstallation

Hello Team,

I already had grafana [6.3.3] installed in my RED Hat Linux server. But, recently I updated it to 9.4.1. But, after that when I am trying to start the service [sudo systemctl start grafana-server] , it is giving me the following error:
Job for grafana-server.service failed. See “systemctl status grafana-server.service” and “journalctl -xe” for details.

Where as if I try to start the service manually, [sudo /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --homepath=/usr/share/grafana] it works and site is up and running with updated version. [which is definitely not recommended]

So, now the problem is if the server gets rebooted, I have to run the command manually again every time to make the site up and running.

Could you please help me out on this.


You said the message you get is:

Job for grafana-server.service failed. See “systemctl status grafana-
server.service” and “journalctl -xe” for details.

What does running those commands tell you?


grafana-server.service - LSB: Start grafana at boot time
Loaded: loaded (/etc/rc.d/init.d/grafana-server; bad; vendor preset: disabled)
Active: failed (Result: protocol) since Mon 2023-04-03 08:08:52 EDT; 37min ago
Docs: man:systemd-sysv-generator(8)
Process: 6997 ExecStart=/etc/rc.d/init.d/grafana-server start (code=exited, status=0/SUCCESS)
Main PID: 16153 (code=exited, status=1/FAILURE)

Apr 03 08:08:45 [SERVER] systemd[1]: Starting LSB: Start grafana at boot time…
Apr 03 08:08:45 [SERVER] su[7007]: (to grafana) root on none
Apr 03 08:08:46 [SERVER] grafana-server[6997]: Starting Grafana Server: … [ OK ]
Apr 03 08:08:52 [SERVER] systemd[1]: Can’t open PID file /var/run/ (yet?) after start: No such file or directory
Apr 03 08:08:52 [SERVER] systemd[1]: Failed to start LSB: Start grafana at boot time.
Apr 03 08:08:52 [SERVER] systemd[1]: Unit grafana-server.service entered failed state.
Apr 03 08:08:52 [SERVER] systemd[1]: grafana-server.service failed.

Should I re-install with existing DB, plugins and .ini files? If yes, please guide me