Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iot2: grafana-service service doesn't start automatically #56

Open
tingox opened this issue Oct 12, 2018 · 3 comments
Open

iot2: grafana-service service doesn't start automatically #56

tingox opened this issue Oct 12, 2018 · 3 comments
Assignees

Comments

@tingox
Copy link
Contributor

tingox commented Oct 12, 2018

iot2 got rebooted last night (because the host got rebooted). Today I see that Grafan isn't running on the welcome screen.
The reason is obvious:

tingo@iot2:~$ systemctl status grafana-server
● grafana-server.service - Grafana instance
   Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: http://docs.grafana.org
@tingox tingox self-assigned this Oct 12, 2018
@tingox
Copy link
Contributor Author

tingox commented Oct 12, 2018

enable grafana-server.service

Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable grafana-server
Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /usr/lib/systemd/system/grafana-server.service.

and start it

tingo@iot2:~$ sudo systemctl start grafana-server

@trygvis
Copy link
Contributor

trygvis commented Oct 12, 2018

This should be put in Ansible too, it is supposed to control the state of the services.

@tingox
Copy link
Contributor Author

tingox commented Oct 12, 2018

I agree, we should fix that someday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants