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. ioBroker Allgemein
  4. RPI & Nginx & Ports

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.5k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

RPI & Nginx & Ports

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
31 Beiträge 3 Kommentatoren 6.1k 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.
  • Z Offline
    Z Offline
    z000ao8q
    schrieb am zuletzt editiert von
    #16

    ne, er will nicht aktivieren
    ` > root@testserver:/opt/iobroker# iobroker add admin –port 8090 --enabled

    events.js:72

    throw er; // Unhandled 'error' event

    ^

    Error: listen EADDRINUSE

    at errnoException (net.js:901:11)

    at Server._listen2 (net.js:1039:14)

    at listen (net.js:1061:10)

    at Server.listen (net.js:1127:5)

    at _initWebServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/objectsInMemServer.js:2410:24)

    at /opt/iobroker/node_modules/iobroker.js-controller/lib/objectsInMemServer.js:143:9

    at new ObjectsInMemServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/objectsInMemServer.js:150:7)

    at null._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2192:27)

    at Timer.listOnTimeout [as ontimeout] (timers.js:110:15) > root@testserver:/opt/iobroker# ps -A | grep io

    10 ? 00:00:03 migration/0

    11 ? 00:00:03 migration/1

    15 ? 00:00:03 migration/2

    19 ? 00:00:03 migration/3

    30 ? 00:00:00 bioset

    33 ? 00:00:00 rpciod

    36 ? 00:00:00 nfsiod

    50 ? 00:00:00 DWC Notificatio

    11141 ? 00:00:22 io.js-controlle > root@testserver:/opt/iobroker# netstat -na | grep 8090

    root@testserver:/opt/iobroker#/quote] `

    1 Antwort Letzte Antwort
    0
    • BluefoxB Offline
      BluefoxB Offline
      Bluefox
      schrieb am zuletzt editiert von
      #17
      cd /opt/iobroker
      sudo iobroker stop
      ps -A | grep io
      
      

      Letzter Befehl sollte nichts zeigen. Falls was zu sehen ist, dann mit "kill -KILL nummer" das Prozess löschen.

      Danach

      sudo iobroker add admin --port 8090 --enabled
      sudo iobroker start
      
      

      Dann sollte gehen.

      1 Antwort Letzte Antwort
      0
      • Z Offline
        Z Offline
        z000ao8q
        schrieb am zuletzt editiert von
        #18

        ` > root@testserver:/opt/iobroker# ps -A | grep io

        10 ? 00:00:05 migration/0

        11 ? 00:00:05 migration/1

        15 ? 00:00:05 migration/2

        19 ? 00:00:05 migration/3

        30 ? 00:00:00 bioset

        33 ? 00:00:00 rpciod

        36 ? 00:00:00 nfsiod

        50 ? 00:00:00 DWC Notificatio

        root@testserver:/opt/iobroker# sudo iobroker add admin –port 8090 --enabled

        create instance admin

        object system.adapter.admin.1.uptime created

        object system.adapter.admin.1.memRss created

        object system.adapter.admin.1.memHeapTotal created

        object system.adapter.admin.1.memHeapUsed created

        object system.adapter.admin.1.connected created

        object system.adapter.admin.1.alive created

        object system.adapter.admin.1 created

        root@testserver:/opt/iobroker# sudo iobroker start

        Starting ioBroker controller daemon...

        ioBroker controller daemon started. PID: 23295 `
        interessant weil all dieses im Laufe des Threads schon einmal probiert wurde :-)

        Zumindest scheint er auf den :8090 zu reagieren.

        bingt kein "nicht verfügbar" sonder läd ne zeit bis ins Timeout und bingt ein "not responding"

        im TOP kann ich für kurze zeit einen "node" Prozess aufblinken mit minimaler CPU-Usage.

        Aber das Webfrontend macht nix :-(

        1 Antwort Letzte Antwort
        0
        • Z Offline
          Z Offline
          z000ao8q
          schrieb am zuletzt editiert von
          #19

          die Kernaussage aus dem zweiten Post bleibt: Log-File:
          ` > error: admin.0 no connection to objects DB

          error: admin.1 no connection to objects DB `
          Gibt es vielleicht jemand, der den Teil programmiert hat und versteht was hier der Auslöser ist?

          Ist das ioBroker - oder ein Node.js Problem?

          1 Antwort Letzte Antwort
          0
          • BluefoxB Offline
            BluefoxB Offline
            Bluefox
            schrieb am zuletzt editiert von
            #20

            @z000ao8q:

            die Kernaussage aus dem zweiten Post bleibt: Log-File:
            ` > error: admin.0 no connection to objects DB

            error: admin.1 no connection to objects DB `
            Gibt es vielleicht jemand, der den Teil programmiert hat und versteht was hier der Auslöser ist?

            Ist das ioBroker - oder ein Node.js Problem? `
            Ich habe das geschrieben, aber ich verstehe nicht, warum es nicht geht. Das ist definitiv ioBroker Problem.

            Ok.

            Versuchen wir js-controller und admin manuell zu starten.

            cd /opt/iobroker
            sudo iobroker stop
            
            

            Dann vergewissern, dass es wirklich angehalten ist. (Sehe oben)

            Danach````
            sudo node node_modules/iobroker.js-controller/controller.js

            Was kommt da?
            
            Ich vermute, dass doch Firewall aktiv ist und der lässt die Verbindung mit 9000 und 9001 nicht zu.
            1 Antwort Letzte Antwort
            0
            • BluefoxB Offline
              BluefoxB Offline
              Bluefox
              schrieb am zuletzt editiert von
              #21

              Habe jetzt noch mal versucht zu installieren und es hat geklappt.

              1 Antwort Letzte Antwort
              0
              • Z Offline
                Z Offline
                z000ao8q
                schrieb am zuletzt editiert von
                #22

                die inMem Server scheinen zu laufen auf den 9000ern
                ` > root@testserver:~# netstat -lnptu

                Active Internet connections (only servers)

                Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name

                tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2180/nginx

                tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2123/sshd

                tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 2180/nginx

                tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 23295/io.js-control

                tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 23295/io.js-control

                tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 2549/mysqld

                udp 0 0 0.0.0.0:68 0.0.0.0:* 1984/dhcpcd

                udp 0 0 192.168.0.23:123 0.0.0.0:* 2039/ntpd

                udp 0 0 0.0.0.0:123 0.0.0.0:* 2039/ntpd

                udp 0 0 0.0.0.0:5353 0.0.0.0:* 2098/avahi-daemon:

                udp 0 0 0.0.0.0:56664 0.0.0.0:* 2098/avahi-daemon: > sudo iobroker stop beendet sie > root@testserver:/opt/iobroker# sudo node node_modules/iobroker.js-controller/controller.js

                2015-08-04 20:57:08.628 - info: host.testserver ioBroker.js-controller version 0.7.5 js-controller starting

                2015-08-04 20:57:08.640 - info: host.testserver Copyright © 2014-2015 bluefox, hobbyquaker

                2015-08-04 20:57:08.642 - info: host.testserver hostname: testserver

                2015-08-04 20:57:08.644 - info: host.testserver ip addresses: 192.168.0.23

                2015-08-04 20:57:08.695 - info: inMem-states listening on port 9000

                2015-08-04 20:57:08.743 - info: inMem-objects listening on port 9001

                2015-08-04 20:57:08.755 - info: host.testserver InMemoryDB connected

                2015-08-04 20:57:08.777 - info: host.testserver 2 instances found

                2015-08-04 20:57:08.780 - info: host.testserver starting 2 instances

                2015-08-04 20:57:08.870 - info: host.testserver instance system.adapter.admin.0 started with pid 8798

                2015-08-04 20:57:12.801 - info: host.testserver instance system.adapter.admin.1 started with pid 8836

                2015-08-04 20:57:18.474 - error: admin.0 no connection to objects DB

                2015-08-04 20:57:22.397 - error: admin.1 no connection to objects DB `
                danach sind sie im netstat auch wieder sichtbar

                1 Antwort Letzte Antwort
                0
                • Z Offline
                  Z Offline
                  z000ao8q
                  schrieb am zuletzt editiert von
                  #23

                  @Bluefox:

                  Habe jetzt noch mal versucht zu installieren und es hat geklappt. `
                  auf nem PI? mit Raspberian?

                  vielleicht irgendwas an den apt-gets die ich installiert hab (oder auch nicht)?

                  hab jetzt keinen Bock mehr.

                  schreibe mir grad nen neues Raspberian auf die SD-Karte und versuche es auf na sauberen Installation

                  1 Antwort Letzte Antwort
                  0
                  • Z Offline
                    Z Offline
                    z000ao8q
                    schrieb am zuletzt editiert von
                    #24

                    mir ist gerade was aufgefallen.

                    Die Anleitung bei GIT unterscheidet zwischen zwei node-downloads.

                    iobroker.net nicht
                    ` > Node.js (Node.js version >= 0.8, including npm)

                    Debian package for ARM (Raspbian, Cubian, …) `
                    ich habe die erste Version von ioBroker.net verwendet

                    1 Antwort Letzte Antwort
                    0
                    • Z Offline
                      Z Offline
                      z000ao8q
                      schrieb am zuletzt editiert von
                      #25

                      Bingo!

                      ein sauberes Image + das zweite Node-Package klappen!

                      …werde jetzt nach und nach meine alten Settings vornehmen und berichten, wo der Übeltäter liegt...

                      1 Antwort Letzte Antwort
                      0
                      • Z Offline
                        Z Offline
                        z000ao8q
                        schrieb am zuletzt editiert von
                        #26

                        OK, here is the Issue.

                        um den PI "headless" zu betreiben ist es üblich die X11 Komponenten zu entfernt.

                        apt-get -y purge x11-common 
                        

                        dazu gehören die folgenden. Sobald die weg sind, geht ioBroker nicht mehr.
                        ` > cups-bsd cups-client esound-common fonts-droid fonts-roboto ghostscript libaudiofile1 libaudit0

                        libcupsimage2 libcwiid1 libdirectfb-1.2-9 libesd0 libfile-copy-recursive-perl libgs9 libgs9-common

                        libijs-0.35 libjbig2dec0 libmad0 libmikmod2 libpaper-utils libpaper1 libpciaccess0 libpoppler19

                        libportmidi0 libqt4-network libruby1.9.1 libsclang1 libscsynth1 libts-0.0-0 libvorbisfile3 libxfce4util-bin

                        libxfce4util-common libxfce4util4 libxfconf-0-2 libxkbfile1 libxp6 libyaml-0-2 poppler-data poppler-utils

                        pypy-upstream-doc ruby1.9.1 supercollider supercollider-common supercollider-server tcl8.4 tcl8.5 tk8.4

                        tsconf update-inetd xfce-keyboard-shortcuts xfconf > blt* epiphany-browser* gsfonts-x11* gstreamer1.0-plugins-bad* gvfs* gvfs-backends* gvfs-daemons* gvfs-fuse*

                        idle* idle-python2.7* idle-python3.2* idle3* lesstif2* libaudio2* libfluidsynth1* libice6*

                        liblightdm-gobject-1-0* libobrender27* libpulse0* libqscintilla2-8* libqt4-svg* libqtgui4* libqtwebkit4*

                        libsdl-image1.2* libsdl-mixer1.2* libsdl-ttf2.0-0* libsdl1.2debian* libsm6* libsmpeg0* libwebkitgtk-3.0-0*

                        libxaw7* libxfce4ui-1-0* libxklavier16* libxmu6* libxss1* libxt6* libxtst6* libzbar0* lightdm*

                        lightdm-gtk-greeter* lxde* lxde-core* obconf* openbox* oracle-java8-jdk* pipanel* pistore* pypy-setuptools*

                        pypy-upstream* pypy-upstream-dev* python-pygame* python-tk* python3-pygame* python3-tk* qjackctl*

                        raspberrypi-net-mods* raspberrypi-ui-mods* sonic-pi* timidity* tk8.5* wolfram-engine* wpagui* x11-common*

                        x11-utils* x11-xkb-utils* x11-xserver-utils* x2x* xfce4-mixer* xfonts-encodings* xfonts-utils* xinit* xpdf*

                        xserver-common* xserver-xorg* xserver-xorg-core* xserver-xorg-input-all* xserver-xorg-input-evdev*

                        xserver-xorg-input-synaptics* xserver-xorg-video-fbdev* xserver-xorg-video-fbturbo* zenity* `

                        Hast Du eine Idee welcher Teil das Problem darstellen könnte?

                        1 Antwort Letzte Antwort
                        0
                        • BluefoxB Offline
                          BluefoxB Offline
                          Bluefox
                          schrieb am zuletzt editiert von
                          #27

                          Habe jetzt auf pi2 aufgerufen:

                          sudo apt-get -y purge x11-common
                          cd /opt/iobroker
                          sudo iobroker start
                          
                          

                          und es geht.

                          Probier mal beim gestoppten ioBroker:

                          cd /opt/iobroker
                          sudo node node_modules/iobroker.js-controller/controller.js
                          
                          

                          Was kommt da?

                          Bei mir:

                          pi@raspberrypi /opt/iobroker $ sudo node node_modules/iobroker.js-controller/controller.js
                          2015-08-05 21:30:12.753  - info: host.raspberrypi ioBroker.js-controller version 0.7.3 js-controller starting
                          2015-08-05 21:30:12.766  - info: host.raspberrypi Copyright (c) 2014-2015 bluefox, hobbyquaker
                          2015-08-05 21:30:12.769  - info: host.raspberrypi hostname: raspberrypi
                          2015-08-05 21:30:12.770  - info: host.raspberrypi ip addresses: 192.168.1.86
                          2015-08-05 21:30:12.822  - info: inMem-states listening on port 9000
                          2015-08-05 21:30:12.868  - info: inMem-objects listening on port 9001
                          2015-08-05 21:30:12.880  - info: host.raspberrypi InMemoryDB connected
                          2015-08-05 21:30:12.900  - info: host.raspberrypi 1 instance found
                          2015-08-05 21:30:12.903  - info: host.raspberrypi starting 1 instance
                          2015-08-05 21:30:12.996  - info: host.raspberrypi instance system.adapter.admin.0 started with pid 25986
                          2015-08-05 21:30:18.016  - info: admin.0 starting. Version 0.5.6 in /opt/iobroker/node_modules/iobroker.admin
                          2015-08-05 21:30:18.146  - info: admin.0 requesting all states
                          2015-08-05 21:30:18.150  - info: admin.0 requesting all objects
                          2015-08-05 21:30:18.155  - info: admin.0 http server listening on port 8081
                          2015-08-05 21:30:18.156  - info: admin.0 Use link "http://localhost:8081" to configure.
                          2015-08-05 21:30:18.246  - info: admin.0 received all objects
                          2015-08-05 21:30:18.252  - info: admin.0 received all states
                          2015-08-05 21:30:32.134  - info: host.raspberrypi Update repository "default" under "conf/sources-dist.json"
                          
                          
                          1 Antwort Letzte Antwort
                          0
                          • Z Offline
                            Z Offline
                            z000ao8q
                            schrieb am zuletzt editiert von
                            #28

                            interessant.

                            bei mir Back to the Roots
                            ` > pi@raspberrypi /opt/iobroker $ sudo node node_modules/iobroker.js-controller/controller.js

                            2015-08-05 20:50:25.141 - info: host.raspberrypi ioBroker.js-controller version 0.7.5 js-controller starting

                            2015-08-05 20:50:25.153 - info: host.raspberrypi Copyright © 2014-2015 bluefox, hobbyquaker

                            2015-08-05 20:50:25.155 - info: host.raspberrypi hostname: raspberrypi

                            2015-08-05 20:50:25.156 - info: host.raspberrypi ip addresses: 192.168.0.23

                            2015-08-05 20:50:25.211 - info: inMem-states listening on port 9000

                            2015-08-05 20:50:25.346 - info: inMem-objects listening on port 9001

                            2015-08-05 20:50:25.358 - info: host.raspberrypi InMemoryDB connected

                            2015-08-05 20:50:25.383 - info: host.raspberrypi 8 instances found

                            2015-08-05 20:50:25.386 - info: host.raspberrypi starting 6 instances

                            2015-08-05 20:50:25.481 - info: host.raspberrypi instance system.adapter.admin.0 started with pid 14207

                            2015-08-05 20:50:29.408 - info: host.raspberrypi instance system.adapter.hm-rpc.0 started with pid 14245

                            2015-08-05 20:50:33.408 - info: host.raspberrypi instance system.adapter.web.0 started with pid 14283

                            ****2015-08-05 20:50:35.108 - error: admin.0 no connection to objects DB

                            2015-08-05 20:50:36.145 - error: hm-rpc.0 no connection to objects DB

                            2015-08-05 20:50:40.585 - error: web.0 no connection to objects DB

                            2015-08-05 20:50:44.011 - error: vis.0 no connection to objects DB****

                            2015-08-05 20:50:45.402 - info: host.raspberrypi instance system.adapter.history.0 started with pid 14411

                            2015-08-05 20:50:51.975 - error: history.0 no connection to objects DB `

                            hast Du nen Reboot nach dem purge gemacht?

                            auch auf dem neuen kernel?

                            Linux raspberrypi 4.0.9-v7+ #807
                            

                            ich habe oben einen Fehler gemacht.

                            ich habe auch "sonic-pi" entfernt und oben nicht gepostet.

                            Dieser Teil ist für die ganzen Removes verantwortlich. Wenn ich "sonic-pi" wieder installiere, klappt es aber trotzdem nicht.

                            1 Antwort Letzte Antwort
                            0
                            • BluefoxB Offline
                              BluefoxB Offline
                              Bluefox
                              schrieb am zuletzt editiert von
                              #29

                              3.18.7-v7+

                              Geht auch nach reboot.

                              1 Antwort Letzte Antwort
                              0
                              • Z Offline
                                Z Offline
                                z000ao8q
                                schrieb am zuletzt editiert von
                                #30

                                ich gebe langsam auf.

                                habe ein weiteres neues Image geschrieben.

                                apt-get -y update && apt-get -y upgrade && apt-get -y autoremove
                                

                                node & iobroker installiert

                                =>funktioniert

                                apt-get -y purge x11-common
                                

                                =>funktioniert

                                reboot -h
                                

                                => bekannter Fehler. geht nicht mehr.

                                Irgend was aus dem X11 Package fehlt ihm :-(

                                1 Antwort Letzte Antwort
                                0
                                • Z Offline
                                  Z Offline
                                  z000ao8q
                                  schrieb am zuletzt editiert von
                                  #31

                                  and the winner is…

                                  raspberrypi-net-mods
                                  

                                  node.js scheint von diesem Package abhängig zu sein.

                                  Sobald man es deinstalliert, geht es nicht mehr.

                                  Sobald man es neu-installiert (nach einem kompletten X11-Cleanup z.B.) läuft wieder alles!

                                  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
                                  FAQ Cloud / IOT
                                  HowTo: Node.js-Update
                                  HowTo: Backup/Restore
                                  Downloads
                                  BLOG

                                  327

                                  Online

                                  32.7k

                                  Benutzer

                                  82.4k

                                  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