Why do I get this?
It did run for a few days without problems and didn’t change anything but today I got this error.
Already tried this without success:
- bash - Why influxdb fails to start? - Stack Overflow
-
sudo chown -R influxdb:influxdb /usr/lib/influxdb
(Raspberry Pi 4 install issue) - Reinstalling it with:
sudo apt-get purge --auto-remove influxdb
pi@raspberrypi:~ $ sudo service influxdb start
Job for influxdb.service failed because the control process exited with error code.
See "systemctl status influxdb.service" and "journalctl -xe" for details.
Message after: "pi@raspberrypi:~ $ systemctl status influxdb.service"
● influxdb.service - InfluxDB is an open-source, distributed, time series database
Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
Active: activating (start) since Sun 2021-09-19 19:43:05 CEST; 8s ago
Docs: https://docs.influxdata.com/influxdb/
Cntrl PID: 9254 (influxd-systemd)
Tasks: 13 (limit: 2059)
CGroup: /system.slice/influxdb.service
├─9254 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh
├─9255 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
└─9310 sleep 1
Sep 19 19:43:05 raspberrypi influxd-systemd-start.sh[9254]: ts=2021-09-19T17:43:05.270434Z lvl=info msg="Reading file" log_id=0WgnJe6G000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/5/_00001.wal size=10493282
Sep 19 19:43:05 raspberrypi influxd-systemd-start.sh[9254]: ts=2021-09-19T17:43:05.273520Z lvl=info msg="Reading file" log_id=0WgnJe6G000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/GERRITSEN/autogen/2/_00001.wal size=10485860
Sep 19 19:43:05 raspberrypi influxd-systemd-start.sh[9254]: ts=2021-09-19T17:43:05.279293Z lvl=info msg="Opened file" log_id=0WgnJe6G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/3/000000002-000000002.tsm id=0 duration=0.748ms
Sep 19 19:43:05 raspberrypi influxd-systemd-start.sh[9254]: ts=2021-09-19T17:43:05.279143Z lvl=info msg="Opened file" log_id=0WgnJe6G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/1/000000001-000000001.tsm id=0 duration=3.442ms
Sep 19 19:43:05 raspberrypi influxd-systemd-start.sh[9254]: Merging with configuration at: /etc/influxdb/influxdb.conf
Sep 19 19:43:05 raspberrypi influxd-systemd-start.sh[9254]: ts=2021-09-19T17:43:05.455653Z lvl=info msg="Opened shard" log_id=0WgnJe6G000 service=store trace_id=0WgnJe70000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/1 duration=190.984ms
Sep 19 19:43:05 raspberrypi influxd-systemd-start.sh[9254]: ts=2021-09-19T17:43:05.455800Z lvl=info msg="Opened shard" log_id=0WgnJe6G000 service=store trace_id=0WgnJe70000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/3 duration=191.322ms
Sep 19 19:43:05 raspberrypi influxd-systemd-start.sh[9254]: ts=2021-09-19T17:43:05.465241Z lvl=info msg="Opened file" log_id=0WgnJe6G000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/4/000000002-000000002.tsm id=0 duration=6.642ms
Sep 19 19:43:05 raspberrypi influxd-systemd-start.sh[9254]: ts=2021-09-19T17:43:05.519226Z lvl=info msg="Opened shard" log_id=0WgnJe6G000 service=store trace_id=0WgnJe70000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/4 duration=63.331ms
Sep 19 19:43:09 raspberrypi influxd-systemd-start.sh[9254]: ts=2021-09-19T17:43:09.818889Z lvl=info msg="Reading file" log_id=0WgnJe6G000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/GERRITSEN/autogen/2/_00002.wal size=10485911
Message after: "pi@raspberrypi:~ $ journalctl -xe"
Sep 19 19:35:33 raspberrypi 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: https://www.debian.org/support
--
-- A start job for unit influxdb.service has finished with a failure.
--
-- The job identifier is 88952 and the job result is failed.
Sep 19 19:35:33 raspberrypi Node-RED[356]: 19 Sep 19:35:33 - [error] [influxdb out:e580d730.1349b8] Error: No host available
Sep 19 19:35:33 raspberrypi systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart.
Sep 19 19:35:33 raspberrypi systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 104.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://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.
Sep 19 19:35:33 raspberrypi 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: https://www.debian.org/support
--
-- A stop job for unit influxdb.service has finished.
--
-- The job identifier is 89009 and the job result is done.
Sep 19 19:35:33 raspberrypi systemd[1]: Starting InfluxDB is an open-source, distributed, time series database...
-- Subject: A start job for unit influxdb.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit influxdb.service has begun execution.
--
-- The job identifier is 89009.
Sep 19 19:35:33 raspberrypi influxd-systemd-start.sh[6560]: Merging with configuration at: /etc/influxdb/influxdb.conf
Sep 19 19:35:33 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:33.985206Z lvl=info msg="InfluxDB starting" log_id=0Wgmt6OG000 version=1.8.9 branch=1.8 commit=d9b56321d579
Sep 19 19:35:33 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:33.985332Z lvl=info msg="Go runtime" log_id=0Wgmt6OG000 version=go1.13.8 maxprocs=4
Sep 19 19:35:33 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:33.987695Z lvl=info msg="Using data dir" log_id=0Wgmt6OG000 service=store path=/var/lib/influxdb/data
Sep 19 19:35:33 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:33.987848Z lvl=info msg="Compaction settings" log_id=0Wgmt6OG000 service=store max_concurrent_compactions=2 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
Sep 19 19:35:33 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:33.987931Z lvl=info msg="Open store (start)" log_id=0Wgmt6OG000 service=store trace_id=0Wgmt6Ol000 op_name=tsdb_open op_event=start
Sep 19 19:35:34 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:34.006635Z lvl=info msg="Reading file" log_id=0Wgmt6OG000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/GERRITSEN/autogen/2/_00001.wal size=10485860
Sep 19 19:35:34 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:34.017570Z lvl=info msg="Opened file" log_id=0Wgmt6OG000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/3/000000002-000000002.tsm id=0 duration=0.516ms
Sep 19 19:35:34 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:34.017570Z lvl=info msg="Opened file" log_id=0Wgmt6OG000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/4/000000002-000000002.tsm id=0 duration=0.516ms
Sep 19 19:35:34 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:34.025045Z lvl=info msg="Reading file" log_id=0Wgmt6OG000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/5/_00001.wal size=10493282
Sep 19 19:35:34 raspberrypi influxd-systemd-start.sh[6560]: Merging with configuration at: /etc/influxdb/influxdb.conf
Sep 19 19:35:34 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:34.093425Z lvl=info msg="Opened shard" log_id=0Wgmt6OG000 service=store trace_id=0Wgmt6Ol000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/3 duration=79.392ms
Sep 19 19:35:34 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:34.095995Z lvl=info msg="Opened file" log_id=0Wgmt6OG000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/1/000000001-000000001.tsm id=0 duration=0.440ms
Sep 19 19:35:34 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:34.102241Z lvl=info msg="Opened shard" log_id=0Wgmt6OG000 service=store trace_id=0Wgmt6Ol000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/4 duration=87.414ms
Sep 19 19:35:34 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:34.199565Z lvl=info msg="Opened shard" log_id=0Wgmt6OG000 service=store trace_id=0Wgmt6Ol000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/1 duration=105.918ms
Sep 19 19:35:34 raspberrypi Node-RED[356]: 19 Sep 19:35:34 - [error] [influxdb out:e580d730.1349b8] Error: No host available
Sep 19 19:35:37 raspberrypi Node-RED[356]: 19 Sep 19:35:37 - [error] [influxdb out:e580d730.1349b8] Error: No host available
Sep 19 19:35:37 raspberrypi Node-RED[356]: 19 Sep 19:35:37 - [error] [influxdb out:e580d730.1349b8] Error: No host available
Sep 19 19:35:37 raspberrypi Node-RED[356]: 19 Sep 19:35:37 - [error] [influxdb out:e580d730.1349b8] Error: No host available
Sep 19 19:35:38 raspberrypi influxd-systemd-start.sh[6560]: ts=2021-09-19T17:35:38.575210Z lvl=info msg="Reading file" log_id=0Wgmt6OG000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/GERRITSEN/autogen/2/_00002.wal size=10485911
Sep 19 19:35:38 raspberrypi Node-RED[356]: 19 Sep 19:35:38 - [error] [influxdb out:e580d730.1349b8] Error: No host available
Sep 19 19:35:39 raspberrypi Node-RED[356]: 19 Sep 19:35:39 - [error] [influxdb out:e580d730.1349b8] Error: No host available
Sep 19 19:35:40 raspberrypi Node-RED[356]: 19 Sep 19:35:40 - [error] [influxdb out:e580d730.1349b8] Error: connect ECONNREFUSED 127.0.0.1:8086
Sep 19 19:35:41 raspberrypi Node-RED[356]: 19 Sep 19:35:41 - [error] [influxdb out:e580d730.1349b8] Error: No host available