NEWS
Influxdb2 Backitup
-
-
@damrak2022 Ja
-
@mickym So, neugestartet. Was nun zuerst?
-
@damrak2022 sagte in Influxdb2 Backitup:
@mickym So, neugestartet. Was nun zuerst?
Schauen ob der Service nun weg ist.
systemctl status influxdb
-
@mickym sagte in Influxdb2 Backitup:
systemctl status influxdb
Andy@homebridge:~ $ systemctl status influxdb ● influxdb.service - InfluxDB is an open-source, distributed, time series datab> Loaded: loaded (/lib/systemd/system/influxdb.service; disabled; vendor pre> Active: failed (Result: exit-code) since Thu 2023-04-20 02:53:49 CEST; 2mi> Docs: https://docs.influxdata.com/influxdb/ Process: 727 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (> CPU: 2ms Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Scheduled restart job,> Apr 20 02:53:49 homebridge systemd[1]: Stopped InfluxDB is an open-source, dist> Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Start request repeated> Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Failed with result 'ex> Apr 20 02:53:49 homebridge systemd[1]: Failed to start InfluxDB is an open-sour> lines 1-12/12 (END) ● influxdb.service - InfluxDB is an open-source, distributed, time series databa> Loaded: loaded (/lib/systemd/system/influxdb.service; disabled; vendor pres> Active: failed (Result: exit-code) since Thu 2023-04-20 02:53:49 CEST; 2min> Docs: https://docs.influxdata.com/influxdb/ Process: 727 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (c> CPU: 2ms Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Scheduled restart job, > Apr 20 02:53:49 homebridge systemd[1]: Stopped InfluxDB is an open-source, distr> Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Start request repeated > Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Failed with result 'exi> Apr 20 02:53:49 homebridge systemd[1]: Failed to start InfluxDB is an open-sourc> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-12/12 (END) ● influxdb.service - InfluxDB is an open-source, distributed, time series database Loaded: loaded (/lib/systemd/system/influxdb.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2023-04-20 02:53:49 CEST; 2min 49s ago Docs: https://docs.influxdata.com/influxdb/ Process: 727 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=203/EXEC) CPU: 2ms Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5. Apr 20 02:53:49 homebridge systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database. Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Start request repeated too quickly. Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Failed with result 'exit-code'. Apr 20 02:53:49 homebridge 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; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2023-04-20 02:53:49 CEST; 2min 49s ago Docs: https://docs.influxdata.com/influxdb/ Process: 727 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=203/EXEC) CPU: 2ms Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5. Apr 20 02:53:49 homebridge systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database. Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Start request repeated too quickly. Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Failed with result 'exit-code'. Apr 20 02:53:49 homebridge 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; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2023-04-20 02:53:49 CEST; 2min 49s ago Docs: https://docs.influxdata.com/influxdb/ Process: 727 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=203/EXEC) CPU: 2ms Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5. Apr 20 02:53:49 homebridge systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database. Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Start request repeated too quickly. Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Failed with result 'exit-code'. Apr 20 02:53:49 homebridge 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; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2023-04-20 02:53:49 CEST; 2min 49s ago Docs: https://docs.influxdata.com/influxdb/ Process: 727 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=203/EXEC) CPU: 2ms Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5. Apr 20 02:53:49 homebridge systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database. Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Start request repeated too quickly. Apr 20 02:53:49 homebridge systemd[1]: influxdb.service: Failed with result 'exit-code'. Apr 20 02:53:49 homebridge systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ lines 1-12/12 (END)
Nochmal weil Start zu schnell?
-
@damrak2022 man könnte die Datei einfach löschen.
Gut wir löschen den Service das geht:
sudo rm /etc/systemd/system/influxdb.service
sudo rm /lib/systemd/system/influxdb.service
-
@mickym sagte in Influxdb2 Backitup:
sudo rm /lib/systemd/system/influxdb.service
Anscheinend gibt es die erste Datei nicht:
Andy@homebridge:~ $ sudo rm /etc/systemd/system/influxdb.service rm: das Entfernen von '/etc/systemd/system/influxdb.service' ist nicht möglich: Datei oder Verzeichnis nicht gefunden Andy@homebridge:~ $ sudo rm /lib/systemd/system/influxdb.service Andy@homebridge:~ $
-
@damrak2022 Ok dann Maschine nochmal starten
-
@mickym ok
-
@mickym Und jetzt
-
@damrak2022 Schauen obs weg ist.
systemctl status influxdb
-
@mickym sagte in Influxdb2 Backitup:
systemctl status influxdb
Andy@homebridge:~ $ systemctl status influxdb Unit influxdb.service could not be found. Andy@homebridge:~ $
-
@damrak2022 Hurra.
Nun installieren:
sudo apt install influxdb2
Nach der Installation wieder schauen, ob Service läuft
systemctl status influxdb
-
@mickym sagte in Influxdb2 Backitup:
sudo apt install influxdb2
Andy@homebridge:~ $ sudo apt install influxdb2 Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Die folgenden zusätzlichen Pakete werden installiert: influxdb2-cli Die folgenden NEUEN Pakete werden installiert: influxdb2 influxdb2-cli 0 aktualisiert, 2 neu installiert, 0 zu entfernen und 1 nicht aktualisiert. Es müssen noch 0 B von 54,3 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 123 MB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] j Vormals nicht ausgewähltes Paket influxdb2 wird gewählt. (Lese Datenbank ... 55623 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../influxdb2_2.7.0-1_arm64.deb ... Entpacken von influxdb2 (2.7.0-1) ... Vormals nicht ausgewähltes Paket influxdb2-cli wird gewählt. Vorbereitung zum Entpacken von .../influxdb2-cli_2.7.1-2_arm64.deb ... Entpacken von influxdb2-cli (2.7.1-2) ... influxdb2 (2.7.0-1) wird eingerichtet ... Created symlink /etc/systemd/system/influxd.service → /lib/systemd/system/influxdb.service. Created symlink /etc/systemd/system/multi-user.target.wants/influxdb.service → /lib/systemd/system/influxdb.service. influxdb2-cli (2.7.1-2) wird eingerichtet ... Andy@homebridge:~ $
-
@mickym Und nun
systemctl status influxdb
-
@mickym sagte in Influxdb2 Backitup:
systemctl status influxdb
Andy@homebridge:~ $ 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: inactive (dead) Docs: https://docs.influxdata.com/influxdb/ Andy@homebridge:~ $
-
@damrak2022 Gut - schau mal ob GUI funktioniert - wenn nicht werden wir den service starten.
-
@mickym nein, wir müssen den service starten
-
@damrak2022 Dann schau, ob es so geht oder wenn nicht nochmal Maschine starten.
Also schau erstmal
sudo systemctl start influxdb
und dann
systemctl status influxdb
-
@mickym sagte in Influxdb2 Backitup:
systemctl status influxdb
Sieht anscheinend gut aus:
Andy@homebridge:~ $ sudo systemctl start influxdb Andy@homebridge:~ $ 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: active (running) since Thu 2023-04-20 03:20:35 CEST; 15s ago Docs: https://docs.influxdata.com/influxdb/ Process: 2847 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=0/SUCCESS) Main PID: 2848 (influxd) Tasks: 9 (limit: 3932) CPU: 1.491s CGroup: /system.slice/influxdb.service └─2848 /usr/bin/influxd Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.856708Z lvl=info msg="Open store (start)"> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.856962Z lvl=info msg="Open store (end)" l> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.857060Z lvl=info msg="Starting retention > Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.857101Z lvl=info msg="Starting precreatio> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.859797Z lvl=info msg="Starting query cont> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.868861Z lvl=info msg="Configuring InfluxQ> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.896976Z lvl=info msg=Starting log_id=0hJ3> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.898980Z lvl=info msg=Listening log_id=0hJ> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2847]: InfluxDB started Apr 20 03:20:35 homebridge systemd[1]: Started InfluxDB is an open-source, distributed, time series database. lines 1-21/21 (END) ● influxdb.service - InfluxDB is an open-source, distributed, time series database Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2023-04-20 03:20:35 CEST; 15s ago Docs: https://docs.influxdata.com/influxdb/ Process: 2847 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=0/SUCCESS) Main PID: 2848 (influxd) Tasks: 9 (limit: 3932) CPU: 1.491s CGroup: /system.slice/influxdb.service └─2848 /usr/bin/influxd Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.856708Z lvl=info msg="Open store (start)" > Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.856962Z lvl=info msg="Open store (end)" lo> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.857060Z lvl=info msg="Starting retention p> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.857101Z lvl=info msg="Starting precreation> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.859797Z lvl=info msg="Starting query contr> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.868861Z lvl=info msg="Configuring InfluxQL> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.896976Z lvl=info msg=Starting log_id=0hJ3p> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.898980Z lvl=info msg=Listening log_id=0hJ3> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2847]: InfluxDB started Apr 20 03:20:35 homebridge systemd[1]: Started InfluxDB is an open-source, distributed, time series database. ~ ~ ~ lines 1-21/21 (END) ● influxdb.service - InfluxDB is an open-source, distributed, time series database Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2023-04-20 03:20:35 CEST; 15s ago Docs: https://docs.influxdata.com/influxdb/ Process: 2847 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=0/SUCCESS) Main PID: 2848 (influxd) Tasks: 9 (limit: 3932) CPU: 1.491s CGroup: /system.slice/influxdb.service └─2848 /usr/bin/influxd Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.856708Z lvl=info msg="Open store (start)" log_id=0hJ3pWnl000 service=storage-engine serv> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.856962Z lvl=info msg="Open store (end)" log_id=0hJ3pWnl000 service=storage-engine servic> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.857060Z lvl=info msg="Starting retention policy enforcement service" log_id=0hJ3pWnl000 > Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.857101Z lvl=info msg="Starting precreation service" log_id=0hJ3pWnl000 service=shard-pre> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.859797Z lvl=info msg="Starting query controller" log_id=0hJ3pWnl000 service=storage-read> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.868861Z lvl=info msg="Configuring InfluxQL statement executor (zeros indicate unlimited)> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.896976Z lvl=info msg=Starting log_id=0hJ3pWnl000 service=telemetry interval=8h Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.898980Z lvl=info msg=Listening log_id=0hJ3pWnl000 service=tcp-listener transport=http ad> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2847]: InfluxDB started Apr 20 03:20:35 homebridge systemd[1]: Started InfluxDB is an open-source, distributed, time series database. ~ ~ ~ lines 1-21/21 (END) ● influxdb.service - InfluxDB is an open-source, distributed, time series database Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2023-04-20 03:20:35 CEST; 15s ago Docs: https://docs.influxdata.com/influxdb/ Process: 2847 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=0/SUCCESS) Main PID: 2848 (influxd) Tasks: 9 (limit: 3932) CPU: 1.491s CGroup: /system.slice/influxdb.service └─2848 /usr/bin/influxd Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.856708Z lvl=info msg="Open store (start)" log_id=0hJ3pWnl000 service=storage-engine service=store op> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.856962Z lvl=info msg="Open store (end)" log_id=0hJ3pWnl000 service=storage-engine service=store op_n> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.857060Z lvl=info msg="Starting retention policy enforcement service" log_id=0hJ3pWnl000 service=rete> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.857101Z lvl=info msg="Starting precreation service" log_id=0hJ3pWnl000 service=shard-precreation che> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.859797Z lvl=info msg="Starting query controller" log_id=0hJ3pWnl000 service=storage-reads concurrenc> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.868861Z lvl=info msg="Configuring InfluxQL statement executor (zeros indicate unlimited)." log_id=0h> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.896976Z lvl=info msg=Starting log_id=0hJ3pWnl000 service=telemetry interval=8h Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.898980Z lvl=info msg=Listening log_id=0hJ3pWnl000 service=tcp-listener transport=http addr=:8086 por> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2847]: InfluxDB started Apr 20 03:20:35 homebridge systemd[1]: Started InfluxDB is an open-source, distributed, time series database. ~ ~ ~ lines 1-21/21 (END) ● influxdb.service - InfluxDB is an open-source, distributed, time series database Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2023-04-20 03:20:35 CEST; 15s ago Docs: https://docs.influxdata.com/influxdb/ Process: 2847 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=0/SUCCESS) Main PID: 2848 (influxd) Tasks: 9 (limit: 3932) CPU: 1.491s CGroup: /system.slice/influxdb.service └─2848 /usr/bin/influxd Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.856708Z lvl=info msg="Open store (start)" log_id=0hJ3pWnl000 service=storage-engine service=store op_n> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.856962Z lvl=info msg="Open store (end)" log_id=0hJ3pWnl000 service=storage-engine service=store op_nam> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.857060Z lvl=info msg="Starting retention policy enforcement service" log_id=0hJ3pWnl000 service=retent> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.857101Z lvl=info msg="Starting precreation service" log_id=0hJ3pWnl000 service=shard-precreation check> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.859797Z lvl=info msg="Starting query controller" log_id=0hJ3pWnl000 service=storage-reads concurrency_> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.868861Z lvl=info msg="Configuring InfluxQL statement executor (zeros indicate unlimited)." log_id=0hJ3> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.896976Z lvl=info msg=Starting log_id=0hJ3pWnl000 service=telemetry interval=8h Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2848]: ts=2023-04-20T01:20:35.898980Z lvl=info msg=Listening log_id=0hJ3pWnl000 service=tcp-listener transport=http addr=:8086 port=> Apr 20 03:20:35 homebridge influxd-systemd-start.sh[2847]: InfluxDB started Apr 20 03:20:35 homebridge systemd[1]: Started InfluxDB is an open-source, distributed, time series database. ~ ~ ~ lines 1-21/21 (END)