Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. System mit Master/Slave neu aufsetzen

    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

    System mit Master/Slave neu aufsetzen

    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Lollo_C @Marc Berg last edited by Lollo_C

      @marc-berg
      Ich habe in der redis.conf

      bind 127.0.0.1 -::1
      

      nach

      bind 127.0.0.1 192.168.2.210
      

      geändert (192.168.2.210 ist die IP des Master) und danach ein

      sudo service redis-server restart
      

      ausgeführt.

      Marc Berg 1 Reply Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active @Lollo_C last edited by

        @lollo_c

        Schau mal in der redis.conf, ob es ggf. eine zweite Zeile mit "bind" gibt, die diese Einstellungen überschreibt.

        L 1 Reply Last reply Reply Quote 0
        • L
          Lollo_C @Marc Berg last edited by

          @marc-berg
          Ich hatte die redis.config gerade durchgeschaut und nur die o.g. Zeile gefunden.

          Marc Berg ? 2 Replies Last reply Reply Quote 0
          • Marc Berg
            Marc Berg Most Active @Lollo_C last edited by

            @lollo_c

            Seltsam. Du könntest auch mal die Zeile komplett auskommentieren

            # bind 127.0.0.1 192.168.2.210
            

            Im Standard hört die redis DB dann auf alle verfügbaren Interfaces.

            L 1 Reply Last reply Reply Quote 0
            • L
              Lollo_C @Marc Berg last edited by

              @marc-berg
              Zeile auskommentiert, neu gestartet und keine Veränderung.

              Marc Berg 1 Reply Last reply Reply Quote 0
              • Marc Berg
                Marc Berg Most Active @Lollo_C last edited by

                @lollo_c sagte in System mit Master/Slave neu aufsetzen:

                Zeile auskommentiert, neu gestartet und keine Veränderung.

                Dann zeig jetzt nochmal das iob diag. Wenn sich da nichts geändert hat, wird die redis.conf nicht verwendet.

                L 1 Reply Last reply Reply Quote 0
                • L
                  Lollo_C @Marc Berg last edited by

                  @marc-berg

                  Skript v.2023-10-10
                  
                  *** BASE SYSTEM ***
                   Static hostname: RasPi4
                         Icon name: computer
                  Operating System: Debian GNU/Linux 12 (bookworm)
                            Kernel: Linux 6.1.0-rpi8-rpi-v8
                      Architecture: arm64
                  
                  Model           : Raspberry Pi 4 Model B Rev 1.5
                  Docker          : false
                  Virtualization  : none
                  Kernel          : aarch64
                  Userland        : arm64
                  
                  Systemuptime and Load:
                   11:05:30 up 7 min,  2 users,  load average: 0.61, 1.15, 0.69
                  CPU threads: 4
                  
                  
                  *** RASPBERRY THROTTLING ***
                  Current issues:
                  No throttling issues detected.
                  
                  Previously detected issues:
                  No throttling issues detected.
                  
                  *** Time and Time Zones ***
                                 Local time: Sat 2024-03-02 11:05:30 CET
                             Universal time: Sat 2024-03-02 10:05:30 UTC
                                   RTC time: n/a
                                  Time zone: Europe/Berlin (CET, +0100)
                  System clock synchronized: yes
                                NTP service: active
                            RTC in local TZ: no
                  
                  *** User and Groups ***
                  pi
                  /home/pi
                  pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker
                  
                  *** X-Server-Setup ***
                  X-Server:       false
                  Desktop:
                  Terminal:       tty
                  Boot Target:    multi-user.target
                  
                  *** MEMORY ***
                                 total        used        free      shared  buff/cache   available
                  Mem:            4.0G        2.1G        882M        1.2M        1.0G        1.8G
                  Swap:           104M          0B        104M
                  Total:          4.1G        2.1G        987M
                  
                           3792 M total memory
                           2029 M used memory
                           2558 M active memory
                            256 M inactive memory
                            842 M free memory
                             71 M buffer memory
                            924 M swap cache
                             99 M total swap
                              0 M used swap
                             99 M free swap
                  
                  Raspberry only:
                  oom events: 0
                  lifetime oom required: 0 Mbytes
                  total time in oom handler: 0 ms
                  max time spent in oom handler: 0 ms
                  
                  
                  *** FAILED SERVICES ***
                  
                    UNIT LOAD ACTIVE SUB DESCRIPTION
                  0 loaded units listed.
                  
                  *** FILESYSTEM ***
                  Filesystem     Type      Size  Used Avail Use% Mounted on
                  udev           devtmpfs  1.6G     0  1.6G   0% /dev
                  tmpfs          tmpfs     380M  1.2M  379M   1% /run
                  /dev/sda2      ext4       29G  5.4G   22G  20% /
                  tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
                  tmpfs          tmpfs     5.0M   16K  5.0M   1% /run/lock
                  /dev/sda1      vfat      510M   61M  450M  12% /boot/firmware
                  tmpfs          tmpfs     380M     0  380M   0% /run/user/1000
                  
                  Messages concerning ext4 filesystem in dmesg:
                  [Sat Mar  2 10:58:12 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0  smsc95xx.macaddr=E4:5F:01:A6:44:D3 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  console=ttyS0,115200 console=tty1 root=PARTUUID=a45a8ca6-02 rootfstype=ext4 fsck.repair=yes rootwait
                  [Sat Mar  2 10:58:14 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
                  [Sat Mar  2 10:58:15 2024] EXT4-fs (sda2): re-mounted. Quota mode: none.
                  
                  Show mounted filesystems \(real ones only\):
                  TARGET           SOURCE    FSTYPE OPTIONS
                  /                /dev/sda2 ext4   rw,noatime
                  `-/boot/firmware /dev/sda1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                  
                  Files in neuralgic directories:
                  
                  /var:
                  1.1G    /var/
                  538M    /var/cache
                  524M    /var/cache/apt
                  410M    /var/cache/apt/archives
                  262M    /var/log
                  
                  Archived and active journals take up 260.8M in the file system.
                  
                  /opt/iobroker/backups:
                  75M     /opt/iobroker/backups/
                  
                  /opt/iobroker/iobroker-data:
                  370M    /opt/iobroker/iobroker-data/
                  303M    /opt/iobroker/iobroker-data/files
                  57M     /opt/iobroker/iobroker-data/files/javascript.admin
                  45M     /opt/iobroker/iobroker-data/files/devices.admin/static
                  45M     /opt/iobroker/iobroker-data/files/devices.admin
                  
                  The five largest files in iobroker-data are:
                  35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
                  22M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.c05ba1d3.js.map
                  22M     /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.578d79d9.js.map
                  20M     /opt/iobroker/iobroker-data/objects.jsonl
                  8.9M    /opt/iobroker/iobroker-data/files/scenes.admin/static/js/2.7de3299d.chunk.js.map
                  
                  USB-Devices by-id:
                  USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
                  
                  /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_00d4b1faa612ec11879723c7bd930c07-if00-port0
                  
                  *** NodeJS-Installation ***
                  
                  /usr/bin/nodejs         v18.19.1
                  /usr/bin/node           v18.19.1
                  /usr/bin/npm            10.2.4
                  /usr/bin/npx            10.2.4
                  /usr/bin/corepack       0.22.0
                  
                  
                  nodejs:
                    Installed: 18.19.1-1nodesource1
                    Candidate: 18.19.1-1nodesource1
                    Version table:
                   *** 18.19.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                          100 /var/lib/dpkg/status
                       18.19.0+dfsg-6~deb12u1 500
                          500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
                       18.19.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.18.2-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.18.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.18.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.17.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.17.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.16.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.16.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.15.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.14.2-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.14.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.14.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.13.0+dfsg1-1 500
                          500 http://deb.debian.org/debian bookworm/main arm64 Packages
                       18.13.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.12.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.11.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.10.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.9.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.9.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.8.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.7.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.6.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.5.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.4.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.3.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.2.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.1.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                       18.0.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages
                  
                  Temp directories causing npm8 problem: 0
                  No problems detected
                  
                  Errors in npm tree:
                  
                  *** ioBroker-Installation ***
                  
                  ioBroker Status
                  iobroker is running on this host.
                  
                  
                  Objects type: jsonl
                  States  type: redis
                  
                  Core adapters versions
                  js-controller:  5.0.19
                  admin:          6.13.16
                  javascript:     7.8.0
                  
                  Adapters from github:   1
                  
                  Adapter State
                  + system.adapter.admin.0                  : admin                 : RasPi4                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  + system.adapter.backitup.0               : backitup              : RasPi4                                   -  enabled
                    system.adapter.broadlink2.0             : broadlink2            : RasPi4                                   - disabled
                    system.adapter.cloud.0                  : cloud                 : RasPi4                                   - disabled
                    system.adapter.devices.0                : devices               : RasPi4                                   - disabled
                  + system.adapter.discovery.0              : discovery             : RasPi4                                   -  enabled
                    system.adapter.dwd.0                    : dwd                   : RasPi3                                   -  enabled
                    system.adapter.flot.0                   : flot                  : RasPi4                                   - disabled
                  + system.adapter.hm-rega.1                : hm-rega               : RasPi4                                   -  enabled
                  + system.adapter.hm-rpc.2                 : hm-rpc                : RasPi4                                   -  enabled, port: 0
                  + system.adapter.hm-rpc.3                 : hm-rpc                : RasPi4                                   -  enabled, port: 0
                  + system.adapter.hmip.0                   : hmip                  : RasPi4                                   -  enabled
                    system.adapter.ical.0                   : ical                  : RasPi3                                   -  enabled
                    system.adapter.icons-material-png.0     : icons-material-png    : RasPi4                                   - disabled
                    system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : RasPi4                                   - disabled
                  + system.adapter.influxdb.0               : influxdb              : RasPi4                                   -  enabled, port: 8086
                  + system.adapter.influxdb.1               : influxdb              : RasPi4                                   -  enabled, port: 8086
                  + system.adapter.influxdb.2               : influxdb              : RasPi4                                   -  enabled, port: 8086
                  + system.adapter.javascript.0             : javascript            : RasPi4                                   -  enabled
                    system.adapter.luftdaten.0              : luftdaten             : RasPi3                                   -  enabled
                    system.adapter.luftdaten.1              : luftdaten             : RasPi3                                   -  enabled
                    system.adapter.luftdaten.2              : luftdaten             : RasPi3                                   -  enabled
                    system.adapter.mobile.0                 : mobile                : RasPi4                                   - disabled
                  + system.adapter.modbus.0                 : modbus                : RasPi4                                   -  enabled
                  + system.adapter.mqtt.0                   : mqtt                  : RasPi4                                   -  enabled, port: 1882, bind: 127.0.0.1
                  + system.adapter.nut.0                    : nut                   : RasPi4                                   -  enabled
                    system.adapter.openweathermap.0         : openweathermap        : RasPi3                                   -  enabled
                    system.adapter.owfs.0                   : owfs                  : RasPi3                                   -  enabled, port: 4304
                  + system.adapter.ping.0                   : ping                  : RasPi4                                   -  enabled
                    system.adapter.pvforecast.0             : pvforecast            : RasPi3                                   -  enabled
                  + system.adapter.rpi2.0                   : rpi2                  : RasPi4                                   -  enabled
                    system.adapter.rpi2.1                   : rpi2                  : RasPi3                                   -  enabled
                  + system.adapter.scenes.0                 : scenes                : RasPi4                                   -  enabled
                  + system.adapter.shelly.0                 : shelly                : RasPi4                                   -  enabled, port: 1883, bind: 0.0.0.0
                  + system.adapter.simple-api.0             : simple-api            : RasPi4                                   -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                    system.adapter.smartmeter.0             : smartmeter            : RasPi3                                   -  enabled
                  + system.adapter.socketio.0               : socketio              : RasPi4                                   -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                  + system.adapter.sonos.0                  : sonos                 : RasPi4                                   -  enabled
                  + system.adapter.tankerkoenig.0           : tankerkoenig          : RasPi4                                   -  enabled
                  + system.adapter.telegram.0               : telegram              : RasPi4                                   -  enabled, port: 8443, bind: 0.0.0.0
                  + system.adapter.tr-064.0                 : tr-064                : RasPi4                                   -  enabled
                    system.adapter.vis-colorpicker.0        : vis-colorpicker       : RasPi4                                   - disabled
                  + system.adapter.vis-inventwo.0           : vis-inventwo          : RasPi4                                   -  enabled
                    system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : RasPi4                                   - disabled
                    system.adapter.vis-material-webfont.0   : vis-material-webfont  : RasPi4                                   - disabled
                    system.adapter.vis-material.0           : vis-material          : RasPi4                                   - disabled
                    system.adapter.vis-materialdesign.0     : vis-materialdesign    : RasPi4                                   - disabled
                    system.adapter.vis-metro.0              : vis-metro             : RasPi4                                   - disabled
                    system.adapter.vis-players.0            : vis-players           : RasPi4                                   - disabled
                    system.adapter.vis-timeandweather.0     : vis-timeandweather    : RasPi4                                   - disabled
                    system.adapter.vis-weather.0            : vis-weather           : RasPi4                                   - disabled
                    system.adapter.vis.0                    : vis                   : RasPi4                                   -  enabled
                  + system.adapter.web.0                    : web                   : RasPi4                                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                    system.adapter.ws.0                     : ws                    : RasPi4                                   -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                  + system.adapter.zigbee.0                 : zigbee                : RasPi4                                   -  enabled, port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_00d4b1faa612ec11879723c7bd930c07-if00-port0
                  
                  + instance is alive
                  
                  Enabled adapters with bindings
                  + system.adapter.admin.0                  : admin                 : RasPi4                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  + system.adapter.hm-rpc.2                 : hm-rpc                : RasPi4                                   -  enabled, port: 0
                  + system.adapter.hm-rpc.3                 : hm-rpc                : RasPi4                                   -  enabled, port: 0
                  + system.adapter.influxdb.0               : influxdb              : RasPi4                                   -  enabled, port: 8086
                  + system.adapter.influxdb.1               : influxdb              : RasPi4                                   -  enabled, port: 8086
                  + system.adapter.influxdb.2               : influxdb              : RasPi4                                   -  enabled, port: 8086
                  + system.adapter.mqtt.0                   : mqtt                  : RasPi4                                   -  enabled, port: 1882, bind: 127.0.0.1
                    system.adapter.owfs.0                   : owfs                  : RasPi3                                   -  enabled, port: 4304
                  + system.adapter.shelly.0                 : shelly                : RasPi4                                   -  enabled, port: 1883, bind: 0.0.0.0
                  + system.adapter.simple-api.0             : simple-api            : RasPi4                                   -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                  + system.adapter.socketio.0               : socketio              : RasPi4                                   -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                  + system.adapter.telegram.0               : telegram              : RasPi4                                   -  enabled, port: 8443, bind: 0.0.0.0
                  + system.adapter.web.0                    : web                   : RasPi4                                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                    system.adapter.ws.0                     : ws                    : RasPi4                                   -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                  + system.adapter.zigbee.0                 : zigbee                : RasPi4                                   -  enabled, port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_00d4b1faa612ec11879723c7bd930c07-if00-port0
                  
                  ioBroker-Repositories
                  stable        : http://download.iobroker.net/sources-dist.json
                  beta          : http://download.iobroker.net/sources-dist-latest.json
                  
                  Active repo(s): stable
                  
                  Installed ioBroker-Instances
                  Used repository: stable
                  Adapter    "admin"        : 6.13.16  , installed 6.13.16
                  Adapter    "backitup"     : 2.10.11  , installed 2.10.11
                  Adapter    "broadlink2"   : 2.1.5    , installed 2.1.5
                  Adapter    "cloud"        : 4.4.1    , installed 4.4.1
                  Adapter    "devices"      : 1.1.5    , installed 1.1.5
                  Adapter    "discovery"    : 4.2.0    , installed 4.2.0
                  Adapter    "flot"         : 1.12.0   , installed 1.12.0
                  Adapter    "hm-rega"      : 4.0.0    , installed 4.0.0
                  Adapter    "hm-rpc"       : 1.16.0   , installed 1.16.0
                  Adapter    "hmip"         : 1.21.0   , installed 1.22.0
                  Adapter    "icons-material-png": 0.1.0, installed 0.1.0
                  Adapter    "icons-mfd-svg": 1.2.0    , installed 1.2.0
                  Adapter    "influxdb"     : 4.0.2    , installed 4.0.2
                  Adapter    "javascript"   : 7.8.0    , installed 7.8.0
                  Controller "js-controller": 5.0.19   , installed 5.0.19
                  Adapter    "mobile"       : 1.0.1    , installed 1.0.1
                  Adapter    "modbus"       : 6.1.0    , installed 6.1.0
                  Adapter    "mqtt"         : 5.2.0    , installed 5.2.0
                  Adapter    "nut"          : 1.6.0    , installed 1.6.0
                  Adapter    "ping"         : 1.6.2    , installed 1.6.2
                  Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                  Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                  Adapter    "shelly"       : 6.6.1    , installed 6.6.1
                  Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                  Adapter    "socketio"     : 6.6.0    , installed 6.6.0
                  Adapter    "sonos"        : 3.0.0    , installed 3.0.0
                  Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
                  Adapter    "telegram"     : 3.0.1    , installed 3.0.1
                  Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
                  Adapter    "vis"          : 1.5.4    , installed 1.5.4
                  Adapter    "vis-colorpicker": 2.0.3  , installed 2.0.3
                  Adapter    "vis-inventwo" : 3.3.3    , installed 3.3.3
                  Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                  Adapter    "vis-material" : 0.1.3    , installed 0.1.3
                  Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
                  Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
                  Adapter    "vis-players"  : 0.1.6    , installed 0.1.6
                  Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                  Adapter    "vis-weather"  : 2.5.9    , installed 2.5.9
                  Adapter    "web"          : 6.2.3    , installed 6.2.3
                  Adapter    "ws"           : 2.5.10   , installed 2.5.10
                  Adapter    "zigbee"       : 1.10.1   , installed 1.10.1
                  
                  Objects and States
                  Please stand by - This may take a while
                  Objects:        11484
                  States:         9871
                  
                  *** OS-Repositories and Updates ***
                  Hit:1 http://archive.raspberrypi.com/debian bookworm InRelease
                  Hit:2 http://deb.debian.org/debian bookworm InRelease
                  Hit:3 https://repos.influxdata.com/debian stable InRelease
                  Hit:4 http://deb.debian.org/debian-security bookworm-security InRelease
                  Hit:5 https://apt.grafana.com stable InRelease
                  Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease
                  Hit:7 http://deb.debian.org/debian bookworm-updates InRelease
                  Reading package lists...
                  Pending Updates: 0
                  
                  *** Listening Ports ***
                  Active Internet connections (only servers)
                  Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                  tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        14726      780/influxd
                  tcp        0      0 127.0.0.1:1882          0.0.0.0:*               LISTEN      1001       15228      1154/io.mqtt.0
                  tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      107        13291      721/mosquitto
                  tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       22667      1216/io.shelly.0
                  tcp        0      0 192.168.2.210:42001     0.0.0.0:*               LISTEN      1001       18287      1106/io.hm-rpc.3
                  tcp        0      0 192.168.2.210:42010     0.0.0.0:*               LISTEN      1001       17120      1091/io.hm-rpc.2
                  tcp        0      0 0.0.0.0:6379            0.0.0.0:*               LISTEN      106        13311      699/redis-server *:
                  tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          13302      725/sshd: /usr/sbin
                  tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1001       16472      852/iobroker.js-con
                  tcp6       0      0 :::3500                 :::*                    LISTEN      1001       22722      1267/io.sonos.0
                  tcp6       0      0 :::8086                 :::*                    LISTEN      999        13908      780/influxd
                  tcp6       0      0 :::8087                 :::*                    LISTEN      1001       25883      1405/io.simple-api.
                  tcp6       0      0 :::8084                 :::*                    LISTEN      1001       23776      1323/io.socketio.0
                  tcp6       0      0 :::8082                 :::*                    LISTEN      1001       24397      1390/io.web.0
                  tcp6       0      0 :::8081                 :::*                    LISTEN      1001       14777      896/io.admin.0
                  tcp6       0      0 :::1882                 :::*                    LISTEN      107        13292      721/mosquitto
                  tcp6       0      0 :::6379                 :::*                    LISTEN      106        13312      699/redis-server *:
                  tcp6       0      0 :::22                   :::*                    LISTEN      0          13304      725/sshd: /usr/sbin
                  tcp6       0      0 :::3000                 :::*                    LISTEN      108        13926      851/grafana
                  udp        0      0 0.0.0.0:5353            0.0.0.0:*                           104        13072      541/avahi-daemon: r
                  udp        0      0 0.0.0.0:44362           0.0.0.0:*                           104        13074      541/avahi-daemon: r
                  udp6       0      0 :::5353                 :::*                                104        13073      541/avahi-daemon: r
                  udp6       0      0 fe80::5635:5d6e:3e1:546 :::*                                0          17493      653/NetworkManager
                  udp6       0      0 :::37488                :::*                                104        13075      541/avahi-daemon: r
                  
                  *** Log File - Last 25 Lines ***
                  
                  2024-03-02 11:06:22.563  - warn: shelly.0 (1216) [authEnabled] 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:22.883  - info: javascript.0 (984) script.js.EIGENE_SCRIPTE.Geraete.Kuehlgeraete.Gefrierschrank_Status_v1: Status 2 | Gefrierschrank LÄUFT
                  2024-03-02 11:06:23.695  - warn: shelly.0 (1216) [authEnabled] 192.168.2.37 (shellyplug-s / shellyplug-s-4022D881C855 / SHPLG-S#4022D881C855#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:23.746  - warn: shelly.0 (1216) [authEnabled] 192.168.2.33 (shellyplug-s / shellyplug-s-7A34A5 / SHPLG-S#7A34A5#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:23.752  - warn: shelly.0 (1216) [authEnabled] 192.168.2.34 (shellyplug-s / shellyplug-s-041B6E / SHPLG-S#041B6E#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:26.761  - warn: host.RasPi4 "system.host.RasPi3" is offline
                  2024-03-02 11:06:26.913  - warn: host.RasPi4 "system.host.RasPi3" is offline
                  2024-03-02 11:06:27.028  - warn: host.RasPi4 "system.host.RasPi3" is offline
                  2024-03-02 11:06:32.598  - warn: shelly.0 (1216) [authEnabled] 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:32.622  - warn: shelly.0 (1216) [authEnabled] 192.168.2.35 (shellyplug-s / shellyplug-s-F1AEC2 / SHPLG-S#F1AEC2#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:32.654  - warn: shelly.0 (1216) [authEnabled] 192.168.2.48 (shellyplug-s / shellyplug-s-9DCC68 / SHPLG-S#9DCC68#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:32.939  - warn: shelly.0 (1216) [authEnabled] 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:33.743  - warn: sonos.0 (1267) State "sonos.0.root.192_168_2_44.current_track_number" has no existing object, this might lead to an error in future versions
                  2024-03-02 11:06:33.818  - warn: sonos.0 (1267) State "sonos.0.root.192_168_2_44.current_track_number" has no existing object, this might lead to an error in future versions
                  2024-03-02 11:06:33.968  - warn: shelly.0 (1216) [authEnabled] 192.168.2.37 (shellyplug-s / shellyplug-s-4022D881C855 / SHPLG-S#4022D881C855#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:34.035  - warn: shelly.0 (1216) [authEnabled] 192.168.2.33 (shellyplug-s / shellyplug-s-7A34A5 / SHPLG-S#7A34A5#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:34.043  - warn: shelly.0 (1216) [authEnabled] 192.168.2.34 (shellyplug-s / shellyplug-s-041B6E / SHPLG-S#041B6E#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:42.709  - warn: shelly.0 (1216) [authEnabled] 192.168.2.31 (shellyplug-s / shellyplug-s-04119D / SHPLG-S#04119D#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:42.763  - warn: shelly.0 (1216) [authEnabled] 192.168.2.35 (shellyplug-s / shellyplug-s-F1AEC2 / SHPLG-S#F1AEC2#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:42.827  - warn: shelly.0 (1216) [authEnabled] 192.168.2.48 (shellyplug-s / shellyplug-s-9DCC68 / SHPLG-S#9DCC68#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:43.084  - warn: shelly.0 (1216) [authEnabled] 192.168.2.32 (shellyplug-s / shellyplug-s-4022D881C8A0 / SHPLG-S#4022D881C8A0#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:44.137  - warn: shelly.0 (1216) [authEnabled] 192.168.2.37 (shellyplug-s / shellyplug-s-4022D881C855 / SHPLG-S#4022D881C855#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:44.231  - warn: shelly.0 (1216) [authEnabled] 192.168.2.34 (shellyplug-s / shellyplug-s-041B6E / SHPLG-S#041B6E#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:44.236  - warn: shelly.0 (1216) [authEnabled] 192.168.2.33 (shellyplug-s / shellyplug-s-7A34A5 / SHPLG-S#7A34A5#1): This device is not protected via restricted login (see adapter documentation for details)
                  2024-03-02 11:06:47.696  - info: javascript.0 (984) script.js.EIGENE_SCRIPTE.Geraete.Kuehlgeraete.Gefrierschrank_Status_v1: Status 2 | Gefrierschrank LÄUFT
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • Marc Berg
                    Marc Berg Most Active last edited by

                    @lollo_c sagte in System mit Master/Slave neu aufsetzen:

                    tcp        0      0 0.0.0.0:6379            0.0.0.0:*               LISTEN      106        13311      699/redis-server *:
                    

                    Das sieht jetzt eigentlich gut aus. Habe erstmal keine Idee, was da noch schief sein könnte. Die IP auf dem Slave passt ganz sicher?

                    L 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators last edited by

                      @marc-berg sagte in System mit Master/Slave neu aufsetzen:

                      Im Standard hört die redis DB dann auf alle verfügbaren Interfaces.

                      sicher?
                      ich meine 0.0.0.0 muss explizit freigegeben werden

                      1 Reply Last reply Reply Quote 0
                      • L
                        Lollo_C @Marc Berg last edited by

                        @marc-berg
                        Am Slave habe ich ja nichts geändert. Ich kann mit Putty auf ihn zugreifen. Die iob diag vom Slave sieht wie folgt aus:

                        Skript v.2023-10-10
                        
                        *** BASE SYSTEM ***
                           Static hostname: RasPi3
                                 Icon name: computer
                          Operating System: Raspbian GNU/Linux 10 (buster)
                                    Kernel: Linux 5.10.103-v7+
                              Architecture: arm
                        
                        Model           : Raspberry Pi 3 Model B Plus Rev 1.3
                        Docker          : false
                        Virtualization  : none
                        Kernel          : armv7l
                        Userland        : armhf
                        
                        Systemuptime and Load:
                         11:22:26 up 16:07,  1 user,  load average: 0.32, 0.25, 0.21
                        CPU threads: 4
                        
                        
                        *** RASPBERRY THROTTLING ***
                        Current issues:
                        No throttling issues detected.
                        
                        Previously detected issues:
                        ~ Under-voltage has occurred
                        
                        *** Time and Time Zones ***
                                       Local time: Sat 2024-03-02 11:22:26 CET
                                   Universal time: Sat 2024-03-02 10:22:26 UTC
                                         RTC time: n/a
                                        Time zone: Europe/Berlin (CET, +0100)
                        System clock synchronized: yes
                                      NTP service: active
                                  RTC in local TZ: no
                        
                        *** User and Groups ***
                        pi
                        /home/pi
                        pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker
                        
                        *** X-Server-Setup ***
                        X-Server:       false
                        Desktop:
                        Terminal:       tty
                        Boot Target:    graphical.target
                        
                        *** MEMORY ***
                                      total        used        free      shared  buff/cache   available
                        Mem:           923M        211M        262M         15M        449M        733M
                        Swap:           99M        3.0M         96M
                        Total:         1.0G        214M        359M
                        
                                  923 M total memory
                                  211 M used memory
                                  283 M active memory
                                  312 M inactive memory
                                  262 M free memory
                                   79 M buffer memory
                                  369 M swap cache
                                   99 M total swap
                                    3 M used swap
                                   96 M free swap
                        
                        Raspberry only:
                        oom events: 0
                        lifetime oom required: 0 Mbytes
                        total time in oom handler: 0 ms
                        max time spent in oom handler: 0 ms
                        
                        *** FAILED SERVICES ***
                        
                        0 loaded units listed. Pass --all to see loaded but inactive units, too.
                        To show all installed unit files use 'systemctl list-unit-files'.
                        
                        *** FILESYSTEM ***
                        Filesystem     Type      Size  Used Avail Use% Mounted on
                        /dev/root      ext4       15G  5.5G  8.2G  40% /
                        devtmpfs       devtmpfs  430M     0  430M   0% /dev
                        tmpfs          tmpfs     462M     0  462M   0% /dev/shm
                        tmpfs          tmpfs     462M   18M  444M   4% /run
                        tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                        tmpfs          tmpfs     462M     0  462M   0% /sys/fs/cgroup
                        /dev/mmcblk0p1 vfat      253M   49M  204M  20% /boot
                        tmpfs          tmpfs      93M     0   93M   0% /run/user/1000
                        
                        Messages concerning ext4 filesystem in dmesg:
                        [Fri Mar  1 19:15:07 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
                        [Fri Mar  1 19:15:10 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
                        [Fri Mar  1 19:15:10 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                        [Fri Mar  1 19:15:13 2024] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                        
                        Show mounted filesystems \(real ones only\):
                        TARGET        SOURCE         FSTYPE    OPTIONS
                        /             /dev/mmcblk0p2 ext4      rw,noatime
                        |-/sys/fs/bpf none           bpf       rw,nosuid,nodev,noexec,relatime,mode=700
                        |-/run/owfs   OWFS           fuse.OWFS rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other
                        `-/boot       /dev/mmcblk0p1 vfat      rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                        
                        Files in neuralgic directories:
                        
                        /var:
                        2.6G    /var/
                        2.3G    /var/cache/apt/archives
                        2.3G    /var/cache/apt
                        2.3G    /var/cache
                        147M    /var/lib
                        
                        Archived and active journals take up 17.3M in the file system.
                        
                        /opt/iobroker/backups:
                        169M    /opt/iobroker/backups/
                        
                        /opt/iobroker/iobroker-data:
                        42M     /opt/iobroker/iobroker-data/
                        22M     /opt/iobroker/iobroker-data/files
                        15M     /opt/iobroker/iobroker-data/backup-objects
                        8.0M    /opt/iobroker/iobroker-data/files/vis
                        7.9M    /opt/iobroker/iobroker-data/files/web
                        
                        The five largest files in iobroker-data are:
                        2.0M    /opt/iobroker/iobroker-data/objects.json.migrated
                        2.0M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                        636K    /opt/iobroker/iobroker-data/backup-objects/2020-11-18_19-20_objects.json.gz
                        632K    /opt/iobroker/iobroker-data/backup-objects/2020-11-18_19-28_objects.json.gz
                        632K    /opt/iobroker/iobroker-data/backup-objects/2020-11-18_19-25_objects.json.gz
                        
                        USB-Devices by-id:
                        USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
                        
                        /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DK0EJEOL-if00-port0
                        
                        *** NodeJS-Installation ***
                        
                        /usr/bin/nodejs         v18.19.1
                        /usr/bin/node           v18.19.1
                        /usr/bin/npm            10.2.4
                        /usr/bin/npx            10.2.4
                        /usr/bin/corepack       0.22.0
                        
                        
                        nodejs:
                          Installed: 18.19.1-1nodesource1
                          Candidate: 18.19.1-1nodesource1
                          Version table:
                         *** 18.19.1-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                                100 /var/lib/dpkg/status
                             18.19.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.18.2-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.18.1-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.18.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.17.1-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.17.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.16.1-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.16.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.15.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.14.2-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.14.1-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.14.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.13.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.12.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.11.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.10.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.9.1-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.9.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.8.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.7.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.6.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.5.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.4.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.3.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.2.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.1.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             18.0.0-1nodesource1 600
                                500 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages
                             10.24.0~dfsg-1~deb10u3 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                        
                        Temp directories causing npm8 problem: 0
                        No problems detected
                        
                        Errors in npm tree:
                        
                        *** ioBroker-Installation ***
                        
                        ioBroker Status
                        No connection to states 192.168.2.210:6379[redis]
                        
                        Core adapters versions
                        js-controller:  5.0.19
                        admin:          6.3.5
                        javascript:     "javascript" not found
                        
                        Adapters from github:   0
                        
                        Adapter State
                        No connection to states 192.168.2.210:6379[redis]
                        
                        Enabled adapters with bindings
                        
                        ioBroker-Repositories
                        No connection to states 192.168.2.210:6379[redis]
                        
                        Installed ioBroker-Instances
                        No connection to states 192.168.2.210:6379[redis]
                        
                        Objects and States
                        Please stand by - This may take a while
                        Objects:        1
                        States:         1
                        
                        *** OS-Repositories and Updates ***
                        W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repos.influxdata.com/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                        W: Failed to fetch https://repos.influxdata.com/debian/dists/buster/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                        W: Some index files failed to download. They have been ignored, or old ones used instead.
                        Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                        Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                        Hit:3 http://phoscon.de/apt/deconz buster InRelease
                        Get:4 https://repos.influxdata.com/debian buster InRelease [7047 B]
                        Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
                        Err:4 https://repos.influxdata.com/debian buster InRelease
                          The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                        Fetched 7047 B in 2s (4327 B/s)
                        Reading package lists...
                        W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repos.influxdata.com/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                        W: Failed to fetch https://repos.influxdata.com/debian/dists/buster/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                        W: Some index files failed to download. They have been ignored, or old ones used instead.
                        Pending Updates: 2
                        
                        *** Listening Ports ***
                        Active Internet connections (only servers)
                        Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                        tcp        0      0 0.0.0.0:2120            0.0.0.0:*               LISTEN      109        15414      327/owftpd
                        tcp        0      0 0.0.0.0:2121            0.0.0.0:*               LISTEN      109        16506      456/owhttpd
                        tcp        0      0 0.0.0.0:5005            0.0.0.0:*               LISTEN      0          15896      637/node
                        tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          15836      642/sshd
                        tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        16526      409/influxd
                        tcp6       0      0 :::3500                 :::*                    LISTEN      0          15898      637/node
                        tcp6       0      0 :::4304                 :::*                    LISTEN      0          13594      1/init
                        tcp6       0      0 :::8086                 :::*                    LISTEN      999        16006      409/influxd
                        tcp6       0      0 :::22                   :::*                    LISTEN      0          15846      642/sshd
                        udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14849      635/dhcpcd
                        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14734      346/avahi-daemon: r
                        udp        0      0 0.0.0.0:42936           0.0.0.0:*                           108        14736      346/avahi-daemon: r
                        udp6       0      0 :::45220                :::*                                108        14737      346/avahi-daemon: r
                        udp6       0      0 :::5353                 :::*                                108        14735      346/avahi-daemon: r
                        udp6       0      0 :::546                  :::*                                0          14993      635/dhcpcd
                        
                        *** Log File - Last 25 Lines ***
                        
                        2024-03-02 11:22:20.955  - info: host.RasPi3 iobroker _restart
                        2024-03-02 11:22:29.592  - info: host.RasPi3 iobroker.js-controller version 5.0.19 js-controller starting
                        2024-03-02 11:22:29.605  - info: host.RasPi3 Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                        2024-03-02 11:22:29.607  - info: host.RasPi3 hostname: RasPi3, node: v18.19.1
                        2024-03-02 11:22:29.609  - info: host.RasPi3 ip addresses: 192.168.2.30 2003:e0:9712:9a00:bee:e5c2:b6b8:6aad fe80::df32:ad2b:5f7d:3ca
                        2024-03-02 11:22:59.685  - error: host.RasPi3 No connection to databases possible, restart
                        2024-03-02 11:22:59.699  - info: host.RasPi3 iobroker _restart
                        2024-03-02 11:23:07.999  - info: host.RasPi3 iobroker.js-controller version 5.0.19 js-controller starting
                        2024-03-02 11:23:08.011  - info: host.RasPi3 Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                        2024-03-02 11:23:08.013  - info: host.RasPi3 hostname: RasPi3, node: v18.19.1
                        2024-03-02 11:23:08.016  - info: host.RasPi3 ip addresses: 192.168.2.30 2003:e0:9712:9a00:bee:e5c2:b6b8:6aad fe80::df32:ad2b:5f7d:3ca
                        2024-03-02 11:23:38.096  - error: host.RasPi3 No connection to databases possible, restart
                        2024-03-02 11:23:38.123  - info: host.RasPi3 iobroker _restart
                        2024-03-02 11:23:46.193  - info: host.RasPi3 iobroker.js-controller version 5.0.19 js-controller starting
                        2024-03-02 11:23:46.207  - info: host.RasPi3 Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                        2024-03-02 11:23:46.210  - info: host.RasPi3 hostname: RasPi3, node: v18.19.1
                        2024-03-02 11:23:46.212  - info: host.RasPi3 ip addresses: 192.168.2.30 2003:e0:9712:9a00:bee:e5c2:b6b8:6aad fe80::df32:ad2b:5f7d:3ca
                        2024-03-02 11:24:16.265  - error: host.RasPi3 No connection to databases possible, restart
                        2024-03-02 11:24:16.280  - info: host.RasPi3 iobroker _restart
                        2024-03-02 11:24:24.292  - info: host.RasPi3 iobroker.js-controller version 5.0.19 js-controller starting
                        2024-03-02 11:24:24.302  - info: host.RasPi3 Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                        2024-03-02 11:24:24.304  - info: host.RasPi3 hostname: RasPi3, node: v18.19.1
                        2024-03-02 11:24:24.305  - info: host.RasPi3 ip addresses: 192.168.2.30 2003:e0:9712:9a00:bee:e5c2:b6b8:6aad fe80::df32:ad2b:5f7d:3ca
                        2024-03-02 11:24:54.355  - error: host.RasPi3 No connection to databases possible, restart
                        2024-03-02 11:24:54.369  - info: host.RasPi3 iobroker _restart
                        
                        
                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Lollo_C last edited by Homoran

                          @lollo_c sagte in System mit Master/Slave neu aufsetzen:

                          Am Slave habe ich ja nichts geändert.

                          mach da mal iob setup custom und prüfe/korrigiere die Parameter

                          laut Konfiguration im ersten Post hast du jsonl eingestellt

                          EDIT
                          SORRY, war Blödsinn

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            Lollo_C @Homoran last edited by

                            @homoran
                            Bevor ich das mache: wären das die richtigen Parameter, oder muss ich bei Host auf states die des Master angeben?

                            Type of objects DB [file, couch, redis], default [jsonl]: ENTER
                            Host of objects DB(file), default[127.0.0.1]: <0.0.0.0>
                            Port of objects DB(file), default[9001]: ENTER
                            Type of states DB [file, redis], default [redis]: ENTER
                            Host of states DB (file), default[0.0.0.0]: ENTER
                            Port of states DB (file), default[6379]: ENTER
                            Host name of this machine [RasPi3]: ENTER
                            
                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Lollo_C last edited by Homoran

                              @lollo_c Dein slave soll doch auf die Redis des Masters zugreifen
                              (wieso überhaupt redis?)

                              dann muss hier (beim Slave) auch die IP des Masters rein.

                              bei den objects mit JSONL bin ich mir da nicht sicher

                              L 1 Reply Last reply Reply Quote 0
                              • L
                                Lollo_C @Homoran last edited by

                                @homoran
                                Warum redis: weil irgendwann mal gesagt wurde, dann läuft der iobroker schneller. (Sorry, aber ich habe mein Wissen meist von YT). Egal: ich habe beim Slave kontrolliert:

                                Current configuration:
                                - Objects database:
                                  - Type: jsonl
                                  - Host/Unix Socket: 192.168.2.210
                                  - Port: 9001
                                - States database:
                                  - Type: redis
                                  - Host/Unix Socket: 192.168.2.210
                                  - Port: 6379
                                - Data Directory: ../../iobroker-data/
                                
                                Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [jsonl]:
                                Host / Unix Socket of objects DB(jsonl), default[192.168.2.210]:
                                Port of objects DB(jsonl), default[9001]:
                                Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [jsonl]: r
                                Host / Unix Socket of states DB (redis), default[192.168.2.210]:
                                Port of states DB (redis), default[6379]:
                                Host name of this machine [RasPi3]:
                                updating conf/iobroker.json
                                
                                

                                Sieht für mich erst einmal i.O. aus, oder?

                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Lollo_C last edited by Homoran

                                  @lollo_c sagte in System mit Master/Slave neu aufsetzen:

                                  weil irgendwann mal gesagt wurde,

                                  ja, bei Raspberry v1/2 und ähnlichen.

                                  und läuft's jetzt?

                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    Lollo_C @Homoran last edited by Lollo_C

                                    @homoran sagte in System mit Master/Slave neu aufsetzen:

                                    und läuft's jetzt?

                                    nein, leider nicht.

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @Lollo_C last edited by

                                      @lollo_c sagte in System mit Master/Slave neu aufsetzen:

                                      @homoran sagte in System mit Master/Slave neu aufsetzen:

                                      und läuft's jetzt?

                                      nein, leider nicht.

                                      dann bitte nochmal auf dem Master in der redis.conf explizit die 0.0.0.0 freigeben (über bind)
                                      wenn das auch nicht hilft, Master und slave neu starten (ggf. 2x im Wechsel)

                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        Lollo_C @Homoran last edited by

                                        @homoran
                                        Ich glaube, jetzt habe ich was falsch eingegeben. In der redis.config:

                                        bind 127.0.0.1 0.0.0.0
                                        

                                        Beim "sudo service redis-server restart" kommt Fehlermeldung

                                        Job for redis-server.service failed because the control process exited with error code.
                                        See "systemctl status redis-server.service" and "journalctl -xeu redis-server.service" for details.
                                        
                                        
                                        Marc Berg 1 Reply Last reply Reply Quote 0
                                        • Marc Berg
                                          Marc Berg Most Active @Lollo_C last edited by Marc Berg

                                          @lollo_c sagte in System mit Master/Slave neu aufsetzen:

                                          bind 127.0.0.1 0.0.0.0

                                          Das geht so nicht. Wenn, dann musst du

                                          bind  0.0.0.0
                                          

                                          eingeben. Aber wie oben bereits erwähnt, ist es das gleiche, als wenn du gar nichts konfigurierst. Und man hat ja schon gesehen, dass es funktionierte:

                                          tcp        0      0 0.0.0.0:6379            0.0.0.0:*               LISTEN      106        13311      699/redis-server *:
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • Marc Berg
                                            Marc Berg Most Active last edited by

                                            Hast du

                                            protected-mode no
                                            

                                            in der redis.conf eingestellt?

                                            L Homoran 3 Replies Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            652
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            31
                                            1674
                                            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