Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Redis Fehlermeldung bei fhem Adapter

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Redis Fehlermeldung bei fhem Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @aski71 last edited by

      @aski71 Die Fehlermeldung ist nicht vollständig.
      Schau die in /opt/iobroker/log/iobroker.current.log (oder so ähnlich...) nach.
      Und dann als Text in </> CodeTags ins Forum.

      A 1 Reply Last reply Reply Quote 0
      • A
        aski71 @Thomas Braun last edited by

        @Thomas-Braun So. Bin ein paar Tage nicht dazu gekommen. Jetzt hatte ich den Fehler auch beim Upgrade des javascript Adapters

        ERROR: Cannot update object: ReplyError: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

        Wo finde ich denn die Redis logs?

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @aski71 last edited by

          @aski71
          In

          /var/log/redis/redis-server.log
          
          A 1 Reply Last reply Reply Quote 0
          • A
            aski71 @Thomas Braun last edited by

            @Thomas-Braun said in Redis Fehlermeldung bei fhem Adapter:

            /var/log/redis/redis-server.log

            Da hab ich streckenweise einen Haufen solcher Zeilen drin:

            1168:M 28 Aug 20:31:28.102 * 1 changes in 900 seconds. Saving...
            1168:M 28 Aug 20:31:28.102 # Can't save in background: fork: Cannot allocate memory

            Und dann läuft es wieder ganz normal:

            1168:M 28 Aug 20:31:34.031 * 1 changes in 900 seconds. Saving...
            1168:M 28 Aug 20:31:34.037 * Background saving started by pid 7861
            7861:C 28 Aug 20:31:46.580 * DB saved on disk

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @aski71 last edited by Thomas Braun

              @aski71
              Festplatte voll?
              RAM voll?
              Rechte im Ordner verfummelt?

              systemctl status redis
              
              A 1 Reply Last reply Reply Quote 0
              • A
                aski71 @Thomas Braun last edited by

                @Thomas-Braun Hm....

                ● redis-server.service - Advanced key-value store
                   Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
                   Active: active (running) since Sat 2020-08-01 18:51:15 CEST; 3 weeks 6 days ago
                     Docs: http://redis.io/documentation,
                           man:redis-server(1)
                 Main PID: 1168 (redis-server)
                    Tasks: 4 (limit: 2317)
                   CGroup: /system.slice/redis-server.service
                           └─1168 /usr/bin/redis-server 127.0.0.1:6379
                
                Aug 01 18:51:14 homie systemd[1]: Starting Advanced key-value store...
                Aug 01 18:51:15 homie systemd[1]: redis-server.service: Can't open PID file /var/run/redis/redis-server.pid (yet?) after start: No such file or directory
                Aug 01 18:51:15 homie systemd[1]: Started Advanced key-value store.
                
                Dateisystem                         1K-Blöcke    Benutzt  Verfügbar Verw% Eingehängt auf
                udev                                   988736          0     988736    0% /dev
                tmpfs                                  204072       2620     201452    2% /run
                /dev/mapper/homie--vg-root          526747416   21442748  478524408    5% /
                tmpfs                                 1020360          0    1020360    0% /dev/shm
                tmpfs                                    5120          0       5120    0% /run/lock
                tmpfs                                 1020360          0    1020360    0% /sys/fs/cgroup
                /dev/loop0                              99328      99328          0  100% /snap/core/9665
                /dev/loop1                               9344       9344          0  100% /snap/canonical-livepatch/94
                /dev/loop3                              56320      56320          0  100% /snap/core18/1880
                /dev/loop5                               9344       9344          0  100% /snap/canonical-livepatch/95
                /dev/vda1                              482922     162948     295040   36% /boot
                /dev/loop6                              56704      56704          0  100% /snap/core18/1885
                /dev/loop2                              98944      98944          0  100% /snap/core/9804
                tmpfs                                  204072          0     204072    0% /run/user/1000
                
                              gesamt      belegt       frei     gemeinsam    Zwischen   verfügbar
                Speicher:     2040720     1770952       75632        1264      194136      118768
                Auslager:     1044476     1040320        4156
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @aski71 last edited by Thomas Braun

                  @aski71 Dein System swappt heftig.

                  free -h
                  

                  kann man übrigens besser lesen.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    aski71 @Thomas Braun last edited by

                    @Thomas-Braun Ist ne virtuelle Maschine in einem QNAP. Dachte eigentlich, ich hätte 4GB zugewiesen.
                    Kann das das Redis-Problem sein?
                    Dass der Hauptspeicher zur Neige geht?

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @aski71 last edited by

                      @aski71 Ja.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        aski71 @Thomas Braun last edited by

                        @Thomas-Braun Scheint tatsächlich erstmal weg zu sein. Danke für die richtigen Fingerzeige.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        630
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        fhem
                        2
                        11
                        455
                        Loading More Posts
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes
                        Reply
                        • Reply as topic
                        Log in to reply
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                        The ioBroker Community 2014-2023
                        logo