Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installation Ubuntu 16.04, Port 9000 schon belegt

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Installation Ubuntu 16.04, Port 9000 schon belegt

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

      Versuche gerade, eine Installation unter Ubuntu 16.04 ans Laufen zu bringen, aber ich vermute ein schon genutzter Port 9000 verhindert das:

      npm install iobroker.js-controller --production --prefix /opt/iobroker
      events.js:160
            throw er; // Unhandled 'error' event
            ^
      
      Error: listen EADDRINUSE 127.0.0.1:9000
          at Object.exports._errnoException (util.js:1020:11)
          at exports._exceptionWithHostPort (util.js:1043:20)
          at Server._listen2 (net.js:1258:14)
          at listen (net.js:1294:10)
          at net.js:1404:9
          at _combinedTickCallback (internal/process/next_tick.js:83:11)
          at process._tickCallback (internal/process/next_tick.js:104:9)
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
      npm WARN iobroker No description
      npm WARN iobroker No repository field.
      npm WARN iobroker No README data
      npm WARN iobroker No license field.
      npm ERR! Linux 4.4.0-83-generic
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.js-controller" "--production" "--prefix" "/opt/iobroker"
      npm ERR! node v6.11.2
      npm ERR! npm  v3.10.10
      npm ERR! code ELIFECYCLE
      
      npm ERR! iobroker.js-controller@1.1.2 install: `node iobroker.js setup first`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the iobroker.js-controller@1.1.2 install script 'node iobroker.js setup first'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the iobroker.js-controller package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     node iobroker.js setup first
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs iobroker.js-controller
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls iobroker.js-controller
      npm ERR! There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /opt/iobroker/node_modules/iobroker/npm-debug.log
      Cannot install as normal user. Try sudo...
      sudo npm install iobroker.js-controller --production --prefix /opt/iobroker
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
      npm WARN iobroker No description
      npm WARN iobroker No repository field.
      npm WARN iobroker No README data
      npm WARN iobroker No license field.
      Write "./iobroker start" to start the ioBroker
      /usr/bin/env: ‘node\r’: No such file or directory
      Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
      iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
      
      

      Habe ich den Fehler richtig gedeutet, und kann ich das Problem umgehen? Bis jetzt habe ich noch keine Möglichkeit gefunden, beim````
      npm install iobroker --unsafe-perm

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

        Ich habe Ubuntu 17.04 laufen und mich an die Anleitung wie beim RasPi gehalten:

        http://www.iobroker.net/docu/?page_id=5106&lang=de

        1. Installation Node.js (wie bei Pi 2/3)

        2. Installation ioBroker

        Hat bei mir einwandfrei funktioniert. Hast du node.js installiert? (Scheint nicht so…)

        1 Reply Last reply Reply Quote 0
        • H
          haarspalter last edited by

          node.js ist installiert:

          user@host:~$ node --version
          v6.11.2
          

          Der Anleitung bin ich auch gefolgt, allerdings ist eben Port 9000 schon in Benutzung:

          Error: listen EADDRINUSE 127.0.0.1:9000
          
          
          1 Reply Last reply Reply Quote 0
          • S
            spaceduck last edited by

            Na dann mach doch mal ein "netstat -nlp" in der shell und schau erstmal wer den 9000er belegt.

            1 Reply Last reply Reply Quote 0
            • H
              haarspalter last edited by

              Ich weiß ja, was den Port belegt. Die Frage ist aber, ob ich gleich bei der Installation von iobroker alternative Ports angeben kann, um das Problem gleich von Anfang an zu umgehen.

              Natürlich könnte ich auch temporär den Port 9000 freigeben, die Installation durchführen, dann die Ports anpassen, und dann wieder den ursprünglichen Dienst auf 9000 starten.

              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

              641
              Online

              32.0k
              Users

              80.5k
              Topics

              1.3m
              Posts

              3
              5
              1359
              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