NEWS
Influxdb2 Backitup
-
@mickym sagte in Influxdb2 Backitup:
sudo rm -R /etc/influxdb
Die sind garnicht da:
Andy@homebridge:~ $ sudo rm -R /var/lib/influxdb rm: das Entfernen von '/var/lib/influxdb' ist nicht möglich: Datei oder Verzeichnis nicht gefunden Andy@homebridge:~ $ sudo rm -R /etc/influxdb rm: das Entfernen von '/etc/influxdb' ist nicht möglich: Datei oder Verzeichnis nicht gefunden Andy@homebridge:~ $
-
-
@mickym sagte in Influxdb2 Backitup:
sudo apt purge influxdb
Andy@homebridge:~ $ sudo apt purge influxdb Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Paket »influxdb« 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:~ $
-
@damrak2022 Gut nun Maschine neu starten.
-
-
@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:~ $