Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. IObroker Multihost Slave startet nicht mehr

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    IObroker Multihost Slave startet nicht mehr

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

      @thomas-braun sagte in IObroker Multihost Slave startet nicht mehr:

      iob start iob status systemctl status iobroker

      gibt:

      pi@FroelingSlavePi2:~ $ iob start
      pi@FroelingSlavePi2:~ $ iob status
      iobroker is not running on this host.
      
      At least one iobroker host is running.
      
      Objects type: jsonl
      States  type: jsonl
      pi@FroelingSlavePi2:~ $ systemctl status iobroker
      ● iobroker.service - ioBroker Server
         Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset:
         Active: activating (auto-restart) (Result: exit-code) since Mon 2022-09-19 20
           Docs: http://iobroker.net
        Process: 18344 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/i
       Main PID: 18344 (code=exited, status=1/FAILURE)
      
      Sep 19 20:42:58 FroelingSlavePi2 systemd[1]: iobroker.service: Failed with resul
      lines 1-8/8 (END)...skipping...
      ● iobroker.service - ioBroker Server
         Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
         Active: activating (auto-restart) (Result: exit-code) since Mon 2022-09-19 20:42:58 CEST; 1s ago
           Docs: http://iobroker.net
        Process: 18344 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
       Main PID: 18344 (code=exited, status=1/FAILURE)
      
      Sep 19 20:42:58 FroelingSlavePi2 systemd[1]: iobroker.service: Failed with result 'exit-code'.
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      ~
      lines 1-8/8 (END)
      
      
      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @RS_Tobi last edited by

        @rs_tobi sagte in IObroker Multihost Slave startet nicht mehr:

        gibt:

        zieh mal das putty Fenster größer.
        da fehlt rechts was

        R 1 Reply Last reply Reply Quote 0
        • R
          RS_Tobi @Homoran last edited by

          @Homoran

          "again what learned" 😂

          anbei:

          pi@FroelingSlavePi2:~ $ iob start
          pi@FroelingSlavePi2:~ $ iob status
          iobroker is not running on this host.
          
          At least one iobroker host is running.
          
          Objects type: jsonl
          States  type: jsonl
          pi@FroelingSlavePi2:~ $ 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 Mon 2022-09-19 20:46:48 CEST; 1s ago
               Docs: http://iobroker.net
            Process: 18798 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
           Main PID: 18798 (code=exited, status=1/FAILURE)
          pi@FroelingSlavePi2:~ $
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @RS_Tobi last edited by

            @rs_tobi sagte in IObroker Multihost Slave startet nicht mehr:

            sudo systemctl restart iobroker
            systemctl status iobroker
            
            R 1 Reply Last reply Reply Quote 0
            • R
              RS_Tobi @Thomas Braun last edited by

              @thomas-braun sagte in IObroker Multihost Slave startet nicht mehr:

              sudo systemctl restart iobroker
              systemctl status iobroker

              pi@FroelingSlavePi2:~ $ sudo systemctl restart iobroker
              pi@FroelingSlavePi2:~ $ 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 Mon 2022-09-19 20:52:29 CEST; 2s ago
                   Docs: http://iobroker.net
                Process: 19501 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
               Main PID: 19501 (code=exited, status=1/FAILURE)
              
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @RS_Tobi last edited by Thomas Braun

                @rs_tobi

                sudo systemctl stop iobroker.service
                ps aux | grep ^io
                
                R 1 Reply Last reply Reply Quote 0
                • R
                  RS_Tobi last edited by

                  Was mir noch aufgefallen ist...
                  wenn ich per

                  top
                  

                  schaue was da so läuft taucht ab und zu mal ein USER: iobroker auf mit den COMMAND: node

                  Wenn ich bei den "funktionierenden" das mache, dann taucht da sehr oft ein USER: iobroker mit dem COMMAND: iobroker.js-con und weitere auf.

                  Für mich als DAU, er läuft nicht... aber irgendwas passiert trotzdem...

                  1 Reply Last reply Reply Quote 0
                  • R
                    RS_Tobi @Thomas Braun last edited by RS_Tobi

                    @thomas-braun sagte in IObroker Multihost Slave startet nicht mehr:

                    sudo systemctl stop iobroker.servic
                    ps aux | grep ^io

                    pi@FroelingSlavePi2:~ $ sudo systemctl stop iobroker.servic
                    Failed to stop iobroker.servic.service: Unit iobroker.servic.service not loaded.
                    pi@FroelingSlavePi2:~ $ ps aux | grep ^io
                    iobroker 20561  0.0  2.7 115032 26204 ?        Rsl  21:01   0:00 /usr/bin/node /opt/iobroker/node_modules/iobroker.js-controller/controller.js
                    

                    ICh glaube, da fehlte ein "e" bei service....

                    HAbe es nochmal gemacht, nun kommt bei keiner Zeile eine Antwort.

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

                      @rs_tobi sagte in IObroker Multihost Slave startet nicht mehr:

                      sudo systemctl stop iobroker.servic

                      Da fehlt ein e.
                      Die Tab-Taste ist übrigens dein bester Freund im Terminal.

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        RS_Tobi @Thomas Braun last edited by

                        @thomas-braun

                        wie eben schon ergänzt, keine Antwort auf die beiden Zeilen:

                        sudo systemctl stop iobroker.service
                        ps aux | grep ^io
                        

                        p.s. das mit der TAB-Taste musst mir mal noch erklären, ich habe keine Ahnung was du damit meinst. im Putty kommt beim TAB nur ein schöner "gong"

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

                          @rs_tobi

                          Dann starte jetzt das System mal sauber durch.

                          TAB-Taste: Befehle und Befehlsoptionen können u. U. per TAB-Taste von der bash vervollständigt werden. Keiner tippt solche Befehle vollständig ein.

                          Ich tippe da nur
                          sudo syst [TAB] c [TAB] stat [TAB] iob [TAB] ein und das steht dann automagisch in der Konsole:

                          sudo systemctl status iobroker.service
                          
                          R 1 Reply Last reply Reply Quote 0
                          • R
                            RS_Tobi @Thomas Braun last edited by

                            @thomas-braun

                            das mit der TAB hab ich echt nicht gewusst! Danke
                            Ich sag ja, leider zu wenig programmieren gelernt 😞

                            Was ist deine definition für sauber durchstarten?
                            Ich weis nicht ob wir beide das selbe meinen.

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

                              @rs_tobi sagte in IObroker Multihost Slave startet nicht mehr:

                              Ich sag ja, leider zu wenig programmieren gelernt

                              Ich hab auch nie programmieren gelernt.

                              Was ist deine definition für sauber durchstarten?

                              iobroker stop
                              sudo reboot
                              
                              R 1 Reply Last reply Reply Quote 0
                              • R
                                RS_Tobi @Thomas Braun last edited by RS_Tobi

                                @thomas-braun
                                passt...
                                zumindest mache ich das schon immer richtig.

                                Also mit Autostart kam er schonmal nicht hoch...

                                pi@FroelingSlavePi2:~ $ sudo systemctl restart iobroker
                                pi@FroelingSlavePi2:~ $ systemctl status iobroker
                                ● iobroker.service - ioBroker Server
                                   Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                                   Active: active (running) since Mon 2022-09-19 21:34:34 CEST; 873ms ago
                                     Docs: http://iobroker.net
                                 Main PID: 1416 (node)
                                    Tasks: 7 (limit: 2059)
                                   CGroup: /system.slice/iobroker.service
                                           └─1416 /usr/bin/node /opt/iobroker/node_modules/iobroker.js-controller/controller.js
                                
                                Sep 19 21:34:34 FroelingSlavePi2 systemd[1]: Started ioBroker Server.
                                pi@FroelingSlavePi2:~ $ iob status
                                iobroker is not running on this host.
                                
                                At least one iobroker host is running.
                                
                                Objects type: jsonl
                                States  type: jsonl
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @RS_Tobi last edited by

                                  @rs_tobi

                                  Der service läuft.

                                  Active: active (running) since Mon 2022-09-19 21:34:34 CEST; 873ms ago
                                  Sep 19 21:34:34 FroelingSlavePi2 systemd[1]: Started ioBroker Server.
                                  

                                  Ich würde immer noch im Multihost-Setup schauen ob da die Einstellungen passen.

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    RS_Tobi @Thomas Braun last edited by

                                    @thomas-braun

                                    ich habe es auch gelesen...

                                    habe jetzt zeitlich versetzt nochmal das status abgesetzt und so sieht es aus

                                    pi@FroelingSlavePi2:~ $ 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 Mon 2022-09-19 21:37:17 CEST; 801ms ago
                                         Docs: http://iobroker.net
                                      Process: 1781 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
                                     Main PID: 1781 (code=exited, status=1/FAILURE)
                                    
                                    Sep 19 21:37:17 FroelingSlavePi2 systemd[1]: iobroker.service: Failed with result 'exit-code'.
                                    pi@FroelingSlavePi2:~ $ 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 Mon 2022-09-19 21:39:12 CEST; 526ms ago
                                         Docs: http://iobroker.net
                                      Process: 2001 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
                                     Main PID: 2001 (code=exited, status=1/FAILURE)
                                    

                                    laut diesen infos läuft da nichts (mehr)

                                    Oder darf man das nicht so einfach mehrfach abfragen?

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

                                      @rs_tobi

                                      Irgendwas räumt dir den Service wieder ab.

                                      R 2 Replies Last reply Reply Quote 0
                                      • R
                                        RS_Tobi @Thomas Braun last edited by

                                        @thomas-braun
                                        JA,
                                        Wenn ich mit den Info aus

                                        top
                                        

                                        "weiterspinne" sieht es für mich aus als wolle er starten(zumindest etwas "tun")
                                        denn CPU USAGE liegt bei dem oben angegebenen
                                        USER iobroker ......... COMMAND node immer so bei 30-40% und dann ist der Prozess wieder weg....

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          RS_Tobi @Thomas Braun last edited by

                                          @thomas-braun

                                          Weist du was Thomas,

                                          ich habe dich nun lange genug belästigt...
                                          Ich versuche gleich ne neue SD Card zu bekommen und zieh den Slave nochmal neu hoch.
                                          Ist zwar wieder ein Abend aufwand, aber zumindest stehle ich dann keinen die Zeit.
                                          Es wäre schön gewesen, aber dann klappt es halt nicht.

                                          Ich habe hier echt ein schlechtes Gewissen dich weiter zu befragen.

                                          Danke für deine Hilfe.
                                          Grüße aus Bayern

                                          Tobi

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

                                            @rs_tobi
                                            Setz den Service mal auf Eis:

                                            sudo systemctl stop iobroker.service
                                            sudo systemctl disable iobroker.service
                                            

                                            Und dann mal

                                            iobroker status
                                            iobroker restart
                                            
                                            R 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            727
                                            Online

                                            32.1k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            64
                                            4169
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo