NEWS
influx db kein start möglich
-
Guten Morgen zusammen
ich scheitere gerade grandios an der install meines influx db
folgende Fehlermeldung in der Konsole:
gertz@gertz:~$ sudo service influxdb start
Job for influxdb.service failed because the control process exited with error code.
See "systemctl status influxdb.service" and "journalctl -xe" for details.Leider bracht google keine nennenwerte Lösung.
Weiß leider nicht mehr weiter.
Jemand eine Lösung für mich ?
Was mache ich falsch ?Danke für eure Hilfe
-
@fridolin01 Was sagt denn systemctl status influxdb.service" and "journalctl -xe" ?
-
Folgendes steht dort:
gertz@gertz:~$ sudo systemctl status influxdb.service
● 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 Wed 2022-01-19 09:59:28 UTC; 6min ago
Docs: https://docs.influxdata.com/influxdb/
Process: 29100 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=1/FAILURE)
Main PID: 2410 (code=exited, status=0/SUCCESS)Jan 19 09:59:28 gertz systemd[1]: influxdb.service: Service hold-off time over, scheduling restart.
Jan 19 09:59:28 gertz systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5.
Jan 19 09:59:28 gertz systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database.
Jan 19 09:59:28 gertz systemd[1]: influxdb.service: Start request repeated too quickly.
Jan 19 09:59:28 gertz systemd[1]: influxdb.service: Failed with result 'exit-code'.
Jan 19 09:59:28 gertz systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database.Verstehe aber nur Bahnhof
-
@fridolin01 sagte in influx db kein start möglich:
ich scheitere gerade grandios an der install meines influx db
Wie und was wurde da genau installiert?
apt policy influxdb
Und bitte die Zeitzone richtig setzen, da scheint mir noch die Null-Zeit aktiv zu sein.
-
influxdb:
Installed: 1.8.10-1
Candidate: 1.8.10-1
Version table:
*** 1.8.10-1 500
500 https://repos.influxdata.com/debian bionic/stable amd64 Packages
100 /var/lib/dpkg/status
1.1.1+dfsg1-4 500
500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages -
Bitte für Konsolen-Output CodeTags verwenden.
Zeitzone gesetzt?
sudo systemctl stop influxdb sudo systemctl start influxdb
-
@fridolin01 sagte in influx db kein start möglich:
influxdb.service: Start request repeated too quickly.
da gabs ein Problem beim Versionswechsel des startscripts, könnte dieses sein
https://github.com/influxdata/influxdb/issues/21967#issuecomment-889695265kannst mal probieren
sudo chmod +x /usr/lib/influxdb/scripts/influxd-systemd-start.sh sudo systemctl restart influxdb.service
-
Ja Zeitzone angepasst
geht leider immer noch nicht -
Hier nochmal die Fehler in der Konsole
The unit influxdb.service has entered the 'failed' state with result 'exit-code'. Jan 19 12:29:46 gertz systemd[1]: Failed to start InfluxDB is an open-source, distributed, time series database. -- Subject: A start job for unit influxdb.service has failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- A start job for unit influxdb.service has finished with a failure. -- -- The job identifier is 4103 and the job result is failed. Jan 19 12:29:47 gertz systemd[1]: influxdb.service: Scheduled restart job, restart counter is at 5. -- Subject: Automatic restarting of a unit has been scheduled -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- Automatic restarting of the unit influxdb.service has been scheduled, as the result for -- the configured Restart= setting for the unit. Jan 19 12:29:47 gertz systemd[1]: Stopped InfluxDB is an open-source, distributed, time series database. -- Subject: A stop job for unit influxdb.service has finished -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- A stop job for unit influxdb.service has finished. -- -- The job identifier is 4182 and the job result is done. Jan 19 12:29:47 gertz systemd[1]: influxdb.service: Start request repeated too quickly. Jan 19 12:29:47 gertz systemd[1]: influxdb.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support
-
Hast du das startskript angepasst?
-
@fridolin01 probiere es mit
sudo chmod +x /usr/lib/influxdb/scripts/influxd-systemd-start.sh sudo systemctl restart influxdb.service
ansonsten musst du das startscript ändern und von v 1.8.7 einspielen
-
das habe ich getestet
funktioniert leider nichtwie spiele ich denn gezielt die 1.8.7 ein?
Sry habe mich seit mehr als einem Jahr nicht damit beschäftigt -
@fridolin01 bin nur am handy, schau mal hier
https://forum.iobroker.net/post/662088