NEWS
[ Geklärt ] Problem bei Influx Installation
-
@crunchip
Jetzt hat der influxdb.0 Adapter auf grün gewechselt.
Wenn ich aber auf "Verbindung testen" gehe,
gibt es keine Reaktion.
Ist das normal? -
@Altersrentner sagte in Problem bei Influx Installation:
Wenn ich aber auf "Verbindung testen" geh
im Iobroker? ja
-
@crunchip
ja im ioBroker.
Aber im Terminal wird immer noch "keine Verbindung" angezeigt.
Womit soll er sich dann auch verbinden?
Kann ich influxdb deinstallieren und neu aufsetzen?
Könnte das zu einer Lösung beitragen? -
@Altersrentner verstehe ich gerade nicht ganz was du meinst?
welche Verbindung funktioniert nicht? -
pi@raspberrypi:~ $ sudo 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:~ $
und die Ampel vom influxdb ist wieder auf gelb
-
@Altersrentner dann jetzt nochmal von vorne
- hast du irgend etwas anderes noch gemacht?
- was zeigt der status an, läuft influx?
-
@crunchip
Nein, ich habe nichts weiter gemacht,
Ampel ist jetzt wieder grün.pi@raspberrypi:~ $ sudo 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:~ $
-
@Altersrentner hiernach hat bei mir die Installation von influxb problemlos geklappt
-
Ich nehme immer die offizielle Herstellerseite --> H I E R
Da bin ich sicher immer alles aktuell zu haben und das das Setup auch klappt. Alles andere kann und meistens ist es auch so dann veraltet sein ! Das gibt nur Probleme
-
@Altersrentner ich wollte wissen, ob der status grün ist/bzw aktiv
-
@HAL
Hallo,
kann ich das so drüber installieren oder meine Installation löschen?
Aber wie!!
Danke -
Hatte ich leider übersehen, Entschuldigung
Neinpi@raspberrypi:~ $ sudo systemctl status influxdb ● 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 Sun 2020-12-20 18:04:01 CET; 13min ago Docs: https://docs.influxdata.com/influxdb/ Main PID: 30313 (code=exited, status=1/FAILURE) Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling r Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5 Dec 20 18:04:01 raspberrypi systemd[1]: Stopped InfluxDB is an open-source, distributed, time series dat Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Start request repeated too quickly. Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Failed with result 'exit-code'. Dec 20 18:04:01 raspberrypi systemd[1]: Failed to start InfluxDB is an open-source, distributed, time se lines 1-12/12 (END) ● 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 Sun 2020-12-20 18:04:01 CET; 13min ago Docs: https://docs.influxdata.com/influxdb/ Main PID: 30313 (code=exited, status=1/FAILURE) Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart. Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5. Dec 20 18:04:01 raspberrypi systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database. Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Start request repeated too quickly. Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Failed with result 'exit-code'. Dec 20 18:04:01 raspberrypi systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-12/12 (END) ● 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 Sun 2020-12-20 18:04:01 CET; 13min ago Docs: https://docs.influxdata.com/influxdb/ Main PID: 30313 (code=exited, status=1/FAILURE) Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart. Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5. Dec 20 18:04:01 raspberrypi systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database. Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Start request repeated too quickly. Dec 20 18:04:01 raspberrypi systemd[1]: influxdb.service: Failed with result 'exit-code'. Dec 20 18:04:01 raspberrypi systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-12/12 (END)
-
@Altersrentner na irgend etwas ist da bei dir faul
probier bitte nochmal in der Reihenfolgesudo systemctl stop influxdb sudo systemctl unmask influxdb.service sudo systemctl start influxdb sudo systemctl status influxdb
-
pi@raspberrypi:~ $ sudo systemctl stop influxdb pi@raspberrypi:~ $ sudo systemctl unmask influxdb.service pi@raspberrypi:~ $ sudo systemctl start influxdb pi@raspberrypi:~ $ sudo systemctl status influxdb ● 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 Sun 2020-12-20 18:39:16 CET; 17s ago Docs: https://docs.influxdata.com/influxdb/ Process: 3797 ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS (code=exited, status=1/FAILURE) Main PID: 3797 (code=exited, status=1/FAILURE) Dec 20 18:39:16 raspberrypi systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart. Dec 20 18:39:16 raspberrypi systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5. Dec 20 18:39:16 raspberrypi systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database. Dec 20 18:39:16 raspberrypi systemd[1]: influxdb.service: Start request repeated too quickly. Dec 20 18:39:16 raspberrypi systemd[1]: influxdb.service: Failed with result 'exit-code'. Dec 20 18:39:16 raspberrypi systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database. pi@raspberrypi:~ $
Ampel ist grün
-
@Altersrentner die Ampel interessiert momentan nicht, da dein influx-service nicht läuft, Zeile 7
hast du in der/etc/influxdb/influxdb.conf
irgendwas geändert/angepasst?
-
@crunchip NEIN!!
-
@Altersrentner dann nochmal, mit enable...
sudo systemctl stop influxdb sudo systemctl unmask influxdb.service sudo systemctl enable influxdb sudo systemctl start influxdb sudo systemctl status influxdb netstat -tulpen
-
pi@raspberrypi:~ $ sudo systemctl stop influxdb pi@raspberrypi:~ $ sudo systemctl unmask influxdb.service pi@raspberrypi:~ $ sudo systemctl enable influxdb pi@raspberrypi:~ $ sudo systemctl start influxdb pi@raspberrypi:~ $ sudo systemctl status influxdb ● 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 Sun 2020-12-20 19:07:54 CET; 26s ago Docs: https://docs.influxdata.com/influxdb/ Process: 7963 ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS (code=exited, status=1/FAILURE) Main PID: 7963 (code=exited, status=1/FAILURE) Dec 20 19:07:54 raspberrypi systemd[1]: influxdb.service: Service RestartSec=100ms expired, scheduling restart. Dec 20 19:07:54 raspberrypi systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5. Dec 20 19:07:54 raspberrypi systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database. Dec 20 19:07:54 raspberrypi systemd[1]: influxdb.service: Start request repeated too quickly. Dec 20 19:07:54 raspberrypi systemd[1]: influxdb.service: Failed with result 'exit-code'. Dec 20 19:07:54 raspberrypi systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database. pi@raspberrypi:~ $ netstat -tulpen (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 882108 - tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 881190 - tcp 0 0 192.168.178.41:2000 0.0.0.0:* LISTEN 1001 887022 - tcp 0 0 192.168.178.41:2001 0.0.0.0:* LISTEN 1001 884408 - tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 15904 - tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 1000 1015445 - tcp 0 0 192.168.178.41:8701 0.0.0.0:* LISTEN 1001 886967 - tcp6 0 0 :::61991 :::* LISTEN 1001 883885 - tcp6 0 0 :::8081 :::* LISTEN 1001 883049 - tcp6 0 0 :::8083 :::* LISTEN 1001 885009 - tcp6 0 0 :::8084 :::* LISTEN 1001 882261 - tcp6 0 0 :::22 :::* LISTEN 0 15906 - tcp6 0 0 ::1:6010 :::* LISTEN 1000 1015444 - tcp6 0 0 :::8090 :::* LISTEN 1001 884598 - udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 14271 - udp 0 0 0.0.0.0:61991 0.0.0.0:* 1001 883886 - udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 884062 - udp 0 0 0.0.0.0:68 0.0.0.0:* 0 15151 - udp 0 0 0.0.0.0:43619 0.0.0.0:* 108 14273 - udp 0 0 0.0.0.0:9898 0.0.0.0:* 1001 881469 - udp 0 0 0.0.0.0:53421 0.0.0.0:* 1001 882347 - udp6 0 0 :::5353 :::* 108 14272 - udp6 0 0 :::546 :::* 0 18566 - udp6 0 0 :::51291 :::* 108 14274 - pi@raspberrypi:~ $
-
@Altersrentner so kommen wir nicht weiter, da is der Wurm drin und kann dir ehrlich gesagt, nicht sagen, wo der Fehler liegt.
Ne Möglichkeit dann doch nochmal influx zu entfernen und frisch installieren.sudo apt-get autoremove influxdb
danach nochmal eine installation anstoßen, bezieht sich auf ubuntu
wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add - source /etc/lsb-release echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list sudo apt-get update && sudo apt-get install influxdb sudo systemctl unmask influxdb.service sudo systemctl start influxdb
für debian
wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add - source /etc/os-release echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/influxdb.list sudo apt-get update && sudo apt-get install influxdb sudo systemctl enable influxdb sudo systemctl start influxdb
wenn fertig, prüfen ob der Dienst läuft
sudo systemctl status influxdb
-
@crunchip
OK,
Nach welcher Vorlage?pi@raspberrypi:~ $ sudo apt-get autoremove influxdb Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: influxdb rpi-eeprom-images 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 153 MB disk space will be freed. Do you want to continue? [Y/n] y y (Reading database ... 61344 files and directories currently installed.) Removing influxdb (1.8.3-1) ... Removing rpi-eeprom-images (11.0-1) ... Processing triggers for man-db (2.8.5-2) ... pi@raspberrypi:~ $
War es das schon?