Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. IoBroker lief nach Installation kurz, heute plötzlich nicht mehr…

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    IoBroker lief nach Installation kurz, heute plötzlich nicht mehr…

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BennyB2912 last edited by

      Hallo Gemeinde,

      ich habe gestern ioBroker installiert und es lief auch alles problemlos. Ich konnte admin starten, die einzelnen Instanzen sehen, usw…

      Aber irgendwas ist dann schief gelaufen und ich weiss nicht was.

      Es fing damit an, dass ich über http:ipadresse:8081 nicht mehr auf die Konsole kam. Der Browser blieb einfach weiß. Dann habe ich versucht mit Hilfe der FAQ Fehleranalyse zu betreiben.

      Als erstes habe ich ps -A | grep iobroker ausprobiert um zu sehen, ob js-controller läuft. Dabei bekam ich folgende Ausgabe:

      1337 ? 00:00:09 iobroker.js-con

      Was mich hieran stutzig gemacht hat, war das die Zeit nicht hochläuft, wenn ich den Befehl nochmal ausführe. Eigentlich müsste sie das doch, oder?

      Dann habe ich folgenden Befehl ausprobiert:

      node node_modules/iobroker.js-controller/controller.js --logs

      Als Ausgabe erhielt ich das:

      2017-10-14 13:57:28.074  - info: host.raspberry iobroker.js-controller version 1.2.0 js-controller starting
      2017-10-14 13:57:28.085  - info: host.raspberry Copyright (c) 2014-2017 bluefox, hobbyquaker
      2017-10-14 13:57:28.088  - info: host.raspberry hostname: raspberry, node: v6.11.4
      2017-10-14 13:57:28.091  - info: host.raspberry ip addresses: 192.168.178.63 2a02:908:1863:f7e0:ba27:ebff:fe78:3033 fe80::ba27:ebff:fe78:3033 fe80::fca4:4cff:fec8:7790
      2017-10-14 13:57:28.240  - info: host.raspberry  inMem-states listening on port 9000
      2017-10-14 13:57:28.335  - info: host.raspberry  inMem-objects listening on port 9001
      2017-10-14 13:57:28.358  - [color]error[/color]: Another instance is running or some application uses port!
      2017-10-14 13:57:28.359  - [color]error[/color]: uncaught exception: listen EADDRINUSE 127.0.0.1:9000
      2017-10-14 13:57:28.371  - info: host.raspberry terminated
      2017-10-14 13:57:28.380  - info: iobroker _restart
      2017-10-14 13:57:28.408  - info: host.raspberry InMemoryDB connected
      2017-10-14 13:57:28.433  - info: host.raspberry 3 instances found
      host.raspberry check instance "system.adapter.admin.0" for host "raspberry"
      host.raspberry check instance "system.adapter.discovery.0" for host "raspberry"
      host.raspberry check instance "system.adapter.admin.1" for host "raspberry"
      2017-10-14 13:57:28.446  - info: host.raspberry starting 3 instances
      listen EADDRINUSE 127.0.0.1:9001
      Error: listen EADDRINUSE 127.0.0.1:9001
          at Object.exports._errnoException (util.js:1020:11)
          at exports._exceptionWithHostPort (util.js:1043:20)
          at Server._listen2 (net.js:1262:14)
          at listen (net.js:1298:10)
          at net.js:1408:9
          at _combinedTickCallback (internal/process/next_tick.js:83:11)
          at process._tickCallback (internal/process/next_tick.js:104:9)
          at Module.runMain (module.js:606:11)
          at run (bootstrap_node.js:383:7)
      
      

      Kann es an den zwei Errors liegen, dass ich iobroker admin nicht mehr aufbekomme?

      Was kann ich tun?

      Gruß

      geändert: Code in Code-Tags; Homoran (Mod)

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        hast du zweimal den Admin installiert?

        mit dem selben port?

        Gruß

        Rainer

        1 Reply Last reply Reply Quote 0
        • B
          BennyB2912 last edited by

          Hallo Homoran,

          nicht das ich wüsste. Aber wie kann ich das überprüfen, und falls ja, wie kann ich das beheben?

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            @BennyB2912:

            host.raspberry check instance "system.adapter.admin.0" for host "raspberry"

            host.raspberry check instance "system.adapter.discovery.0" for host "raspberry"

            host.raspberry check instance "system.adapter.admin.1" for host "raspberry" `

            1 Reply Last reply Reply Quote 0
            • B
              BennyB2912 last edited by

              Und wie kann ich jetzt eine Instanz wieder deinstallieren?

              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators last edited by

                cd /opt/iobroker
                sudo iobroker del admin.1
                
                1 Reply Last reply Reply Quote 0
                • B
                  BennyB2912 last edited by

                  Ok, das habe ich gemacht, aber es stimmt immer noch etwas nicht…. :roll:

                  root@raspberry:/opt/iobroker# ps -A | grep iobroker
                   1337 ?        00:00:12 iobroker.js-con
                   3441 ?        00:00:00 iobroker contro
                  root@raspberry:/opt/iobroker# ps -A | grep iobroker
                   1337 ?        00:00:12 iobroker.js-con
                   3465 ?        00:00:01 iobroker.js-con
                  root@raspberry:/opt/iobroker# ps -A | grep iobroker
                   1337 ?        00:00:12 iobroker.js-con
                  root@raspberry:/opt/iobroker# ps -A | grep iobroker
                   1337 ?        00:00:12 iobroker.js-con
                   3489 ?        00:00:01 iobroker.js-con
                  root@raspberry:/opt/iobroker# ps -A | grep iobroker
                   1337 ?        00:00:12 iobroker.js-con
                   3517 ?        00:00:00 iobroker contro
                  root@raspberry:/opt/iobroker# ps -A | grep iobroker
                   1337 ?        00:00:12 iobroker.js-con
                  root@raspberry:/opt/iobroker# ps -A | grep iobroker
                   1337 ?        00:00:12 iobroker.js-con
                   3611 ?        00:00:00 iobroker contro
                  root@raspberry:/opt/iobroker# ps -A | grep iobroker
                   1337 ?        00:00:12 iobroker.js-con
                   3635 ?        00:00:00 iobroker.js-con
                  
                  
                  node node_modules/iobroker.js-controller/controller.js --logs
                  2017-10-14 14:32:40.066  - info: host.raspberry iobroker.js-controller version 1.2.0 js-controller starting
                  2017-10-14 14:32:40.077  - info: host.raspberry Copyright (c) 2014-2017 bluefox, hobbyquaker
                  2017-10-14 14:32:40.080  - info: host.raspberry hostname: raspberry, node: v6.11.4
                  2017-10-14 14:32:40.083  - info: host.raspberry ip addresses: 192.168.178.63 2a02:908:1863:f7e0:ba27:ebff:fe78:3033 fe80::ba27:ebff:fe78:3033 fe80::fca4:4cff:fec8:7790
                  2017-10-14 14:32:40.196  - info: host.raspberry  inMem-states listening on port 9000
                  2017-10-14 14:32:40.292  - info: host.raspberry  inMem-objects listening on port 9001
                  2017-10-14 14:32:40.317  - error: Another instance is running or some application uses port!
                  2017-10-14 14:32:40.318  - error: uncaught exception: listen EADDRINUSE 127.0.0.1:9000
                  2017-10-14 14:32:40.331  - info: host.raspberry terminated
                  2017-10-14 14:32:40.340  - info: iobroker _restart
                  2017-10-14 14:32:40.371  - info: host.raspberry InMemoryDB connected
                  2017-10-14 14:32:40.409  - info: host.raspberry 2 instances found
                  host.raspberry check instance "system.adapter.admin.0" for host "raspberry"
                  host.raspberry check instance "system.adapter.discovery.0" for host "raspberry"
                  2017-10-14 14:32:40.420  - info: host.raspberry starting 2 instances
                  listen EADDRINUSE 127.0.0.1:9001
                  Error: listen EADDRINUSE 127.0.0.1:9001
                      at Object.exports._errnoException (util.js:1020:11)
                      at exports._exceptionWithHostPort (util.js:1043:20)
                      at Server._listen2 (net.js:1262:14)
                      at listen (net.js:1298:10)
                      at net.js:1408:9
                      at _combinedTickCallback (internal/process/next_tick.js:83:11)
                      at process._tickCallback (internal/process/next_tick.js:104:9)
                      at Module.runMain (module.js:606:11)
                      at run (bootstrap_node.js:383:7)
                      at startup (bootstrap_node.js:149:9)
                  
                  

                  😞

                  Kann man das ganze Abkürzen in dem ich iobroker neu installiere?

                  Reicht es hierfür den Ordner /opt/iobroker zu löschen und dann iobroker nach Anleitung neu zu installieren?

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators last edited by

                    Hast du vielleicht aus Versehen irgendwann eine zweite Installation in einem anderen Ordner (z.B. /home/pi) gemacht?

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • B
                      BennyB2912 last edited by

                      Hi Homoran,

                      ich traue es mich fast gar nicht zu sagen, aber ich habe wirklich eine zweite Installation gemacht.

                      Und zwar auf einem Raspberry Pi2 der im Keller steht und den ich schon ganz vergessen habe :roll:

                      Den Raspberry habe ich nun ausgeschaltet, aber wie bekomme ich die IP Adresse meiner aktuellen iBroker Installation raus? In der Fritzbox erscheint sie nicht….

                      1 Reply Last reply Reply Quote 0
                      • eric2905
                        eric2905 last edited by

                        Bist Du sicher, das der zweite Pi nicht in der FB erscheint?

                        Reboote den Pi einfach mal … dann müsste er sich, sofern LAN-technisch alles ok ist, in der FB erscheinen.

                        Gruß,

                        Eric

                        Von unterwegs getippert

                        1 Reply Last reply Reply Quote 0
                        • B
                          BennyB2912 last edited by

                          Doch, jetzt ist alles da!

                          Vielen Dank nochmal für Eure Geduld.

                          Ich werde mich aber bestimmt noch einige Male bei Euch während der Einrichtung melden 😉

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          980
                          Online

                          31.6k
                          Users

                          79.5k
                          Topics

                          1.3m
                          Posts

                          3
                          11
                          1006
                          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