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

[0.9.3] Service fails to start on Ubuntu 15.04 #3989

Closed
francisdb opened this issue Sep 4, 2015 · 4 comments
Closed

[0.9.3] Service fails to start on Ubuntu 15.04 #3989

francisdb opened this issue Sep 4, 2015 · 4 comments
Assignees
Milestone

Comments

@francisdb
Copy link

Just did a clean install on a new VM with Ubuntu 15.04
Starting the service fails:

sudo service influxdb start
Failed to start influxdb.service: Unit influxdb.service failed to load: No such file or directory.

Same issue with telegraf 0.1.7

This is probably related to systemd having replaced Upstart as the standard boot and service manager on Ubuntu 15.04

@beckettsean
Copy link
Contributor

confirmed I get the same error for both packages on Ubuntu 15.04:

root@sean-15:~# sudo service influxdb start
Failed to start influxdb.service: Unit influxdb.service failed to load: No such file or directory.
root@sean-15:~# sudo service telegraf start
Failed to start telegraf.service: Unit telegraf.service failed to load: No such file or directory.

@francisdb I was able to start both services just fine with /etc/init.d/influxdb start and /etc/init.d/telegraf start. I hope that workaround is sufficient for now.

@francisdb
Copy link
Author

@beckettsean workaround indeed works but of course annoying in case the server goes down...

@sparrc
Copy link
Contributor

sparrc commented Sep 9, 2015

@francisdb I have a PR up to fix this, but you'll also have to note that Ubuntu 15.04+ uses systemd instead of sysv for daemons, so service influxdb start becomes systemctl start influxdb

sparrc added a commit that referenced this issue Sep 9, 2015
@francisdb
Copy link
Author

thanks for looking into this and the tip on the use of systemctl

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

No branches or pull requests

4 participants