Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Port 8081 nicht mehr erreichbar, "error: conn. to databases

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.0k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    924

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Port 8081 nicht mehr erreichbar, "error: conn. to databases

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
16 Beiträge 4 Kommentatoren 1.2k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • meuteM meute

    Hallo,

    ich habe ioBroker vor wenigen Tagen installiert.

    Jetzt ist Port 8081 nicht mehr erreichbar.
    Der Port ist nicht offen.

    sudo netstat -npl –tcp | grep 8081
    

    Hier https://forum.iobroker.net/topic/57255/io-broker-auf-8081-nicht-aufrufbar-nach-wiederherstellung?_=1677954913048
    habe ich das gefunden:

    iobroker logs --watch
    

    Ergebnis:

    "error: host.raspi01 No connection to databases possible, restart"
    

    Der RPi wurde schon neu gestartet.

    Ich habe auch schon den Installer neu ausgeführt.

    curl -sLf https://iobroker.net/install.sh | sudo bash -
    

    Was ist da passiert?
    Lösung?

    DJMarc75D Offline
    DJMarc75D Offline
    DJMarc75
    schrieb am zuletzt editiert von
    #4

    @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

    Was ist da passiert?

    Die Frage ist: Wie hast Du da was genau installiert?

    Lehrling seit 1975 !!!
    Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
    https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

    1 Antwort Letzte Antwort
    0
    • HomoranH Homoran

      @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

      ich habe ioBroker vor wenigen Tagen installiert.

      dein Link zeigt auf

      @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

      -nicht-aufrufbar-nach-wiederherstellung

      hast du auch wiederhergestellt?
      wenn ja von welchem System auf welches neue System, und natürlich wie genau durchgeführt?

      @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

      Jetzt ist Port 8081 nicht mehr erreichbar.

      ohne dass irgendwas geändert wurde?

      Wie sieht deine Installation aus?

      meuteM Online
      meuteM Online
      meute
      schrieb am zuletzt editiert von meute
      #5

      @homoran sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

      dein Link zeigt auf

      @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

      -nicht-aufrufbar-nach-wiederherstellung

      hast du auch wiederhergestellt?
      wenn ja von welchem System auf welches neue System, und natürlich wie genau durchgeführt?

      Nein, es wurde nichts wiederhergestellt.
      Ich wollte mit dem Link nur andeuten, dass ich dort den Befehl für die Log-Kontrolle gefunden habe.

      iobroker logs --watch
      

      @homoran sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

      ohne dass irgendwas geändert wurde?

      Gute Frage.
      An dem RPI passiert weiter nichts.
      Wird MariaDB vom ioBroker benötigt?
      Denn MariaDB habe ich deinstalliert, weil ich die DB früher mal auf dem RPI gebraucht habe.

      @homoran sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

      Wie sieht deine Installation aus?

      Hm?
      Installiert habe ich so:
      https://www.iobroker.net/#de/documentation/install/linux.md

      curl -sLf https://iobroker.net/install.sh | bash -
      

      Danach lief der ioBroker ja auch.

      fraenk for friends Code: MATF103

      1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @meute

        iob diag
        

        spuckt was aus?

        meuteM Online
        meuteM Online
        meute
        schrieb am zuletzt editiert von
        #6

        @thomas-braun sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

        @meute

        iob diag
        

        spuckt was aus?

        Ergebnis von

        iob diag
        

        ======== Start marking the full check here =========

        Skript v.2023-01-02
        
        *** BASE SYSTEM ***
        Model           : Raspberry Pi 3 Model B Plus Rev 1.3
        Architecture:   aarch64
        Docker:         false
        Virtualization: none
        Distributor ID: Debian
        Description:    Debian GNU/Linux 11 (bullseye)
        Release:        11
        Codename:       bullseye
        
        PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
        NAME="Debian GNU/Linux"
        VERSION_ID="11"
        VERSION="11 (bullseye)"
        VERSION_CODENAME=bullseye
        ID=debian
        HOME_URL="https://www.debian.org/"
        SUPPORT_URL="https://www.debian.org/support"
        BUG_REPORT_URL="https://bugs.debian.org/"
        
        Systemuptime and Load:
         11:40:11 up 16:21,  1 user,  load average: 0.39, 0.49, 0.43
        CPU threads: 4
        
        *** Time and Time Zones ***
        Sun Mar  5 10:40:11 UTC 2023
        Sun Mar  5 11:40:11 CET 2023
        CET +0100
        Europe/Berlin
        
        *** User and Groups ***
        meinuser
        /home/meinuser
        meinuser adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin docker gpio i2c spi iobroker
        
        *** X-Server-Setup ***
        X-Server:       true
        Desktop:
        Terminal:       tty
        Boot Target:    graphical.target
        
        *** MEMORY ***
                       total        used        free      shared  buff/cache   available
        Mem:            909M        364M         79M        4.0M        466M        404M
        Swap:             0B          0B          0B
        Total:          909M        364M         79M
        
                  909 M total memory
                  364 M used memory
                  124 M active memory
                  349 M inactive memory
                   78 M free memory
                   19 M buffer memory
                  447 M swap cache
                    0 M total swap
                    0 M used swap
                    0 M free swap
        
        *** FILESYSTEM ***
        Filesystem                              Type      Size  Used Avail Use% Mounted on
        /dev/root                               ext4       15G  7.9G  5.8G  58% /
        devtmpfs                                devtmpfs  325M     0  325M   0% /dev
        tmpfs                                   tmpfs     455M     0  455M   0% /dev/shm
        tmpfs                                   tmpfs     182M  908K  182M   1% /run
        tmpfs                                   tmpfs     5.0M  4.0K  5.0M   1% /run/lock
        /dev/sda1                               vfat      253M   31M  222M  13% /boot
        tmpfs                                   tmpfs      91M   20K   91M   1% /run/user/109
        192.168.23.82:/media/nfs_usb_ssd_backup nfs4      110G   38G   67G  36% /media/raspi02_usb_ssd_backup
        tmpfs                                   tmpfs      91M   20K   91M   1% /run/user/1000
        
        Messages in dmesg:
        [Sat Mar  4 19:18:24 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=fc635420-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
        [Sat Mar  4 19:18:30 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
        [Sat Mar  4 19:18:30 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
        [Sat Mar  4 19:18:33 2023] EXT4-fs (sda2): re-mounted. Opts: (null). Quota mode: none.
        
        Show mounted filesystems (real ones only):
        TARGET                          SOURCE                                  FSTYPE OPTIONS
        /                               /dev/sda2                               ext4   rw,noatime
        |-/media/raspi02_usb_ssd_backup 192.168.23.82:/media/nfs_usb_ssd_backup nfs4   rw,relatime,vers=4.2,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.23.81,local_lock=none,addr=192.168.23.82
        `-/boot                         /dev/sda1                               vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
        
        Files in neuralgic directories:
        
        /var:
        4.0G    /var/
        2.6G    /var/lib
        2.3G    /var/lib/docker
        2.2G    /var/lib/docker/overlay2
        1.2G    /var/log/journal/dbb184e505344dae88426d3e21a16a3f
        
        /opt/iobroker/backups:
        2.3M    /opt/iobroker/backups/
        
        /opt/iobroker/iobroker-data:
        44M     /opt/iobroker/iobroker-data/
        19M     /opt/iobroker/iobroker-data/backup-objects
        15M     /opt/iobroker/iobroker-data/files
        13M     /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js
        13M     /opt/iobroker/iobroker-data/files/admin.admin/custom/static
        
        The five largest files in iobroker-data are:
        9.9M    /opt/iobroker/iobroker-data/objects.jsonl
        6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
        2.8M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js
        1.6M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map
        1.1M    /opt/iobroker/iobroker-data/backup-objects/2023-03-03_00-14_objects.jsonl.gz
        
        *** NodeJS-Installation ***
        
        /usr/bin/nodejs         v16.19.1
        /usr/bin/node           v16.19.1
        /usr/bin/npm            8.19.3
        /usr/bin/npx            8.19.3
        
        nodejs:
          Installed: 16.19.1-deb-1nodesource1
          Candidate: 16.19.1-deb-1nodesource1
          Version table:
         *** 16.19.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                100 /var/lib/dpkg/status
             12.22.12~dfsg-1~deb11u3 500
                500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
             12.22.5~dfsg-2~11u1 500
                500 http://deb.debian.org/debian bullseye/main arm64 Packages
        
        Temp directories causing npm8 problem: 0
        
        *** ioBroker-Installation ***
        
        ioBroker Status
         Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
         Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
        Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
        
        Core adapters versions
        js-controller:  4.0.24
        admin:          6.3.5
        javascript:     "javascript" not found
        
        Adapters from github:   0
        
        Adapter State
         Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
         Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
        Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
        
        Enabled adapters with bindings
        
        ioBroker-Repositories
         Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
         Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
         Objects database error: connect ECONNREFUSED 127.0.0.1:9001
         Objects database error: connect ECONNREFUSED 127.0.0.1:9001
         Objects database error: connect ECONNREFUSED 127.0.0.1:9001
         Objects database error: connect ECONNREFUSED 127.0.0.1:9001
        No connection to databases possible ...
        
        Installed ioBroker-Instances
         Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
         Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
        Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
        
        Objects and States
        Please stand by - This may take a while
        Objects:        3
        States:         3
        
        *** OS-Repositories and Updates ***
        Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
        Hit:2 http://deb.debian.org/debian bullseye InRelease
        Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
        Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
        Hit:5 https://download.docker.com/linux/debian bullseye InRelease
        Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
        Hit:7 https://apt.syncthing.net syncthing 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 0.0.0.0:9000            0.0.0.0:*               LISTEN      0          113267     15437/docker-proxy
        tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          99167      12224/cupsd
        tcp        0      0 0.0.0.0:2388            0.0.0.0:*               LISTEN      0          14828      526/sshd: /usr/sbin
        tcp        0      0 192.168.23.81:8384      0.0.0.0:*               LISTEN      1000       12170      665/syncthing
        tcp        0      0 0.0.0.0:9443            0.0.0.0:*               LISTEN      0          113261     15403/docker-proxy
        tcp6       0      0 :::22000                :::*                    LISTEN      1000       14963      665/syncthing
        tcp6       0      0 :::9000                 :::*                    LISTEN      0          113270     15444/docker-proxy
        tcp6       0      0 :::2388                 :::*                    LISTEN      0          14830      526/sshd: /usr/sbin
        tcp6       0      0 :::9443                 :::*                    LISTEN      0          113264     15418/docker-proxy
        tcp6       0      0 :::80                   :::*                    LISTEN      0          114974     15578/apache2
        tcp6       0      0 ::1:631                 :::*                    LISTEN      0          99166      12224/cupsd
        udp        0      0 0.0.0.0:21027           0.0.0.0:*                           1000       12851      665/syncthing
        udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          12691      412/dhcpcd
        udp        0      0 0.0.0.0:51820           0.0.0.0:*                           0          13858      -
        udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          99826      12227/cups-browsed
        udp        0      0 0.0.0.0:56995           0.0.0.0:*                           1000       12850      665/syncthing
        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        12532      375/avahi-daemon: r
        udp        0      0 0.0.0.0:40249           0.0.0.0:*                           108        12534      375/avahi-daemon: r
        udp6       0      0 :::22000                :::*                                1000       14972      665/syncthing
        udp6       0      0 :::21027                :::*                                1000       12853      665/syncthing
        udp6       0      0 :::51820                :::*                                0          13859      -
        udp6       0      0 :::5353                 :::*                                108        12533      375/avahi-daemon: r
        udp6       0      0 :::36225                :::*                                108        12535      375/avahi-daemon: r
        udp6       0      0 :::43413                :::*                                1000       12852      665/syncthing
        
        *** Log File - Last 25 Lines ***
        
        2023-03-05 11:41:32.216  - info: host.raspi01 iobroker _restart
        2023-03-05 11:41:38.966  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
        2023-03-05 11:41:38.977  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2023-03-05 11:41:38.979  - info: host.raspi01 hostname: raspi01, node: v16.19.1
        2023-03-05 11:41:38.982  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
        2023-03-05 11:41:42.322  - error: host.raspi01-Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
        2023-03-05 11:41:48.078  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
        2023-03-05 11:41:48.089  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2023-03-05 11:41:48.091  - info: host.raspi01 hostname: raspi01, node: v16.19.1
        2023-03-05 11:41:48.094  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
        2023-03-05 11:41:51.419  - error: host.raspi01-Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
        2023-03-05 11:41:57.453  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
        2023-03-05 11:41:57.469  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2023-03-05 11:41:57.472  - info: host.raspi01 hostname: raspi01, node: v16.19.1
        2023-03-05 11:41:57.476  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
        2023-03-05 11:41:59.241  - info: host.raspi01-Server  Error inMem-objects listening on port 9000: Error: listen EADDRINUSE: address already in use 127.0.0.1:9000
        2023-03-05 11:42:27.521  - error: host.raspi01 No connection to databases possible, restart
        2023-03-05 11:42:27.536  - info: host.raspi01 iobroker _restart
        2023-03-05 11:42:34.481  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
        2023-03-05 11:42:34.493  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
        2023-03-05 11:42:34.496  - info: host.raspi01 hostname: raspi01, node: v16.19.1
        2023-03-05 11:42:34.499  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
        2023-03-05 11:42:35.813  - info: host.raspi01-Server  Error inMem-objects listening on port 9000: Error: listen EADDRINUSE: address already in use 127.0.0.1:9000
        2023-03-05 11:43:04.532  - error: host.raspi01 No connection to databases possible, restart
        2023-03-05 11:43:04.545  - info: host.raspi01 iobroker _restart
        
        

        ============ Mark until here for C&P =============

        fraenk for friends Code: MATF103

        HomoranH Thomas BraunT 2 Antworten Letzte Antwort
        0
        • meuteM meute

          @thomas-braun sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

          @meute

          iob diag
          

          spuckt was aus?

          Ergebnis von

          iob diag
          

          ======== Start marking the full check here =========

          Skript v.2023-01-02
          
          *** BASE SYSTEM ***
          Model           : Raspberry Pi 3 Model B Plus Rev 1.3
          Architecture:   aarch64
          Docker:         false
          Virtualization: none
          Distributor ID: Debian
          Description:    Debian GNU/Linux 11 (bullseye)
          Release:        11
          Codename:       bullseye
          
          PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
          NAME="Debian GNU/Linux"
          VERSION_ID="11"
          VERSION="11 (bullseye)"
          VERSION_CODENAME=bullseye
          ID=debian
          HOME_URL="https://www.debian.org/"
          SUPPORT_URL="https://www.debian.org/support"
          BUG_REPORT_URL="https://bugs.debian.org/"
          
          Systemuptime and Load:
           11:40:11 up 16:21,  1 user,  load average: 0.39, 0.49, 0.43
          CPU threads: 4
          
          *** Time and Time Zones ***
          Sun Mar  5 10:40:11 UTC 2023
          Sun Mar  5 11:40:11 CET 2023
          CET +0100
          Europe/Berlin
          
          *** User and Groups ***
          meinuser
          /home/meinuser
          meinuser adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin docker gpio i2c spi iobroker
          
          *** X-Server-Setup ***
          X-Server:       true
          Desktop:
          Terminal:       tty
          Boot Target:    graphical.target
          
          *** MEMORY ***
                         total        used        free      shared  buff/cache   available
          Mem:            909M        364M         79M        4.0M        466M        404M
          Swap:             0B          0B          0B
          Total:          909M        364M         79M
          
                    909 M total memory
                    364 M used memory
                    124 M active memory
                    349 M inactive memory
                     78 M free memory
                     19 M buffer memory
                    447 M swap cache
                      0 M total swap
                      0 M used swap
                      0 M free swap
          
          *** FILESYSTEM ***
          Filesystem                              Type      Size  Used Avail Use% Mounted on
          /dev/root                               ext4       15G  7.9G  5.8G  58% /
          devtmpfs                                devtmpfs  325M     0  325M   0% /dev
          tmpfs                                   tmpfs     455M     0  455M   0% /dev/shm
          tmpfs                                   tmpfs     182M  908K  182M   1% /run
          tmpfs                                   tmpfs     5.0M  4.0K  5.0M   1% /run/lock
          /dev/sda1                               vfat      253M   31M  222M  13% /boot
          tmpfs                                   tmpfs      91M   20K   91M   1% /run/user/109
          192.168.23.82:/media/nfs_usb_ssd_backup nfs4      110G   38G   67G  36% /media/raspi02_usb_ssd_backup
          tmpfs                                   tmpfs      91M   20K   91M   1% /run/user/1000
          
          Messages in dmesg:
          [Sat Mar  4 19:18:24 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=fc635420-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
          [Sat Mar  4 19:18:30 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
          [Sat Mar  4 19:18:30 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
          [Sat Mar  4 19:18:33 2023] EXT4-fs (sda2): re-mounted. Opts: (null). Quota mode: none.
          
          Show mounted filesystems (real ones only):
          TARGET                          SOURCE                                  FSTYPE OPTIONS
          /                               /dev/sda2                               ext4   rw,noatime
          |-/media/raspi02_usb_ssd_backup 192.168.23.82:/media/nfs_usb_ssd_backup nfs4   rw,relatime,vers=4.2,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.23.81,local_lock=none,addr=192.168.23.82
          `-/boot                         /dev/sda1                               vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
          
          Files in neuralgic directories:
          
          /var:
          4.0G    /var/
          2.6G    /var/lib
          2.3G    /var/lib/docker
          2.2G    /var/lib/docker/overlay2
          1.2G    /var/log/journal/dbb184e505344dae88426d3e21a16a3f
          
          /opt/iobroker/backups:
          2.3M    /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          44M     /opt/iobroker/iobroker-data/
          19M     /opt/iobroker/iobroker-data/backup-objects
          15M     /opt/iobroker/iobroker-data/files
          13M     /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js
          13M     /opt/iobroker/iobroker-data/files/admin.admin/custom/static
          
          The five largest files in iobroker-data are:
          9.9M    /opt/iobroker/iobroker-data/objects.jsonl
          6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
          2.8M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js
          1.6M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map
          1.1M    /opt/iobroker/iobroker-data/backup-objects/2023-03-03_00-14_objects.jsonl.gz
          
          *** NodeJS-Installation ***
          
          /usr/bin/nodejs         v16.19.1
          /usr/bin/node           v16.19.1
          /usr/bin/npm            8.19.3
          /usr/bin/npx            8.19.3
          
          nodejs:
            Installed: 16.19.1-deb-1nodesource1
            Candidate: 16.19.1-deb-1nodesource1
            Version table:
           *** 16.19.1-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                  100 /var/lib/dpkg/status
               12.22.12~dfsg-1~deb11u3 500
                  500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
               12.22.5~dfsg-2~11u1 500
                  500 http://deb.debian.org/debian bullseye/main arm64 Packages
          
          Temp directories causing npm8 problem: 0
          
          *** ioBroker-Installation ***
          
          ioBroker Status
           Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
           Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
          Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
          
          Core adapters versions
          js-controller:  4.0.24
          admin:          6.3.5
          javascript:     "javascript" not found
          
          Adapters from github:   0
          
          Adapter State
           Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
           Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
          Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
          
          Enabled adapters with bindings
          
          ioBroker-Repositories
           Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
           Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
          No connection to databases possible ...
          
          Installed ioBroker-Instances
           Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
           Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
          Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
          
          Objects and States
          Please stand by - This may take a while
          Objects:        3
          States:         3
          
          *** OS-Repositories and Updates ***
          Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
          Hit:2 http://deb.debian.org/debian bullseye InRelease
          Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
          Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
          Hit:5 https://download.docker.com/linux/debian bullseye InRelease
          Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
          Hit:7 https://apt.syncthing.net syncthing 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 0.0.0.0:9000            0.0.0.0:*               LISTEN      0          113267     15437/docker-proxy
          tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          99167      12224/cupsd
          tcp        0      0 0.0.0.0:2388            0.0.0.0:*               LISTEN      0          14828      526/sshd: /usr/sbin
          tcp        0      0 192.168.23.81:8384      0.0.0.0:*               LISTEN      1000       12170      665/syncthing
          tcp        0      0 0.0.0.0:9443            0.0.0.0:*               LISTEN      0          113261     15403/docker-proxy
          tcp6       0      0 :::22000                :::*                    LISTEN      1000       14963      665/syncthing
          tcp6       0      0 :::9000                 :::*                    LISTEN      0          113270     15444/docker-proxy
          tcp6       0      0 :::2388                 :::*                    LISTEN      0          14830      526/sshd: /usr/sbin
          tcp6       0      0 :::9443                 :::*                    LISTEN      0          113264     15418/docker-proxy
          tcp6       0      0 :::80                   :::*                    LISTEN      0          114974     15578/apache2
          tcp6       0      0 ::1:631                 :::*                    LISTEN      0          99166      12224/cupsd
          udp        0      0 0.0.0.0:21027           0.0.0.0:*                           1000       12851      665/syncthing
          udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          12691      412/dhcpcd
          udp        0      0 0.0.0.0:51820           0.0.0.0:*                           0          13858      -
          udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          99826      12227/cups-browsed
          udp        0      0 0.0.0.0:56995           0.0.0.0:*                           1000       12850      665/syncthing
          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        12532      375/avahi-daemon: r
          udp        0      0 0.0.0.0:40249           0.0.0.0:*                           108        12534      375/avahi-daemon: r
          udp6       0      0 :::22000                :::*                                1000       14972      665/syncthing
          udp6       0      0 :::21027                :::*                                1000       12853      665/syncthing
          udp6       0      0 :::51820                :::*                                0          13859      -
          udp6       0      0 :::5353                 :::*                                108        12533      375/avahi-daemon: r
          udp6       0      0 :::36225                :::*                                108        12535      375/avahi-daemon: r
          udp6       0      0 :::43413                :::*                                1000       12852      665/syncthing
          
          *** Log File - Last 25 Lines ***
          
          2023-03-05 11:41:32.216  - info: host.raspi01 iobroker _restart
          2023-03-05 11:41:38.966  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
          2023-03-05 11:41:38.977  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
          2023-03-05 11:41:38.979  - info: host.raspi01 hostname: raspi01, node: v16.19.1
          2023-03-05 11:41:38.982  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
          2023-03-05 11:41:42.322  - error: host.raspi01-Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
          2023-03-05 11:41:48.078  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
          2023-03-05 11:41:48.089  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
          2023-03-05 11:41:48.091  - info: host.raspi01 hostname: raspi01, node: v16.19.1
          2023-03-05 11:41:48.094  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
          2023-03-05 11:41:51.419  - error: host.raspi01-Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
          2023-03-05 11:41:57.453  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
          2023-03-05 11:41:57.469  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
          2023-03-05 11:41:57.472  - info: host.raspi01 hostname: raspi01, node: v16.19.1
          2023-03-05 11:41:57.476  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
          2023-03-05 11:41:59.241  - info: host.raspi01-Server  Error inMem-objects listening on port 9000: Error: listen EADDRINUSE: address already in use 127.0.0.1:9000
          2023-03-05 11:42:27.521  - error: host.raspi01 No connection to databases possible, restart
          2023-03-05 11:42:27.536  - info: host.raspi01 iobroker _restart
          2023-03-05 11:42:34.481  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
          2023-03-05 11:42:34.493  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
          2023-03-05 11:42:34.496  - info: host.raspi01 hostname: raspi01, node: v16.19.1
          2023-03-05 11:42:34.499  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
          2023-03-05 11:42:35.813  - info: host.raspi01-Server  Error inMem-objects listening on port 9000: Error: listen EADDRINUSE: address already in use 127.0.0.1:9000
          2023-03-05 11:43:04.532  - error: host.raspi01 No connection to databases possible, restart
          2023-03-05 11:43:04.545  - info: host.raspi01 iobroker _restart
          
          

          ============ Mark until here for C&P =============

          HomoranH Nicht stören
          HomoranH Nicht stören
          Homoran
          Global Moderator Administrators
          schrieb am zuletzt editiert von
          #7

          @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

          docker-proxy

          was ist das?

          und ein Desktop drauf?

          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          meuteM 1 Antwort Letzte Antwort
          1
          • meuteM meute

            @thomas-braun sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

            @meute

            iob diag
            

            spuckt was aus?

            Ergebnis von

            iob diag
            

            ======== Start marking the full check here =========

            Skript v.2023-01-02
            
            *** BASE SYSTEM ***
            Model           : Raspberry Pi 3 Model B Plus Rev 1.3
            Architecture:   aarch64
            Docker:         false
            Virtualization: none
            Distributor ID: Debian
            Description:    Debian GNU/Linux 11 (bullseye)
            Release:        11
            Codename:       bullseye
            
            PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
            NAME="Debian GNU/Linux"
            VERSION_ID="11"
            VERSION="11 (bullseye)"
            VERSION_CODENAME=bullseye
            ID=debian
            HOME_URL="https://www.debian.org/"
            SUPPORT_URL="https://www.debian.org/support"
            BUG_REPORT_URL="https://bugs.debian.org/"
            
            Systemuptime and Load:
             11:40:11 up 16:21,  1 user,  load average: 0.39, 0.49, 0.43
            CPU threads: 4
            
            *** Time and Time Zones ***
            Sun Mar  5 10:40:11 UTC 2023
            Sun Mar  5 11:40:11 CET 2023
            CET +0100
            Europe/Berlin
            
            *** User and Groups ***
            meinuser
            /home/meinuser
            meinuser adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin docker gpio i2c spi iobroker
            
            *** X-Server-Setup ***
            X-Server:       true
            Desktop:
            Terminal:       tty
            Boot Target:    graphical.target
            
            *** MEMORY ***
                           total        used        free      shared  buff/cache   available
            Mem:            909M        364M         79M        4.0M        466M        404M
            Swap:             0B          0B          0B
            Total:          909M        364M         79M
            
                      909 M total memory
                      364 M used memory
                      124 M active memory
                      349 M inactive memory
                       78 M free memory
                       19 M buffer memory
                      447 M swap cache
                        0 M total swap
                        0 M used swap
                        0 M free swap
            
            *** FILESYSTEM ***
            Filesystem                              Type      Size  Used Avail Use% Mounted on
            /dev/root                               ext4       15G  7.9G  5.8G  58% /
            devtmpfs                                devtmpfs  325M     0  325M   0% /dev
            tmpfs                                   tmpfs     455M     0  455M   0% /dev/shm
            tmpfs                                   tmpfs     182M  908K  182M   1% /run
            tmpfs                                   tmpfs     5.0M  4.0K  5.0M   1% /run/lock
            /dev/sda1                               vfat      253M   31M  222M  13% /boot
            tmpfs                                   tmpfs      91M   20K   91M   1% /run/user/109
            192.168.23.82:/media/nfs_usb_ssd_backup nfs4      110G   38G   67G  36% /media/raspi02_usb_ssd_backup
            tmpfs                                   tmpfs      91M   20K   91M   1% /run/user/1000
            
            Messages in dmesg:
            [Sat Mar  4 19:18:24 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=fc635420-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
            [Sat Mar  4 19:18:30 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
            [Sat Mar  4 19:18:30 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
            [Sat Mar  4 19:18:33 2023] EXT4-fs (sda2): re-mounted. Opts: (null). Quota mode: none.
            
            Show mounted filesystems (real ones only):
            TARGET                          SOURCE                                  FSTYPE OPTIONS
            /                               /dev/sda2                               ext4   rw,noatime
            |-/media/raspi02_usb_ssd_backup 192.168.23.82:/media/nfs_usb_ssd_backup nfs4   rw,relatime,vers=4.2,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.23.81,local_lock=none,addr=192.168.23.82
            `-/boot                         /dev/sda1                               vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
            
            Files in neuralgic directories:
            
            /var:
            4.0G    /var/
            2.6G    /var/lib
            2.3G    /var/lib/docker
            2.2G    /var/lib/docker/overlay2
            1.2G    /var/log/journal/dbb184e505344dae88426d3e21a16a3f
            
            /opt/iobroker/backups:
            2.3M    /opt/iobroker/backups/
            
            /opt/iobroker/iobroker-data:
            44M     /opt/iobroker/iobroker-data/
            19M     /opt/iobroker/iobroker-data/backup-objects
            15M     /opt/iobroker/iobroker-data/files
            13M     /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js
            13M     /opt/iobroker/iobroker-data/files/admin.admin/custom/static
            
            The five largest files in iobroker-data are:
            9.9M    /opt/iobroker/iobroker-data/objects.jsonl
            6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
            2.8M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js
            1.6M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map
            1.1M    /opt/iobroker/iobroker-data/backup-objects/2023-03-03_00-14_objects.jsonl.gz
            
            *** NodeJS-Installation ***
            
            /usr/bin/nodejs         v16.19.1
            /usr/bin/node           v16.19.1
            /usr/bin/npm            8.19.3
            /usr/bin/npx            8.19.3
            
            nodejs:
              Installed: 16.19.1-deb-1nodesource1
              Candidate: 16.19.1-deb-1nodesource1
              Version table:
             *** 16.19.1-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                    100 /var/lib/dpkg/status
                 12.22.12~dfsg-1~deb11u3 500
                    500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                 12.22.5~dfsg-2~11u1 500
                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
            
            Temp directories causing npm8 problem: 0
            
            *** ioBroker-Installation ***
            
            ioBroker Status
             Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
             Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
            Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
            
            Core adapters versions
            js-controller:  4.0.24
            admin:          6.3.5
            javascript:     "javascript" not found
            
            Adapters from github:   0
            
            Adapter State
             Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
             Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
            Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
            
            Enabled adapters with bindings
            
            ioBroker-Repositories
             Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
             Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
             Objects database error: connect ECONNREFUSED 127.0.0.1:9001
             Objects database error: connect ECONNREFUSED 127.0.0.1:9001
             Objects database error: connect ECONNREFUSED 127.0.0.1:9001
             Objects database error: connect ECONNREFUSED 127.0.0.1:9001
            No connection to databases possible ...
            
            Installed ioBroker-Instances
             Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
             Could not connect to states database at 127.0.0.1:9000 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
            Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
            
            Objects and States
            Please stand by - This may take a while
            Objects:        3
            States:         3
            
            *** OS-Repositories and Updates ***
            Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
            Hit:2 http://deb.debian.org/debian bullseye InRelease
            Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
            Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:5 https://download.docker.com/linux/debian bullseye InRelease
            Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
            Hit:7 https://apt.syncthing.net syncthing 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 0.0.0.0:9000            0.0.0.0:*               LISTEN      0          113267     15437/docker-proxy
            tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          99167      12224/cupsd
            tcp        0      0 0.0.0.0:2388            0.0.0.0:*               LISTEN      0          14828      526/sshd: /usr/sbin
            tcp        0      0 192.168.23.81:8384      0.0.0.0:*               LISTEN      1000       12170      665/syncthing
            tcp        0      0 0.0.0.0:9443            0.0.0.0:*               LISTEN      0          113261     15403/docker-proxy
            tcp6       0      0 :::22000                :::*                    LISTEN      1000       14963      665/syncthing
            tcp6       0      0 :::9000                 :::*                    LISTEN      0          113270     15444/docker-proxy
            tcp6       0      0 :::2388                 :::*                    LISTEN      0          14830      526/sshd: /usr/sbin
            tcp6       0      0 :::9443                 :::*                    LISTEN      0          113264     15418/docker-proxy
            tcp6       0      0 :::80                   :::*                    LISTEN      0          114974     15578/apache2
            tcp6       0      0 ::1:631                 :::*                    LISTEN      0          99166      12224/cupsd
            udp        0      0 0.0.0.0:21027           0.0.0.0:*                           1000       12851      665/syncthing
            udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          12691      412/dhcpcd
            udp        0      0 0.0.0.0:51820           0.0.0.0:*                           0          13858      -
            udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          99826      12227/cups-browsed
            udp        0      0 0.0.0.0:56995           0.0.0.0:*                           1000       12850      665/syncthing
            udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        12532      375/avahi-daemon: r
            udp        0      0 0.0.0.0:40249           0.0.0.0:*                           108        12534      375/avahi-daemon: r
            udp6       0      0 :::22000                :::*                                1000       14972      665/syncthing
            udp6       0      0 :::21027                :::*                                1000       12853      665/syncthing
            udp6       0      0 :::51820                :::*                                0          13859      -
            udp6       0      0 :::5353                 :::*                                108        12533      375/avahi-daemon: r
            udp6       0      0 :::36225                :::*                                108        12535      375/avahi-daemon: r
            udp6       0      0 :::43413                :::*                                1000       12852      665/syncthing
            
            *** Log File - Last 25 Lines ***
            
            2023-03-05 11:41:32.216  - info: host.raspi01 iobroker _restart
            2023-03-05 11:41:38.966  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
            2023-03-05 11:41:38.977  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
            2023-03-05 11:41:38.979  - info: host.raspi01 hostname: raspi01, node: v16.19.1
            2023-03-05 11:41:38.982  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
            2023-03-05 11:41:42.322  - error: host.raspi01-Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
            2023-03-05 11:41:48.078  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
            2023-03-05 11:41:48.089  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
            2023-03-05 11:41:48.091  - info: host.raspi01 hostname: raspi01, node: v16.19.1
            2023-03-05 11:41:48.094  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
            2023-03-05 11:41:51.419  - error: host.raspi01-Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
            2023-03-05 11:41:57.453  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
            2023-03-05 11:41:57.469  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
            2023-03-05 11:41:57.472  - info: host.raspi01 hostname: raspi01, node: v16.19.1
            2023-03-05 11:41:57.476  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
            2023-03-05 11:41:59.241  - info: host.raspi01-Server  Error inMem-objects listening on port 9000: Error: listen EADDRINUSE: address already in use 127.0.0.1:9000
            2023-03-05 11:42:27.521  - error: host.raspi01 No connection to databases possible, restart
            2023-03-05 11:42:27.536  - info: host.raspi01 iobroker _restart
            2023-03-05 11:42:34.481  - info: host.raspi01 iobroker.js-controller version 4.0.24 js-controller starting
            2023-03-05 11:42:34.493  - info: host.raspi01 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
            2023-03-05 11:42:34.496  - info: host.raspi01 hostname: raspi01, node: v16.19.1
            2023-03-05 11:42:34.499  - info: host.raspi01 ip addresses: 192.168.23.81 fe80::8346:74b8:a078:2c7e 100.64.0.81 172.17.0.1 fe80::42:aaff:febb:2b6c 169.254.8.200 fe80::9c1b:8fff:febc:7a93
            2023-03-05 11:42:35.813  - info: host.raspi01-Server  Error inMem-objects listening on port 9000: Error: listen EADDRINUSE: address already in use 127.0.0.1:9000
            2023-03-05 11:43:04.532  - error: host.raspi01 No connection to databases possible, restart
            2023-03-05 11:43:04.545  - info: host.raspi01 iobroker _restart
            
            

            ============ Mark until here for C&P =============

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von Thomas Braun
            #8

            @meute

            Desktop ausschalten.
            Und was ist
            https://apt.syncthing.net
            für eine Quelle?

            Mit einem GB RAM hast du nichts an irgendwas anderes zu verschenken. Kein Desktop, kein Docker, kein Syncthing.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            1 Antwort Letzte Antwort
            1
            • HomoranH Homoran

              @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

              docker-proxy

              was ist das?

              und ein Desktop drauf?

              meuteM Online
              meuteM Online
              meute
              schrieb am zuletzt editiert von
              #9

              Jetzt läuft ioBroker wieder auf Port 8081.
              Port 8081 ist wieder erreichbar.
              Danke für die Unterstrüzung.

              @homoran sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

              @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

              docker-proxy

              was ist das?

              und ein Desktop drauf?

              Docker war da mal dauf, wurde aber schon länger deinstalliert.
              docker-proxy dürfte bei der Deinstallation übrig geblieben sein.
              Ich habe jetzt alle Docker-Pakete gesucht und gepurged.

              Habe auch noch Reste von mariadb gesucht und gepurged.

              Desktop ist vermutlich drauf, benutze ich aber nicht.

              @thomas-braun sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

              @meute

              Desktop ausschalten.
              Und was ist
              https://apt.syncthing.net
              für eine Quelle?

              Mit Syncthing synce ich im LAN Daten zwischen Handy und PC.
              Das will ich dort schon lassen.

              Wie man den Desktop deaktiviert,weiß ich noch nicht.
              Muss ich mal suchen.

              fraenk for friends Code: MATF103

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • meuteM meute

                Jetzt läuft ioBroker wieder auf Port 8081.
                Port 8081 ist wieder erreichbar.
                Danke für die Unterstrüzung.

                @homoran sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                docker-proxy

                was ist das?

                und ein Desktop drauf?

                Docker war da mal dauf, wurde aber schon länger deinstalliert.
                docker-proxy dürfte bei der Deinstallation übrig geblieben sein.
                Ich habe jetzt alle Docker-Pakete gesucht und gepurged.

                Habe auch noch Reste von mariadb gesucht und gepurged.

                Desktop ist vermutlich drauf, benutze ich aber nicht.

                @thomas-braun sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                @meute

                Desktop ausschalten.
                Und was ist
                https://apt.syncthing.net
                für eine Quelle?

                Mit Syncthing synce ich im LAN Daten zwischen Handy und PC.
                Das will ich dort schon lassen.

                Wie man den Desktop deaktiviert,weiß ich noch nicht.
                Muss ich mal suchen.

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #10

                @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                Muss ich mal suchen.

                Fang in

                sudo raspi-config
                

                an. Da kann man das Booten einstellen.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                meuteM 1 Antwort Letzte Antwort
                1
                • Thomas BraunT Thomas Braun

                  @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                  Muss ich mal suchen.

                  Fang in

                  sudo raspi-config
                  

                  an. Da kann man das Booten einstellen.

                  meuteM Online
                  meuteM Online
                  meute
                  schrieb am zuletzt editiert von meute
                  #11

                  Ich habe jetzt die GUI deaktiviert.
                  https://www.cyberciti.biz/faq/switch-boot-target-to-text-gui-in-systemd-linux/

                  Start mit Kommandozeile aktivieren:

                  sudo systemctl set-default multi-user.target
                  sudo reboot
                  

                  Grafische Benutzeroberfläche / Kommandozeile prüfen:

                  systemctl get-default
                  multi-user.target
                  

                  Speichernutzung mit GUI:

                  free --mega -h
                           gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
                  Speicher:  909M          417M     123M        4,0M          368M      429M
                  Swap:        0B            0B       0B
                  

                  Speichernutzung ohne GUI:

                  free --mega -h
                           gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
                  Speicher:  909M          329M     311M        1,0M          268M      522M
                  Swap:        0B            0B       0B
                  

                  fraenk for friends Code: MATF103

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • meuteM meute

                    Ich habe jetzt die GUI deaktiviert.
                    https://www.cyberciti.biz/faq/switch-boot-target-to-text-gui-in-systemd-linux/

                    Start mit Kommandozeile aktivieren:

                    sudo systemctl set-default multi-user.target
                    sudo reboot
                    

                    Grafische Benutzeroberfläche / Kommandozeile prüfen:

                    systemctl get-default
                    multi-user.target
                    

                    Speichernutzung mit GUI:

                    free --mega -h
                             gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
                    Speicher:  909M          417M     123M        4,0M          368M      429M
                    Swap:        0B            0B       0B
                    

                    Speichernutzung ohne GUI:

                    free --mega -h
                             gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
                    Speicher:  909M          329M     311M        1,0M          268M      522M
                    Swap:        0B            0B       0B
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #12

                    @meute

                    Siehste, mehr RAM verfügbar. Wobei ich den SWAP wieder aktivieren würde. Der wird bei Bedarf genutzt.

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    meuteM 1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @meute

                      Siehste, mehr RAM verfügbar. Wobei ich den SWAP wieder aktivieren würde. Der wird bei Bedarf genutzt.

                      meuteM Online
                      meuteM Online
                      meute
                      schrieb am zuletzt editiert von
                      #13

                      @thomas-braun sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                      @meute

                      Wobei ich den SWAP wieder aktivieren würde. Der wird bei Bedarf genutzt.

                      Hm?
                      Ich habe mal gelesen, dass beim RPi Swap nicht benötigt wird.
                      Deshalb wurde Swap deaktiviert.

                      fraenk for friends Code: MATF103

                      HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                      0
                      • meuteM meute

                        @thomas-braun sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                        @meute

                        Wobei ich den SWAP wieder aktivieren würde. Der wird bei Bedarf genutzt.

                        Hm?
                        Ich habe mal gelesen, dass beim RPi Swap nicht benötigt wird.
                        Deshalb wurde Swap deaktiviert.

                        HomoranH Nicht stören
                        HomoranH Nicht stören
                        Homoran
                        Global Moderator Administrators
                        schrieb am zuletzt editiert von
                        #14

                        @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                        dass beim RPi Swap nicht benötigt wird.

                        wieso sollte das so sein? und wieso Geräte abhängig?

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        1 Antwort Letzte Antwort
                        0
                        • meuteM meute

                          @thomas-braun sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                          @meute

                          Wobei ich den SWAP wieder aktivieren würde. Der wird bei Bedarf genutzt.

                          Hm?
                          Ich habe mal gelesen, dass beim RPi Swap nicht benötigt wird.
                          Deshalb wurde Swap deaktiviert.

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von Thomas Braun
                          #15

                          @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                          Ich habe mal gelesen, dass beim RPi Swap nicht benötigt wird.

                          Das ist Quatsch. Das Betriebssystem verwendet Swap als 'Überlauf'. Der sollte nicht permanent gefüllt sein, aber als Puffer wird der bei Bedarf von diversen Prozessen verwendet.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          meuteM 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                            Ich habe mal gelesen, dass beim RPi Swap nicht benötigt wird.

                            Das ist Quatsch. Das Betriebssystem verwendet Swap als 'Überlauf'. Der sollte nicht permanent gefüllt sein, aber als Puffer wird der bei Bedarf von diversen Prozessen verwendet.

                            meuteM Online
                            meuteM Online
                            meute
                            schrieb am zuletzt editiert von
                            #16

                            @thomas-braun sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                            @meute sagte in Port 8081 nicht mehr erreichbar, "error: conn. to databases:

                            Ich habe mal gelesen, dass beim RPi Swap nicht benötigt wird.

                            Das ist Quatsch. Das Betriebssystem verwendet Swap als 'Überlauf'. Der sollte nicht permanent gefüllt sein, aber als Puffer wird derbei Bedarf von diversen Prozessen verwendet.

                            Habe Swap nun wieder aktiviert.

                            fraenk for friends Code: MATF103

                            1 Antwort Letzte Antwort
                            0
                            Antworten
                            • In einem neuen Thema antworten
                            Anmelden zum Antworten
                            • Älteste zuerst
                            • Neuste zuerst
                            • Meiste Stimmen


                            Support us

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

                            710

                            Online

                            32.6k

                            Benutzer

                            82.2k

                            Themen

                            1.3m

                            Beiträge
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                            ioBroker Community 2014-2025
                            logo
                            • Anmelden

                            • Du hast noch kein Konto? Registrieren

                            • Anmelden oder registrieren, um zu suchen
                            • Erster Beitrag
                              Letzter Beitrag
                            0
                            • Home
                            • Aktuell
                            • Tags
                            • Ungelesen 0
                            • Kategorien
                            • Unreplied
                            • Beliebt
                            • GitHub
                            • Docu
                            • Hilfe