NEWS
Nach Absturz keine Verbindung mehr REDIS PROBLEM [gelöst]
-
sudo -u iobroker groups
-
@glasfaser
ich kann keinen direkten Zusammenhang sehen. Nur ist es mit dem Board schon der zweite Absurz. Beim ersten war der emmc kaputt und konnte nicht mehr booten. Jeztt bootet die SD aber noch und startet pivccu aber keinen iobroker mehr bzw. jetzt habe ich das redis zugriffsproblem ...Ich muss leider mal weg, m,elde mich später wieder. Vielleicht hat ja noch jemand eine Idee, ansonsten neu aufsetzen
Hab ich ja jetzt Übung drin ...
-
iobroker tty dialout audio video i2c bluetooth redis marc@ioBroker:~$
-
sudo systemctl status redis-server sudo systemctl enable redis-server
-
@thomas-braun
ich muss mal kurz weg. Ich mache später weiter wenn Du noch einen Hinweis hast! Danke schonmal vorab !
-
@glasfaser sagte in Nach Absturz keine Verbindung mehr zum Admin REDIS PROBLEM:
> sudo systemctl enable redis-server marc@ioBroker:~$ sudo systemctl status redis-server ● redis-server.service - Advanced key-value store Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2021-12-04 14:59:47 CET; 15s ago Docs: http://redis.io/documentation, man:redis-server(1) Process: 4541 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --supervised systemd --daemonize no (code=exited, status=1/FAILURE) Main PID: 4541 (code=exited, status=1/FAILURE) Status: "Redis is loading..." CPU: 109ms Dez 04 14:59:47 ioBroker systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 5. Dez 04 14:59:47 ioBroker systemd[1]: Stopped Advanced key-value store. Dez 04 14:59:47 ioBroker systemd[1]: redis-server.service: Start request repeated too quickly. Dez 04 14:59:47 ioBroker systemd[1]: redis-server.service: Failed with result 'exit-code'. Dez 04 14:59:47 ioBroker systemd[1]: Failed to start Advanced key-value store.
-
iobroker status
-
@glasfaser sagte in Nach Absturz keine Verbindung mehr zum Admin REDIS PROBLEM:
iobroker status
marc@ioBroker:~$ iobroker status No connection to states 127.0.0.1:6379[redis]
-
hast du
sudo systemctl enable redis-server
gemacht , sehe ich nicht
EDIT :
war abgeschnitten .
Dann
iobroker stop iobroker host this iobroker start
-
@glasfaser sagte in Nach Absturz keine Verbindung mehr zum Admin REDIS PROBLEM:
gemacht , sehe ich nicht
zeile 1 - sieht aber komisch aus
-
@glasfaser sagte in Nach Absturz keine Verbindung mehr zum Admin REDIS PROBLEM:
sudo systemctl enable redis-server
in Zeile 1 wqeiter oben im code
-
Habe oben Edit gemacht ... mache die Befehle
-
@glasfaser sagte in Nach Absturz keine Verbindung mehr zum Admin REDIS PROBLEM:
sudo systemctl enable redis-server
marc@ioBroker:~$ sudo systemctl enable redis-server [sudo] Passwort für marc: Synchronizing state of redis-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable redis-server marc@ioBroker:~$ iobroker status No connection to states 127.0.0.1:6379[redis]
-
@meicker sagte in Nach Absturz keine Verbindung mehr zum Admin REDIS PROBLEM:
Dez 04 14:59:47 ioBroker systemd[1]: Failed to start Advanced key-value store.
Ist ioBroker in einer VM installiert !?
https://forum.iobroker.net/topic/18835/auf-redis-umstellen/82?_=1638625607365
-
marc@ioBroker:~$ iobroker stop marc@ioBroker:~$ iobroker host this No connection to states 127.0.0.1:6379[redis] marc@ioBroker:~$ iobroker start marc@ioBroker:~$ iobroker status No connection to states 127.0.0.1:6379[redis] marc@ioBroker:~$
-
@glasfaser sagte in Nach Absturz keine Verbindung mehr zum Admin REDIS PROBLEM:
Ist ioBroker in einer VM installiert !?
nein
-
Hat bis zum Absturz einwandfrei funktioniert ... läuft auf einem Tinker Board ...
-
@meicker
Hast Du schon mal in den redis-server logfiles gesucht? Die liegen vermutlich in
/var/log/redis
-
@meister-mopper
da darf ich als 'user' nicht rein. Aber mit root ...4666:C 04 Dec 2021 15:00:18.887 # WARNING supervised by systemd - you MUST set appropriate values for TimeoutStartSec and TimeoutStopSec in your service unit. 4666:C 04 Dec 2021 15:00:18.888 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 4666:C 04 Dec 2021 15:00:18.888 # Redis version=6.0.15, bits=32, commit=00000000, modified=0, pid=4666, just started 4666:C 04 Dec 2021 15:00:18.888 # Configuration loaded 4666:M 04 Dec 2021 15:00:18.890 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now. _._ _.-``__ ''-._ _.-`` `. `_. ''-._ Redis 6.0.15 (00000000/0) 32 bit .-`` .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 4666 `-._ `-._ `-./ _.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | http://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | `-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-' 4666:M 04 Dec 2021 15:00:18.892 # Server initialized 4666:M 04 Dec 2021 15:00:18.892 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. 4666:M 04 Dec 2021 15:00:18.892 # Wrong signature trying to load DB from file 4666:M 04 Dec 2021 15:00:18.892 # Fatal error loading the DB: Invalid argument. Exiting. 4681:C 04 Dec 2021 15:00:19.278 # WARNING supervised by systemd - you MUST set appropriate values for TimeoutStartSec and TimeoutStopSec in your service unit. 4681:C 04 Dec 2021 15:00:19.278 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 4681:C 04 Dec 2021 15:00:19.278 # Redis version=6.0.15, bits=32, commit=00000000, modified=0, pid=4681, just started 4681:C 04 Dec 2021 15:00:19.278 # Configuration loaded 4681:M 04 Dec 2021 15:00:19.281 # Warning: 32 bit instance detected but no memory limit set. Setting 3 GB maxmemory limit with 'noeviction' policy now.
im zweiten Block Zeiole 2 und 3 kommt was ...
-
Wie sieht denn Deine Arbeitsspeicherlandschaft aus?
htop
Und hast Du Redis Backup (Persistenz) konfiguriert?