NEWS
Influxdb2 Backitup
-
-
@damrak2022 Ja Du hast RECHT:
-
Andy@homebridge:~ $ sudo apt purge influxdb2 Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Paket »influxdb2« ist nicht installiert, wird also auch nicht entfernt. Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt: influxdb2-cli Verwenden Sie »sudo apt autoremove«, um es zu entfernen. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert. Andy@homebridge:~ $
Was ist denn mit dem influxdb2-cli ?
-
@damrak2022 Ja das hätte ich gedacht, dass man drauf lassen kann, aber dann mach
sudo apt autoremove
-
-
@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:~ $