Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • 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. Error/Bug
  4. Uncaught exception: listen EADDRINUSE 127.0.0.1:9000

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    496

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.7k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.6k

Uncaught exception: listen EADDRINUSE 127.0.0.1:9000

Geplant Angeheftet Gesperrt Verschoben Error/Bug
14 Beiträge 2 Kommentatoren 2.7k Aufrufe
  • Ä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.
  • P Offline
    P Offline
    PeterM
    schrieb am zuletzt editiert von
    #5

    Vielen Dank.

    Hatte ich auch schon irgendwo gefunden und ausprobiert - aber dennoch eben nochmals ohne Fehlermeldung durchgeführt - leider immer noch der gleiche Fehler.

    Viele Grüße,

    Peter

    1 Antwort Letzte Antwort
    0
    • HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #6

      Hast du ggf. irrtümlich eine zweite Installation im Homeverzeichnis des angemedleten Users statt in /opt/iobroker installiert (Ist alles schon mehrfach dagewesen!)

      @paul53 hat dazu mal etwas geschrieben, wie man das herausfindet. Ich weiß es leider nicht.

      Gruß

      Rainer

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      1 Antwort Letzte Antwort
      0
      • P Offline
        P Offline
        PeterM
        schrieb am zuletzt editiert von
        #7

        Hatte ich auch gelesen und die Verzeichnisse durchsucht - nichts gefunden.

        Aber ich such noch mal den Hinweis von Paul, evtl. habe ich da nicht richtig gesucht…

        Danke und Gruß,

        Peter

        1 Antwort Letzte Antwort
        0
        • P Offline
          P Offline
          PeterM
          schrieb am zuletzt editiert von
          #8

          hier das Ergebnis:

          i@raspberrypi ~ $ sudo find / -type d -name "admin"
          /opt/iobroker/iobroker-data/files/web/admin
          /opt/iobroker/node_modules/iobroker.hm-rega/admin
          /opt/iobroker/node_modules/iobroker.hm-rpc/admin
          /opt/iobroker/node_modules/iobroker.icons-open-icon-library-png/admin
          /opt/iobroker/node_modules/iobroker.simple-api/admin
          /opt/iobroker/node_modules/iobroker.web/admin
          /opt/iobroker/node_modules/iobroker.web/www/admin
          /opt/iobroker/node_modules/iobroker.javascript/admin
          /opt/iobroker/node_modules/iobroker.socketio/admin
          /opt/iobroker/node_modules/iobroker.rpi2/admin
          /opt/iobroker/node_modules/iobroker.vis-hqwidgets/admin
          /opt/iobroker/node_modules/iobroker.netatmo/admin
          /opt/iobroker/node_modules/iobroker.admin/admin
          /opt/iobroker/node_modules/iobroker.hmm/admin
          /opt/iobroker/node_modules/iobroker.dwd/admin
          /opt/iobroker/node_modules/iobroker.vis-bars/admin
          /opt/iobroker/node_modules/iobroker.hue/admin
          /opt/iobroker/node_modules/iobroker.vis-fancyswitch/admin
          /opt/iobroker/node_modules/iobroker.sonos/admin
          /opt/iobroker/node_modules/iobroker.vis/admin
          /home/pi/node_modules/iobroker.admin/admin
          pi@raspberrypi ~ $
          
          

          Scheint also korrekt zu sein… (oder doch nicht?)

          Gruß,

          Peter

          1 Antwort Letzte Antwort
          0
          • HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #9

            @PeterM:

            (oder doch nicht?) `
            @PeterM:

            /home/pi/node_modules/iobroker.admin/admin `

            @Homoran:

            irrtümlich eine zweite Installation im Homeverzeichnis des angemedleten Users `

            Watt nu??

            Gruß

            Rainer

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            1 Antwort Letzte Antwort
            0
            • P Offline
              P Offline
              PeterM
              schrieb am zuletzt editiert von
              #10

              Bedeutet also /home/pi/node_modules/iobroker.admin/admin deinstallieren?

              Aber wie?

              Oder einfach das Verzeichnis "/node_modules/iobroker.admin/admin" in "/home/pi" löschen?

              Evtl. auch erstmal nur umbenennen. Falls nicht noch irgendwo eine "fehlerhafte" Verknüpfung da ist, könnte das schon klappen.

              Ich werde das heute mal ausprobieren.

              Also war ich irgendwann in dem Verzeichnis "/home/pi" und habe dort iobroker.admin nochmals installiert!?!?

              Das Verzeichnis "node_modules" hat auch den 26.11.2017 als Datum (ist also noch keine 10 Tage her).

              Gruß,

              Peter

              1 Antwort Letzte Antwort
              0
              • HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von
                #11

                Hallo Peter,

                @PeterM:

                einfach das Verzeichnis "/node_modules/iobroker.admin/admin" in "/home/pi" löschen? `
                Da solltest du auf jeden Fall nochmal in dem Thread, in dem @paul53 gepostet hatte weiterlesen.

                Ich glaube, da stand auch was zu tun ist.

                Auf jeden Fall darf keine zweite ioBroker Installation mit den gleichen Einstellungen auf einem Gerät laufen.

                und dazu gehört mehr als das Verzeichnis node_modules.

                Vielleicht siehst du dir das mal per ftp (filezilla oder WINSCP) an.

                Gruß

                Rainer

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Antwort Letzte Antwort
                0
                • P Offline
                  P Offline
                  PeterM
                  schrieb am zuletzt editiert von
                  #12

                  Hallo Rainer,

                  leider keinerlei Erfolg.

                  Und ich finde ums Verrecken NICHT mehr den Beitrag von @paul53 :cry:

                  Unter /home/pi gibt es einige Einträge mit dem Datum 26.11.2017.

                  Habe iobroker gestoppt, die Einträge umbenannt, rebootet und wieder gestartet - admin will nicht.

                  Ich habe noch eine etwas ältere Sicherung aus Win32Diskimager. Falls ich diese einspiele, kann ich dann vorher mit FileZilla einfach alles unter /opt/iobroker sichern und danach wieder zurückspielen?

                  Oder evtl. eine Datei unter /opt/iobroker/backups danach zurückladen und wie funktioniert dies?

                  Ich würde natürlich lieber den eigentlichen Fehler finden (gefunden bekommen) und beheben - dann wird es das nächste Mal einfacher…

                  Viele Grüße,

                  Peter

                  1 Antwort Letzte Antwort
                  0
                  • P Offline
                    P Offline
                    PeterM
                    schrieb am zuletzt editiert von
                    #13

                    Hier gab es noch etwas von @bluefox (http://forum.iobroker.net/viewtopic.php … nis#p30682)

                    Das habe ich mal ausprobiert (zunächst mal noch den Job 2217 gekillt):

                    ! ````
                    pi@raspberrypi /opt/iobroker $ sudo lsof -i -P | grep -i LISTEN
                    lircd 444 root 5u IPv4 5042 0t0 TCP *:8765 (LISTEN)
                    iobroker. 2217 root 11u IPv4 9234 0t0 TCP localhost:9000 (LISTEN)
                    iobroker. 2217 root 12u IPv4 9235 0t0 TCP localhost:9001 (LISTEN)
                    apache2 2254 root 3u IPv4 8556 0t0 TCP *:80 (LISTEN)
                    apache2 2448 www-data 3u IPv4 8556 0t0 TCP *:80 (LISTEN)
                    apache2 2449 www-data 3u IPv4 8556 0t0 TCP *:80 (LISTEN)
                    apache2 2450 www-data 3u IPv4 8556 0t0 TCP *:80 (LISTEN)
                    apache2 2451 www-data 3u IPv4 8556 0t0 TCP *:80 (LISTEN)
                    apache2 2453 www-data 3u IPv4 8556 0t0 TCP *:80 (LISTEN)
                    sshd 2459 root 3u IPv4 9302 0t0 TCP *:22 (LISTEN)
                    io.web.0 2635 root 14u IPv4 2032 0t0 TCP ioBroker-LAN.fritz.box:8082 (LISTEN)
                    io.sonos. 2647 root 14u IPv4 2045 0t0 TCP *:8083 (LISTEN)
                    io.sonos. 2647 root 16u IPv4 11265 0t0 TCP *:3500 (LISTEN)
                    io.hm-rpc 2664 root 14u IPv4 9672 0t0 TCP ioBroker-LAN.fritz.box:2002 (LISTEN)
                    io.hm-rpc 2670 root 14u IPv4 2033 0t0 TCP ioBroker-LAN.fritz.box:2001 (LISTEN)
                    io.hm-rpc 2676 root 15u IPv4 9663 0t0 TCP ioBroker-LAN.fritz.box:8701 (LISTEN)
                    io.hm-rpc 2694 root 15u IPv4 8782 0t0 TCP ioBroker-LAN.fritz.box:2010 (LISTEN)
                    pi@raspberrypi /opt/iobroker $ sudo kill 2217
                    pi@raspberrypi /opt/iobroker $ node node_modules/iobroker.js-controller/controller.js
                    2017-12-02 17:01:00.310 - info: host.raspberrypi iobroker.js-controller version 1.2.3 js-controller starting
                    2017-12-02 17:01:00.317 - info: host.raspberrypi Copyright (c) 2014-2017 bluefox, 2014 hobbyquaker
                    2017-12-02 17:01:00.318 - info: host.raspberrypi hostname: raspberrypi, node: v9.2.0
                    2017-12-02 17:01:00.322 - info: host.raspberrypi ip addresses: 192.168.178.96 192.168.178.100
                    2017-12-02 17:01:02.817 - info: host.raspberrypi inMem-states listening on port 9000
                    2017-12-02 17:01:04.962 - info: host.raspberrypi inMem-objects listening on port 9001
                    2017-12-02 17:01:04.985 - info: host.raspberrypi InMemoryDB connected
                    2017-12-02 17:01:05.097 - info: host.raspberrypi 21 instances found
                    host.raspberrypi check instance "system.adapter.admin.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.hm-rega.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.hm-rega.1" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.dwd.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.web.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.example.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.hue.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.sonos.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.vis.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.hm-rpc.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.hm-rpc.1" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.hm-rpc.2" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.hm-rega.2" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.rpi2.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.vis-hqwidgets.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.vis-bars.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.hm-rpc.3" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.vis-fancyswitch.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.netatmo.0" for host "raspberrypi"
                    host.raspberrypi check instance "system.adapter.javascript.0" for host "raspberrypi"
                    2017-12-02 17:01:05.117 - info: host.raspberrypi starting 20 instances
                    2017-12-02 17:01:05.167 - info: host.raspberrypi instance system.adapter.admin.0 started with pid 4920
                    2017-12-02 17:01:10.603 - info: host.raspberrypi instance system.adapter.hm-rega.0 started with pid 4930
                    2017-12-02 17:01:13.490 - info: host.raspberrypi instance system.adapter.hm-rega.1 started with pid 4940
                    adapterGetPort: no port
                    2017-12-02 17:01:16.769 - error: admin.0 uncaught exception: adapterGetPort: no port
                    ! 2017-12-02 17:01:17.036 - error: Caught by controller[0]: adapterGetPort: no port
                    2017-12-02 17:01:17.037 - error: Caught by controller[0]: 2017-12-02 17:01:16.769 - admin.0 uncaught exception: adapterGetPort: no port
                    2017-12-02 17:01:17.038 - error: host.raspberrypi instance system.adapter.admin.0 terminated with code 0 (OK)
                    2017-12-02 17:01:17.039 - info: host.raspberrypi Restart adapter system.adapter.admin.0 because enabled
                    2017-12-02 17:01:17.190 - info: host.raspberrypi instance scheduled system.adapter.dwd.0 0 * * * *
                    2017-12-02 17:01:17.216 - info: host.raspberrypi instance system.adapter.dwd.0 started with pid 4950
                    2017-12-02 17:01:19.555 - info: dwd.0 starting. Version 2.2.1 in /opt/iobroker/node_modules/iobroker.dwd, node: v9.2.0
                    2017-12-02 17:01:21.994 - info: host.raspberrypi instance system.adapter.web.0 started with pid 4960
                    2017-12-02 17:01:23.820 - info: host.raspberrypi instance system.adapter.dwd.0 terminated with code 0 (OK)
                    2017-12-02 17:01:25.701 - warn: host.raspberrypi startInstance cannot find adapter "example". Try to install it... 1 attempt
                    2017-12-02 17:01:25.702 - info: iobroker install example
                    2017-12-02 17:01:27.134 - error: iobroker host.raspberrypi Unknown packetName example
                    2017-12-02 17:01:27.145 - info: iobroker exit 5
                    2017-12-02 17:01:28.149 - warn: host.raspberrypi startInstance cannot find adapter "example". Try to install it... 2 attempt
                    2017-12-02 17:01:28.149 - info: iobroker install example
                    2017-12-02 17:01:29.142 - info: host.raspberrypi instance system.adapter.hue.0 started with pid 4988
                    2017-12-02 17:01:29.590 - error: iobroker host.raspberrypi Unknown packetName example
                    2017-12-02 17:01:29.600 - info: iobroker exit 5
                    2017-12-02 17:01:31.910 - warn: host.raspberrypi startInstance cannot find adapter "example". Try to install it... 3 attempt
                    2017-12-02 17:01:31.911 - info: iobroker install example
                    2017-12-02 17:01:33.141 - info: host.raspberrypi instance system.adapter.sonos.0 started with pid 5008
                    2017-12-02 17:01:33.604 - error: iobroker host.raspberrypi Unknown packetName example
                    2017-12-02 17:01:33.613 - info: iobroker exit 5
                    2017-12-02 17:01:34.615 - error: host.raspberrypi Cannot download adapter "example". To restart it disable/enable it or restart host.
                    ^C2017-12-02 17:01:36.458 - info: host.raspberrypi received SIGINT
                    2017-12-02 17:01:36.480 - info: host.raspberrypi instance system.adapter.hue.0 terminated with code 0 (OK)
                    2017-12-02 17:01:36.501 - info: host.raspberrypi instance system.adapter.sonos.0 terminated with code 0 (OK)
                    2017-12-02 17:01:36.521 - info: host.raspberrypi instance system.adapter.hm-rega.1 terminated with code 0 (OK)
                    2017-12-02 17:01:36.536 - info: host.raspberrypi instance system.adapter.web.0 terminated with code 0 (OK)
                    2017-12-02 17:01:36.564 - info: host.raspberrypi instance system.adapter.hm-rega.0 terminated with code 0 (OK)
                    2017-12-02 17:01:36.564 - info: host.raspberrypi All instances are stopped.
                    2017-12-02 17:01:37.012 - info: host.raspberrypi terminated
                    pi@raspberrypi /opt/iobroker $

                    Da gab es andere Fehler (no port). Die Meldungen bezüglich "example" kann man ignorieren (habe ich ja nicht aktiviert).
                    
                    Wenn ich danach iobroker starte, sind die beiden Einträge (für port 9000 und 9001) unter "LISTEN" wieder da.
                    
                    Ein erneutes "pi@raspberrypi /opt/iobroker $ node node_modules/iobroker.js-controller/controller.js" meckert dann wieder die beiden Ports an.
                    
                    Gruß,
                    
                    Peter
                    1 Antwort Letzte Antwort
                    0
                    • P Offline
                      P Offline
                      PeterM
                      schrieb am zuletzt editiert von
                      #14

                      Hallo,

                      ich komme leider nicht mehr weiter - hat keiner eine Idee wie ich das Problem noch angehen kann?

                      Viele Grüße,

                      Peter

                      1 Antwort Letzte Antwort
                      0
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      556

                      Online

                      32.5k

                      Benutzer

                      81.8k

                      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