Hi,
MY influxdb can’t start when i reboot my Debian.
Here is my log.:
influxdb.service - InfluxDB is an open-source, distributed, time series database
Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-04-21 13:29:04 CEST; 3s ago
Docs: InfluxDB OSS 2.6 Documentation
Process: 20461 ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS (code=exited, satus=1/FAILURE)
Main PID: 20461 (code=exited, status=1/FAILURE)
ápr 21 13:29:04 hassnas systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart.
ápr 21 13:29:04 hassnas systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
ápr 21 13:29:04 hassnas systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
ápr 21 13:29:04 hassnas systemd[1]: influxdb.service: Start request repeated too quickly.
ápr 21 13:29:04 hassnas systemd[1]: influxdb.service: Failed with result ‘exit-code’.
ápr 21 13:29:04 hassnas systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
Here is my journalctl -xe -u influxdb output.:
root@hassnas:~# journalctl -xe -u influxdb
– Support: hxxps://www.debian.org/support
– A start job for unit influxdb.service has finished successfully.
The job identifier is 4235.
ápr 21 13:29:04 hassnas influxd[20461]: ts=2020-04-21T11:29:04.449557Z lvl=info msg=“InfluxDB starting” log_id=0MJ7pDlG000 version=1.8.0 branch=1.8 commit=781490de48220d7695a05c29e5a36f550a4568f5
ápr 21 13:29:04 hassnas influxd[20461]: ts=2020-04-21T11:29:04.449600Z lvl=info msg=“Go runtime” log_id=0MJ7pDlG000 version=go1.13.8 maxprocs=4
ápr 21 13:29:04 hassnas influxd[20461]: ts=2020-04-21T11:29:04.552890Z lvl=info msg=“Using data dir” log_id=0MJ7pDlG000 service=store path=/srv/hdd1/hassiodb/influxdb/data
ápr 21 13:29:04 hassnas influxd[20461]: ts=2020-04-21T11:29:04.552989Z lvl=info msg=“Compaction settings” log_id=0MJ7pDlG000 service=store max_concurrent_compactions=2 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
ápr 21 13:29:04 hassnas influxd[20461]: ts=2020-04-21T11:29:04.553069Z lvl=info msg=“Open store (start)” log_id=0MJ7pDlG000 service=store trace_id=0MJ7pEAG000 op_name=tsdb_open op_event=start
ápr 21 13:29:04 hassnas influxd[20461]: ts=2020-04-21T11:29:04.553208Z lvl=info msg=“Open store (end)” log_id=0MJ7pDlG000 service=store trace_id=0MJ7pEAG000 op_name=tsdb_open op_event=end op_elapsed=0.143ms
ápr 21 13:29:04 hassnas influxd[20461]: run: open server: open tsdb store: mkdir /srv/hdd1/hassiodb/influxdb/data/_internal/_series: permission denied
ápr 21 13:29:04 hassnas systemd[1]: influxdb.service: Main process exited, code=exited, status=1/FAILURE
– Subject: Unit process exited
– Defined-By: systemd
– Support: hxxps://www.debian.org/support
– An ExecStart= process belonging to unit influxdb.service has exited.
– The process’ exit code is ‘exited’ and its exit status is 1.
ápr 21 13:29:04 hassnas systemd[1]: influxdb.service: Failed with result ‘exit-code’.
– Subject: Unit failed
– Defined-By: systemd
– Support: hxxps://www.debian.org/support
– The unit influxdb.service has entered the ‘failed’ state with result ‘exit-code’.
ápr 21 13:29:04 hassnas systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart.
ápr 21 13:29:04 hassnas systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
– Subject: Automatic restarting of a unit has been scheduled
– Defined-By: systemd
– Support: hxxps://www.debian.org/support
– Automatic restarting of the unit influxdb.service has been scheduled, as the result for
– the configured Restart= setting for the unit.
ápr 21 13:29:04 hassnas systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
– Subject: A stop job for unit influxdb.service has finished
– Defined-By: systemd
– Support: hxxps://www.debian.org/support
– A stop job for unit influxdb.service has finished.
– The job identifier is 4293 and the job result is done.
ápr 21 13:29:04 hassnas systemd[1]: influxdb.service: Start request repeated too quickly.
ápr 21 13:29:04 hassnas systemd[1]: influxdb.service: Failed with result ‘exit-code’.
– Subject: Unit failed
– Defined-By: systemd
– Support: hxxps://www.debian.org/support
– The unit influxdb.service has entered the ‘failed’ state with result ‘exit-code’.
ápr 21 13:29:04 hassnas systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.
– Subject: A start job for unit influxdb.service has failed
– Defined-By: systemd
– Support: hxxps://www.debian.org/support
– A start job for unit influxdb.service has finished with a failure.
– The job identifier is 4293 and the job result is failed.
influx
Failed to connect to hxxp://localhost:8086: Get hxxp://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
Please check your connection settings and ensure ‘influxd’ is running.
Can you help me anybody how can I solve this problem?
Thank You for the support.
Best Regard Zsolt