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:

      @rs_tobi

      iob upgrade all -y
      

      Danach

      iobroker setup custom
      

      Ausgabe:

      pi@FroelingSlavePi2:~ $ iobroker setup custom
      Current configuration:
      - Objects database:
        - Type: jsonl
        - Host/Unix Socket: 192.168.178.11
        - Port: 9001
      - States database:
        - Type: jsonl
        - Host/Unix Socket: 192.168.178.11
        - Port: 9000
      - Data Directory: ../../iobroker-data/
      
      Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [jsonl]:
      
      
      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:

        192.168.178.11

        Und die IP 192.168.178.11 ist vom Master? Vom Slave? Von sonstwem?

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

          @thomas-braun

          Hallo Thomas,
          ich muss mich mal kurz zwischendurch bei dir erklären und bedanken.
          Unsere Konversation ist zeitlich sehr zerrissen.
          Das ist nicht mein Mangel an Interesse sondern Mangel an Zeit.
          Wir haben drei Kinder und ich arbeite Vollzeit.
          Somit kommt mir ständig etwas dazwischen.

          Danke dafür.

          Zurück zum Thema.
          Ich bin auch keiner, der, wenn er einen Fehler hat sich gleich ins Forum setzt und sich diesen kostenlos von anderen beheben lässt.
          Ich bin schon derjenige, der erst mal versucht sich selber durch Forum zu wühlen, Anleitungen oder HowTO's (wie von dir z.B) zu finden und diese abzuarbeiten.

          Und hier kommen wir zum Thema, ich bin kein Programmierer, auch wenn ich es gerne wäre.
          Jedoch bin ich jemand den es interessiert und der es auch verstehen möchte.

          Ich möchte deine Kompetenz nicht in frage stellen, ich will auch nicht unhöflich sein.
          Versteh mich nicht falsch!
          Aber kann es sein das wir am falschen Eck nach dem Fehler suchen?

          Wenn mir

          pi@FroelingSlavePi2:~ $ iob status
          iobroker is not running on this host.
          

          antwortet, dann kann die Multihost Einstellung doch stimmen oder nicht...
          Wir werden so oder so keine Verbindung bekommen wenn der
          iobroker nicht läuft.

          Oder verstehe ich hier was falsch?

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

            @rs_tobi

            Und was kommt auf ein

            iob start
            iob status
            systemctl status iobroker
            

            zurück?

            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:

              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
                                            • First post
                                              Last post

                                            Support us

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

                                            687
                                            Online

                                            32.1k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            64
                                            4184
                                            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