NEWS
influxdb keine verbindung nach update
-
kann mir jemand helfen meine verbindung zu influxdb wieder herzustellen? hab iobroker und influxdb auf einem debian system laufen das ich vor kurzen geupdatet hab. nun bekomme ich von iobroker immer fehler no connection to db. das kommandozeilenwerkzeug influx geht auch nicht "kommando nicht gefunden". status sagt influxdb läuft
-
ich hab auch leider das problem mit Influx nach pi update (apt-update/upgrade) keine Verbindung mehr habe...
Folgendes kann ich mit euch teilen,
pi@raspberrypi:~ $ influx Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused Please check your connection settings and ensure 'influxd' is running.
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.
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 Tue 2021-08-31 00:54:31 CEST; 3s ago Docs: https://docs.influxdata.com/influxdb/ Cntrl PID: 939 (influxd-systemd) Tasks: 14 (limit: 4915) CGroup: /system.slice/influxdb.service ├─ 939 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh ├─ 940 /usr/bin/influxd -config /etc/influxdb/influxdb.conf └─1002 sleep 1 Aug 31 00:54:33 raspberrypi influxd-systemd-start.sh[939]: ts=2021-08-30T22:54:33.061547Z lvl=info msg="Opened file" log_id=0WIKBPEG000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/iobroker/autogen/7/000000008-000000002.tsm id=0 duration=0.236ms Aug 31 00:54:33 raspberrypi influxd-systemd-start.sh[939]: ts=2021-08-30T22:54:33.122998Z lvl=info msg="Opened shard" log_id=0WIKBPEG000 service=store trace_id=0WIKBPcl000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/iobroker/autogen/63 duration=69.967ms Aug 31 00:54:33 raspberrypi influxd-systemd-start.sh[939]: ts=2021-08-30T22:54:33.124558Z lvl=info msg="Opened file" log_id=0WIKBPEG000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/iobroker/autogen/71/000000001-000000001.tsm id=0 duration=0.208ms Aug 31 00:54:33 raspberrypi influxd-systemd-start.sh[939]: ts=2021-08-30T22:54:33.130074Z lvl=info msg="Opened shard" log_id=0WIKBPEG000 service=store trace_id=0WIKBPcl000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/iobroker/autogen/7 duration=69.655ms Aug 31 00:54:33 raspberrypi influxd-systemd-start.sh[939]: ts=2021-08-30T22:54:33.132024Z lvl=info msg="Opened file" log_id=0WIKBPEG000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/iobroker/autogen/79/000000001-000000001.tsm id=0 duration=0.285ms Aug 31 00:54:33 raspberrypi influxd-systemd-start.sh[939]: ts=2021-08-30T22:54:33.164421Z lvl=info msg="Opened shard" log_id=0WIKBPEG000 service=store trace_id=0WIKBPcl000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/iobroker/autogen/71 duration=41.259ms Aug 31 00:54:33 raspberrypi influxd-systemd-start.sh[939]: ts=2021-08-30T22:54:33.167412Z lvl=info msg="Opened file" log_id=0WIKBPEG000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/iobroker/autogen/87/000000001-000000001.tsm id=0 duration=0.203ms Aug 31 00:54:33 raspberrypi influxd-systemd-start.sh[939]: ts=2021-08-30T22:54:33.184480Z lvl=info msg="Opened shard" log_id=0WIKBPEG000 service=store trace_id=0WIKBPcl000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/iobroker/autogen/79 duration=53.931ms Aug 31 00:54:33 raspberrypi influxd-systemd-start.sh[939]: ts=2021-08-30T22:54:33.245503Z lvl=info msg="Opened shard" log_id=0WIKBPEG000 service=store trace_id=0WIKBPcl000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/iobroker/autogen/87 duration=80.233ms Aug 31 00:54:33 raspberrypi influxd-systemd-start.sh[939]: ts=2021-08-30T22:54:33.253657Z lvl=info msg="Opened shard" log_id=0WIKBPEG000 service=store trace_id=0WIKBPcl000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/iobroker/autogen/407 duration=267.183ms pi@raspberrypi:~ $
-
@canim sagte in influxdb keine verbindung nach update:
Active: activating
Aber nicht aktiv
Es gibt hier schon mehrere Threads incl Lösung
https://forum.iobroker.net/post/662050 -
@crunchip vielen vielen dank!
Es lag einfach an der Zeile Sleep 1 auf 10
wer jemand das gleiche problem hat
sudo nano /usr/lib/influxdb/scripts/influxd-systemd-start.sh
etwas weite runter
zeile "sleep 1 auf 10 ändern"
danach den befehl
sudo systemctl restart influxdb.service