Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: getsockopt: connection refused Please check your connection settings and ensure 'influxd' is running.

#1

influx
Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp 127.0.0.1:8086: getsockopt: connection refused
Please check your connection settings and ensure ‘influxd’ is running.
ubuntu@ubuntu:~$ sudo systemctl status influxd
● influxdb.service - InfluxDB is an open-source, distributed, time series database
Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Fri 2017-12-15 15:42:15 CST; 7min ago
Docs: https://docs.influxdata.com/influxdb/
Process: 41197 ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS (code=ex
Main PID: 41197 (code=exited, status=1/FAILURE)

Dec 15 15:42:15 ubuntu systemd[1]: influxdb.service: Main process exited, code=exited, status=1/FAILUR
Dec 15 15:42:15 ubuntu systemd[1]: influxdb.service: Unit entered failed state.
Dec 15 15:42:15 ubuntu systemd[1]: influxdb.service: Failed with result ‘exit-code’.
Dec 15 15:42:15 ubuntu systemd[1]: influxdb.service: Service hold-off time over, scheduling restart.
Dec 15 15:42:15 ubuntu systemd[1]: Stopped InfluxDB is an open-source, distributed, time series databa
Dec 15 15:42:15 ubuntu systemd[1]: influxdb.service: Start request repeated too quickly.
Dec 15 15:42:15 ubuntu systemd[1]: Failed to start InfluxDB is an open-source, distributed, time serie
…skipping…