Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. iobroker startet nicht mehr - Server Cannot start inMem

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.8k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    747

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.2k

iobroker startet nicht mehr - Server Cannot start inMem

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
38 Beiträge 3 Kommentatoren 3.2k Aufrufe 3 Beobachtet
  • Ä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.
  • Thomas BraunT Thomas Braun

    @wusa

    sudo systemctl stop iobroker
    
    W Offline
    W Offline
    wusa
    schrieb am zuletzt editiert von
    #29

    @thomas-braun

    Habe ich ausgeführt.
    Ich habe mir jetzt auch nochmal die Ausgabe von

    pi@iobroker:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
    

    angesehen.
    Hier kommt keine Ausgabe zurück.
    Sollte somit gestoppt sein.

    1 Antwort Letzte Antwort
    0
    • W Offline
      W Offline
      wusa
      schrieb am zuletzt editiert von
      #30

      Hier noch die Ausgabe von

      pi@iobroker:~ $ sudo systemctl status iobroker
      ● iobroker.service - ioBroker Server
         Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
         Active: failed (Result: exit-code) since Wed 2022-08-03 10:45:58 CEST; 4min 52s ago
           Docs: http://iobroker.net
        Process: 1666 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
       Main PID: 1666 (code=exited, status=1/FAILURE)
      
      Aug 03 10:45:29 iobroker systemd[1]: Started ioBroker Server.
      Aug 03 10:45:57 iobroker systemd[1]: Stopping ioBroker Server...
      Aug 03 10:45:58 iobroker systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE
      Aug 03 10:45:58 iobroker systemd[1]: iobroker.service: Failed with result 'exit-code'.
      Aug 03 10:45:58 iobroker systemd[1]: Stopped ioBroker Server.
      
      
      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • W wusa

        Hier noch die Ausgabe von

        pi@iobroker:~ $ sudo systemctl status iobroker
        ● iobroker.service - ioBroker Server
           Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
           Active: failed (Result: exit-code) since Wed 2022-08-03 10:45:58 CEST; 4min 52s ago
             Docs: http://iobroker.net
          Process: 1666 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
         Main PID: 1666 (code=exited, status=1/FAILURE)
        
        Aug 03 10:45:29 iobroker systemd[1]: Started ioBroker Server.
        Aug 03 10:45:57 iobroker systemd[1]: Stopping ioBroker Server...
        Aug 03 10:45:58 iobroker systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE
        Aug 03 10:45:58 iobroker systemd[1]: iobroker.service: Failed with result 'exit-code'.
        Aug 03 10:45:58 iobroker systemd[1]: Stopped ioBroker Server.
        
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #31

        @wusa

        iobroker fix
        sudo ln -s /usr/bin/node /usr/bin/nodejs
        uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        

        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

        W 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @wusa

          iobroker fix
          sudo ln -s /usr/bin/node /usr/bin/nodejs
          uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          
          W Offline
          W Offline
          wusa
          schrieb am zuletzt editiert von
          #32

          @thomas-braun

          pi@iobroker:~ $ iobroker fix
          library: loaded
          Library version=2022-06-15
          
          ==========================================================================
          
              Welcome to the ioBroker installation fixer!
              Script version: 2022-06-03
          
              You might need to enter your password a couple of times.
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/3)
          ==========================================================================
          
          Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
          Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
          Hit:3 https://deb.nodesource.com/node_16.x buster InRelease
          Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
          Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [391 kB]
          Fetched 13.4 MB in 16s (851 kB/s)
          Reading package lists... Done
          Installed gcc-c++
          
          ==========================================================================
              Checking ioBroker user and directory permissions (2/3)
          ==========================================================================
          
          Created /etc/sudoers.d/iobroker
          Fixing directory permissions...
          
          ==========================================================================
              Checking autostart (3/3)
          ==========================================================================
          
          Enabling autostart...
          Autostart enabled!
          
          ==========================================================================
          
              Your installation was fixed successfully
              Run iobroker start to start ioBroker again!
          
          ==========================================================================
          
          
          
          pi@iobroker:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
          ln: failed to create symbolic link '/usr/bin/nodejs': File exists
          
          
          pi@iobroker:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          armv7l
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v16.16.0
          v16.16.0
          8.11.0
          pi
          /home/pi
          Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
          Hit:2 http://archive.raspberrypi.org/debian buster InRelease
          Hit:3 https://deb.nodesource.com/node_16.x buster InRelease
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          All packages are up to date.
          nodejs:
            Installed: 16.16.0-deb-1nodesource1
            Candidate: 16.16.0-deb-1nodesource1
            Version table:
           *** 16.16.0-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                  100 /var/lib/dpkg/status
               10.24.0~dfsg-1~deb10u1 500
                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
          

          Soll ich wieder Starten?

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • W wusa

            @thomas-braun

            pi@iobroker:~ $ iobroker fix
            library: loaded
            Library version=2022-06-15
            
            ==========================================================================
            
                Welcome to the ioBroker installation fixer!
                Script version: 2022-06-03
            
                You might need to enter your password a couple of times.
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/3)
            ==========================================================================
            
            Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
            Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
            Hit:3 https://deb.nodesource.com/node_16.x buster InRelease
            Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
            Get:5 http://archive.raspberrypi.org/debian buster/main armhf Packages [391 kB]
            Fetched 13.4 MB in 16s (851 kB/s)
            Reading package lists... Done
            Installed gcc-c++
            
            ==========================================================================
                Checking ioBroker user and directory permissions (2/3)
            ==========================================================================
            
            Created /etc/sudoers.d/iobroker
            Fixing directory permissions...
            
            ==========================================================================
                Checking autostart (3/3)
            ==========================================================================
            
            Enabling autostart...
            Autostart enabled!
            
            ==========================================================================
            
                Your installation was fixed successfully
                Run iobroker start to start ioBroker again!
            
            ==========================================================================
            
            
            
            pi@iobroker:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
            ln: failed to create symbolic link '/usr/bin/nodejs': File exists
            
            
            pi@iobroker:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            armv7l
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            v16.16.0
            v16.16.0
            8.11.0
            pi
            /home/pi
            Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
            Hit:2 http://archive.raspberrypi.org/debian buster InRelease
            Hit:3 https://deb.nodesource.com/node_16.x buster InRelease
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            All packages are up to date.
            nodejs:
              Installed: 16.16.0-deb-1nodesource1
              Candidate: 16.16.0-deb-1nodesource1
              Version table:
             *** 16.16.0-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                    100 /var/lib/dpkg/status
                 10.24.0~dfsg-1~deb10u1 500
                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
            

            Soll ich wieder Starten?

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

            @wusa

            Ja, starte mal komplett durch. Also den pi sauber rebooten.

            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

            W 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @wusa

              Ja, starte mal komplett durch. Also den pi sauber rebooten.

              W Offline
              W Offline
              wusa
              schrieb am zuletzt editiert von
              #34

              @thomas-braun

              Selbes Spiel wieder.

              pi@iobroker:~ $ sudo systemctl status iobroker
              ● iobroker.service - ioBroker Server
                 Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                 Active: active (running) since Wed 2022-08-03 11:19:06 CEST; 35s ago
                   Docs: http://iobroker.net
               Main PID: 546 (iobroker.js-con)
                  Tasks: 18 (limit: 2059)
                 CGroup: /system.slice/iobroker.service
                         ├─546 iobroker.js-controller
                         └─599 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js _restart
              
              Aug 03 11:19:06 iobroker systemd[1]: Started ioBroker Server.
              
              
              pi@iobroker:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
              COMMAND   PID     USER   FD   TYPE DEVICE  SIZE/OFF   NODE NAME
              iobroker. 609 iobroker   19u   REG    8,2 300182523 391702 /opt/iobroker/iobroker-data/objects.jsonl
              

              Kurz gewartet und dann diese Ausgabe:

              pi@iobroker:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
              COMMAND   PID     USER   FD   TYPE DEVICE  SIZE/OFF   NODE NAME
              iobroker. 631 iobroker   19u   REG    8,2 300182523 391702 /opt/iobroker/iobroker-data/objects.jsonl
              
              

              Weboberfläche ist auch nicht erreichbar.

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • W wusa

                @thomas-braun

                Selbes Spiel wieder.

                pi@iobroker:~ $ sudo systemctl status iobroker
                ● iobroker.service - ioBroker Server
                   Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                   Active: active (running) since Wed 2022-08-03 11:19:06 CEST; 35s ago
                     Docs: http://iobroker.net
                 Main PID: 546 (iobroker.js-con)
                    Tasks: 18 (limit: 2059)
                   CGroup: /system.slice/iobroker.service
                           ├─546 iobroker.js-controller
                           └─599 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js _restart
                
                Aug 03 11:19:06 iobroker systemd[1]: Started ioBroker Server.
                
                
                pi@iobroker:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                COMMAND   PID     USER   FD   TYPE DEVICE  SIZE/OFF   NODE NAME
                iobroker. 609 iobroker   19u   REG    8,2 300182523 391702 /opt/iobroker/iobroker-data/objects.jsonl
                

                Kurz gewartet und dann diese Ausgabe:

                pi@iobroker:~ $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                COMMAND   PID     USER   FD   TYPE DEVICE  SIZE/OFF   NODE NAME
                iobroker. 631 iobroker   19u   REG    8,2 300182523 391702 /opt/iobroker/iobroker-data/objects.jsonl
                
                

                Weboberfläche ist auch nicht erreichbar.

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

                @wusa

                sudo systemctl stop iobroker
                iobroker status
                iobroker start
                

                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

                W 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @wusa

                  sudo systemctl stop iobroker
                  iobroker status
                  iobroker start
                  
                  W Offline
                  W Offline
                  wusa
                  schrieb am zuletzt editiert von
                  #36

                  @thomas-braun

                  pi@iobroker:~ $ sudo systemctl stop iobroker
                  pi@iobroker:~ $ iobroker status
                  No connection to databases possible ...
                  
                  
                  1 Antwort Letzte Antwort
                  0
                  • W Offline
                    W Offline
                    wusa
                    schrieb am zuletzt editiert von
                    #37

                    @Thomas-Braun
                    Ich habe jetzt mal unter

                    /var/log/syslog
                    

                    geschaut, was dort alles steht.

                    Aug  3 12:34:25 iobroker systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE
                    Aug  3 12:34:25 iobroker systemd[1]: iobroker.service: Failed with result 'exit-code'.
                    Aug  3 12:34:28 iobroker systemd[1]: iobroker.service: Service RestartSec=3s expired, scheduling restart.
                    Aug  3 12:34:28 iobroker systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 67.
                    Aug  3 12:34:28 iobroker systemd[1]: Stopped ioBroker Server.
                    Aug  3 12:34:28 iobroker systemd[1]: Started ioBroker Server.
                    Aug  3 12:35:03 iobroker systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE
                    Aug  3 12:35:03 iobroker systemd[1]: iobroker.service: Failed with result 'exit-code'.
                    Aug  3 12:35:07 iobroker systemd[1]: iobroker.service: Service RestartSec=3s expired, scheduling restart.
                    Aug  3 12:35:07 iobroker systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 68.
                    Aug  3 12:35:07 iobroker systemd[1]: Stopped ioBroker Server.
                    
                    

                    Und das geht die ganze Zeit so weiter.

                    W 1 Antwort Letzte Antwort
                    0
                    • W wusa

                      @Thomas-Braun
                      Ich habe jetzt mal unter

                      /var/log/syslog
                      

                      geschaut, was dort alles steht.

                      Aug  3 12:34:25 iobroker systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE
                      Aug  3 12:34:25 iobroker systemd[1]: iobroker.service: Failed with result 'exit-code'.
                      Aug  3 12:34:28 iobroker systemd[1]: iobroker.service: Service RestartSec=3s expired, scheduling restart.
                      Aug  3 12:34:28 iobroker systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 67.
                      Aug  3 12:34:28 iobroker systemd[1]: Stopped ioBroker Server.
                      Aug  3 12:34:28 iobroker systemd[1]: Started ioBroker Server.
                      Aug  3 12:35:03 iobroker systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE
                      Aug  3 12:35:03 iobroker systemd[1]: iobroker.service: Failed with result 'exit-code'.
                      Aug  3 12:35:07 iobroker systemd[1]: iobroker.service: Service RestartSec=3s expired, scheduling restart.
                      Aug  3 12:35:07 iobroker systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 68.
                      Aug  3 12:35:07 iobroker systemd[1]: Stopped ioBroker Server.
                      
                      

                      Und das geht die ganze Zeit so weiter.

                      W Offline
                      W Offline
                      wusa
                      schrieb am zuletzt editiert von
                      #38
                      pi@iobroker:~ $ sudo systemctl status iobroker
                      ● iobroker.service - ioBroker Server
                         Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                         Active: activating (auto-restart) (Result: exit-code) since Wed 2022-08-03 13:39:42 CEST; 2s ago
                           Docs: http://iobroker.net
                        Process: 707 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
                       Main PID: 707 (code=exited, status=1/FAILURE)
                      
                      

                      Der Status ist kurz "active" und bricht sofort wieder ab.

                      Process: 707 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
                      

                      Ist hier der js-controller das Problem?

                      1 Antwort Letzte Antwort
                      0

                      Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                      Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                      Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                      Registrieren Anmelden
                      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

                      405

                      Online

                      32.9k

                      Benutzer

                      83.0k

                      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