NEWS
[ Geklärt ] Problem bei Influx Installation
-
pi@raspberrypi:~ $ sudo systemctl unmask influxdb.service pi@raspberrypi:~ $ sudo systemctl start influxdb pi@raspberrypi:~ $ sudo influxd 8888888 .d888 888 8888888b. 888888b. 888 d88P" 888 888 "Y88b 888 "88b 888 888 888 888 888 888 .88P 888 88888b. 888888 888 888 888 888 888 888 888 8888888K. 888 888 "88b 888 888 888 888 Y8bd8P' 888 888 888 "Y88b 888 888 888 888 888 888 888 X88K 888 888 888 888 888 888 888 888 888 Y88b 888 .d8""8b. 888 .d88P 888 d88P 8888888 888 888 888 888 "Y88888 888 888 8888888P" 8888888P" 2020-12-20T14:15:35.152027Z info InfluxDB starting {"log_id": "0RC7wJwl000", "version": "1.8.3", "branch": "1.8", "commit": "563e6c3d1a7a2790763c6289501095dbec19244e"} 2020-12-20T14:15:35.152128Z info Go runtime {"log_id": "0RC7wJwl000", "version": "go1.13.8", "maxprocs": 4} 2020-12-20T14:15:35.253479Z info Using data dir {"log_id": "0RC7wJwl000", "service": "store", "path": "/var/lib/influxdb/data"} 2020-12-20T14:15:35.253597Z info Compaction settings {"log_id": "0RC7wJwl000", "service": "store", "max_concurrent_compactions": 2, "throughput_bytes_per_second": 50331648, "throughput_bytes_per_second_burst": 50331648} 2020-12-20T14:15:35.253674Z info Open store (start) {"log_id": "0RC7wJwl000", "service": "store", "trace_id": "0RC7wKLG000", "op_name": "tsdb_open", "op_event": "start"} 2020-12-20T14:15:35.257327Z info Reading file {"log_id": "0RC7wJwl000", "engine": "tsm1", "service": "cacheloader", "path": "/var/lib/influxdb/wal/_internal/monitor/1/_00001.wal", "size": 132881} 2020-12-20T14:15:37.573216Z info Opened shard {"log_id": "0RC7wJwl000", "service": "store", "trace_id": "0RC7wKLG000", "op_name": "tsdb_open", "index_version": "inmem", "path": "/var/lib/influxdb/data/_internal/monitor/1", "duration": "2317.079ms"} 2020-12-20T14:15:37.573402Z info Open store (end) {"log_id": "0RC7wJwl000", "service": "store", "trace_id": "0RC7wKLG000", "op_name": "tsdb_open", "op_event": "end", "op_elapsed": "2319.731ms"} 2020-12-20T14:15:37.573525Z info Opened service {"log_id": "0RC7wJwl000", "service": "subscriber"} 2020-12-20T14:15:37.573570Z info Starting monitor service {"log_id": "0RC7wJwl000", "service": "monitor"} 2020-12-20T14:15:37.573611Z info Registered diagnostics client {"log_id": "0RC7wJwl000", "service": "monitor", "name": "build"} 2020-12-20T14:15:37.573649Z info Registered diagnostics client {"log_id": "0RC7wJwl000", "service": "monitor", "name": "runtime"} 2020-12-20T14:15:37.573688Z info Registered diagnostics client {"log_id": "0RC7wJwl000", "service": "monitor", "name": "network"} 2020-12-20T14:15:37.573737Z info Registered diagnostics client {"log_id": "0RC7wJwl000", "service": "monitor", "name": "system"} 2020-12-20T14:15:37.573810Z info Starting precreation service {"log_id": "0RC7wJwl000", "service": "shard-precreation", "check_interval": "10m", "advance_period": "30m"} 2020-12-20T14:15:37.573888Z info Starting snapshot service {"log_id": "0RC7wJwl000", "service": "snapshot"} 2020-12-20T14:15:37.573929Z info Starting continuous query service {"log_id": "0RC7wJwl000", "service": "continuous_querier"} 2020-12-20T14:15:37.573983Z info Starting HTTP service {"log_id": "0RC7wJwl000", "service": "httpd", "authentication": false} 2020-12-20T14:15:37.574022Z info opened HTTP access log {"log_id": "0RC7wJwl000", "service": "httpd", "path": "stderr"} 2020-12-20T14:15:37.574321Z info Storing statistics {"log_id": "0RC7wJwl000", "service": "monitor", "db_instance": "_internal", "db_rp": "monitor", "interval": "10s"} 2020-12-20T14:15:37.574445Z info Listening on HTTP {"log_id": "0RC7wJwl000", "service": "httpd", "addr": "[::]:8086", "https": false} 2020-12-20T14:15:37.574529Z info Starting retention policy enforcement service {"log_id": "0RC7wJwl000", "service": "retention", "check_interval": "30m"} 2020-12-20T14:15:37.574895Z info Sending usage statistics to usage.influxdata.com {"log_id": "0RC7wJwl000"} 2020-12-20T14:15:37.575398Z info Listening for signals {"log_id": "0RC7wJwl000"} 2020-12-20T14:15:43.954822Z info Executing query {"log_id": "0RC7wJwl000", "service": "query", "query": "SHOW DATABASES"} [httpd] 192.168.178.41 - MEB [20/Dec/2020:15:15:43 +0100] "GET /query?db=iobroker&p=%5BREDACTED%5D&precision=ms&q=show+databases&u=MEB HTTP/1.1" 200 122 "-" "-" d8e47f87-42cd-11eb-8001-dca6321bbd83 5504
-
@Altersrentner sudo systemctl status influxdb
-
@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:~ $