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
      doch, der iobroker war gestoppt...

      und beim reboot war die Ausgabe plötzlich richtig und iobroker startete wieder.

      Nun sehen alle drei nahezu wenn nicht sogar identisch aus.

      Thomas Braun 2 Replies 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:

        und beim reboot war die Ausgabe plötzlich richtig und iobroker startete wieder.

        Ja, da wird der $PATH neueingelesen.

        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:

          Nun sehen alle drei nahezu wenn nicht sogar identisch aus.

          Checken...

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

            @thomas-braun

            OK. sind identisch

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

              @thomas-braun
              sieht immer noch so aus..
              und starten möchte er nich... 😞

              fc637640-ced0-469e-a2e0-b04e80b4d8db-image.png

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

                @rs_tobi

                Auf dem Froeling:

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

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

                  iob update

                  PUH... das ist jetzt gerade komisch...
                  habe den FRÖLING nochmal rebootet...

                  seit dem TOT.

                  Ich melde mich wenn ich was weiß.

                  DANKE!

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

                    @thomas-braun

                    wieder online...

                    pi@FroelingSlavePi2:~ $ iob update
                    Used repository: stable
                    Adapter    "admin"        : 6.2.22   , installed 6.2.22
                    Adapter    "backitup"     : 2.4.10   , installed 2.2.2  [Updatable]
                    Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                    Controller "js-controller": 4.0.23   , installed 4.0.23
                    Adapter    "modbus"       : 5.0.5    , installed 3.4.11 [Updatable]
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @RS_Tobi last edited by Thomas Braun

                      @rs_tobi

                      iob upgrade all -y
                      

                      Danach

                      iobroker setup custom
                      

                      und schauen ob die Anbindung an den Master noch korrekt ist.
                      Siehe auch hier:

                      https://www.iobroker.net/#de/documentation/config/multihost.md

                      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:

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

                                            Support us

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

                                            721
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

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