Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter admin startet kurz und stoppt dann

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Adapter admin startet kurz und stoppt dann

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

      Nach dem Starten des Admin Adapters (iobroker start admin) kann man mit netztet -ano erkennen, dass für die IP Adresse 127.0.0.1 zweimal der Port 9000 geöffnet wird und einmal für Port 9001. Ich vermute, dass für den Port 9000 der Port nur einmal geöffnet werden darf.

      tcp        0      0 127.0.0.1:9000          127.0.0.1:49028         TIME_WAIT   timewait (47,61/0/0)
      tcp        0      0 127.0.0.1:9000          127.0.0.1:49032         TIME_WAIT   timewait (47,63/0/0)
      tcp        0    348 192.168.178.109:22      192.168.178.20:51172    VERBUNDEN   ein (0,02/0/0)
      tcp        0      0 127.0.0.1:9001          127.0.0.1:37146         TIME_WAIT   timewait (46,86/0/0)
      

      MOD-EDIT: Code in code-tags gesetzt!

      Alle neuen Verbindungen stehen auch auf TIMW_WAIT. in der Konfigurationsdatei habe ich zudem 0.0.0.0 eingetragen (iobroker.json).

      Der iobroker läuft in einer VM auf einer NAS Synology 218play mit 6 GB.

      Ruft man das Protokoll von iobroker auf steht dort:

      2023-09-22 16:08:20.643  - ^[[32minfo^[[39m: host.debian iobroker.js-controller version 5.0.12 js-controller starting
      2023-09-22 16:08:20.660  - ^[[32minfo^[[39m: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
      2023-09-22 16:08:20.661  - ^[[32minfo^[[39m: host.debian hostname: debian, node: v18.13.0
      2023-09-22 16:08:20.663  - ^[[32minfo^[[39m: host.debian ip addresses: 192.168.178.109 2001:9e8:bfaa:f500:11:32ff:fe26:1c3c fe80::11:32ff:fe26:1c3c
      2023-09-22 16:08:31.952  - ^[[32minfo^[[39m: host.debian iobroker.js-controller version 5.0.12 js-controller starting
      

      MOD-EDIT: Code in code-tags gesetzt!

      Leider erscheint keinerlei Fehlermeldungen.

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

        @hein4105 sagte in Adapter admin startet kurz und stoppt dann:

        Leider erscheint keinerlei Fehlermeldungen.

        was sagt iob diag in der Langfassung?

        https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

        H 1 Reply Last reply Reply Quote 0
        • H
          hein4105 @Homoran last edited by Homoran

          @homoran said in Adapter admin startet kurz und stoppt dann:

          iob diag

          *** NodeJS-Installation ***
          
          /usr/bin/nodejs 	v18.13.0
          /usr/bin/node 		v18.13.0
          /usr/bin/npm 		9.2.0
          /usr/bin/npx 		9.2.0
          
          
          nodejs:
            Installed: 18.13.0+dfsg1-1
            Candidate: 18.13.0+dfsg1-1
            Version table:
           *** 18.13.0+dfsg1-1 500
                  500 http://deb.debian.org/debian bookworm/main i386 Packages
                  100 /var/lib/dpkg/status
          
          Temp directories causing npm8 problem: 0
          No problems detected
          
          Errors in npm tree: 0
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          iobroker is not running on this host.
          
          Objects type: jsonl
          States  type: jsonl
          
          No configuration change needed.
          
          
          Multihost discovery server: disabled
          Discovery authentication:   enabled
          Persistent activation:      disabled
          Objects:                    jsonl on 0.0.0.0
          States:                     jsonl on 0.0.0.0
          
          Core adapters versions
          js-controller: 	5.0.12
          admin: 		6.10.1
          javascript: 	"javascript" not found
          
          Adapter State
            system.adapter.admin.0                  : admin                 : debian                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            system.adapter.backitup.0               : backitup              : debian                                   -  enabled
            system.adapter.discovery.0              : discovery             : debian                                   -  enabled
          + instance is alive
          Enabled adapters with bindings
            system.adapter.admin.0                  : admin                 : debian                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          ioBroker-Repositories
          stable        : http://download.iobroker.net/sources-dist.json
          beta          : http://download.iobroker.net/sources-dist-latest.json
          
          Active repo(s): stable
          
          Installed ioBroker-Instances
          Used repository: stable
          Adapter    "admin"        : 6.10.1   , installed 6.10.1
          Adapter    "backitup"     : 2.8.1    , installed 2.8.1
          Adapter    "discovery"    : 3.1.0    , installed 3.1.0
          Controller "js-controller": 5.0.12   , installed 5.0.12
          
          Objects and States
          Please stand by - This may take a while
          Objects: 	96
          States: 	21
          
          *** OS-Repositories and Updates ***
          Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
          Hit:2 http://deb.debian.org/debian bookworm InRelease
          Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
          Hit:4 https://deb.nodesource.com/node_18.x bookworm InRelease
          Reading package lists...
          Pending Updates: 0
          
          *** Listening Ports ***
          Active Internet connections (only servers)
          Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
          tcp        0      0 127.0.0.1:41035         0.0.0.0:*               LISTEN      0          16163      504/containerd      
          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          16075      508/sshd: /usr/sbin 
          tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          13568      1/init              
          tcp6       0      0 :::22                   :::*                    LISTEN      0          16086      508/sshd: /usr/sbin 
          tcp6       0      0 :::111                  :::*                    LISTEN      0          13574      1/init              
          udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14676      340/dhclient        
          udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          13571      1/init              
          udp6       0      0 :::111                  :::*                                0          13577      1/init              
          
          *** Log File - Last 25 Lines ***
          
          2023-09-22 17:36:36.221  - info: host.debian ip addresses: 192.168.178.109 2001:9e8:bfaa:f500:11:32ff:fe26:1c3c fe80::11:32ff:fe26:1c3c
          2023-09-22 17:36:47.203  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
          2023-09-22 17:36:47.220  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
          2023-09-22 17:36:47.222  - info: host.debian hostname: debian, node: v18.13.0
          2023-09-22 17:36:47.225  - info: host.debian ip addresses: 192.168.178.109 2001:9e8:bfaa:f500:11:32ff:fe26:1c3c fe80::11:32ff:fe26:1c3c
          2023-09-22 17:36:54.438  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
          2023-09-22 17:36:54.456  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
          2023-09-22 17:36:54.458  - info: host.debian hostname: debian, node: v18.13.0
          2023-09-22 17:36:54.461  - info: host.debian ip addresses: 192.168.178.109 2001:9e8:bfaa:f500:11:32ff:fe26:1c3c fe80::11:32ff:fe26:1c3c
          2023-09-22 17:37:04.162  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
          2023-09-22 17:37:04.195  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
          2023-09-22 17:37:04.196  - info: host.debian hostname: debian, node: v18.13.0
          2023-09-22 17:37:04.203  - info: host.debian ip addresses: 192.168.178.109 2001:9e8:bfaa:f500:11:32ff:fe26:1c3c fe80::11:32ff:fe26:1c3c
          2023-09-22 17:37:11.246  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
          2023-09-22 17:37:11.262  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
          2023-09-22 17:37:11.263  - info: host.debian hostname: debian, node: v18.13.0
          2023-09-22 17:37:11.266  - info: host.debian ip addresses: 192.168.178.109 2001:9e8:bfaa:f500:11:32ff:fe26:1c3c fe80::11:32ff:fe26:1c3c
          2023-09-22 17:37:19.678  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
          2023-09-22 17:37:19.721  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
          2023-09-22 17:37:19.726  - info: host.debian hostname: debian, node: v18.13.0
          2023-09-22 17:37:19.734  - info: host.debian ip addresses: 192.168.178.109 2001:9e8:bfaa:f500:11:32ff:fe26:1c3c fe80::11:32ff:fe26:1c3c
          2023-09-22 17:37:31.290  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
          2023-09-22 17:37:31.325  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
          2023-09-22 17:37:31.330  - info: host.debian hostname: debian, node: v18.13.0
          2023-09-22 17:37:31.333  - info: host.debian ip addresses: 192.168.178.109 2001:9e8:bfaa:f500:11:32ff:fe26:1c3c fe80::11:32ff:fe26:1c3c
          

          MOD-EDIT: Code in code-tags gesetzt!

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

            @hein4105 da fehlt ja fast alles

            https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

            H 2 Replies Last reply Reply Quote 0
            • H
              hein4105 @Homoran last edited by Homoran

              @homoran

              root@debian:/opt/iobroker# node node_modules/iobroker.js-controller/controller.js --logs
              2023-09-22 17:48:27.251  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
              2023-09-22 17:48:27.298  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
              2023-09-22 17:48:27.306  - info: host.debian hostname: debian, node: v18.13.0
              2023-09-22 17:48:27.314  - info: host.debian ip addresses: 192.168.178.109 2001:9e8:bfaa:f500:11:32ff:fe26:1c3c fe80::11:32ff:fe26:1c3c
              Speicherzugriffsfehler
              

              Die einzige Fehlermeldung
              MOD-EDIT: Code in code-tags gesetzt!

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

                @hein4105 sagte in Adapter admin startet kurz und stoppt dann:

                Die einzige Fehlermeldung

                so weit bin ich noch nicht.
                beim diag fehlt einiges

                und bitte in code-tags setzen

                steht alles hier:
                https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

                1 Reply Last reply Reply Quote 0
                • H
                  hein4105 @Homoran last edited by

                  @homoran

                  Das Fix habe ich schon mehrmals ausgeführt, hat leider nichts geholfen bzw. verbessert.

                  Your installation was fixed successfully
                  Run iobroker start to start ioBroker again!

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

                    @hein4105 sagte in Adapter admin startet kurz und stoppt dann:

                    hat leider nichts geholfen bzw. verbessert.

                    was soll der denn verbessern?
                    der fixt verbogene Rechte.
                    Solange du weiter als root unterwegs bist, geht das nicht.

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      hein4105 @Homoran last edited by

                      @homoran ```
                      code_text
                      Mit meinem persönlichen User kann ich das nicht ausführen.

                      Das Debian verlangt von mit das sudo pw.

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

                        @hein4105 sagte in Adapter admin startet kurz und stoppt dann:

                        Mit meinem persönlichen User kann ich das nicht ausführen.

                        was?

                        @hein4105 sagte in Adapter admin startet kurz und stoppt dann:

                        Das Debian verlangt von mit das sudo pw.

                        dann mach das

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          hein4105 @Homoran last edited by

                          @homoran

                          ==========================================================================
                              Installing prerequisites (1/5)
                          ==========================================================================
                          
                          [sudo] Passwort für chris: 
                          Sorry, user chris is not allowed to execute '/usr/bin/apt-get update' as root on debian.
                          [sudo] Passwort für chris: 
                          Das hat nicht funktioniert, bitte nochmal probieren.
                          [sudo] Passwort für chris: 
                          Installed gcc-c++
                          [sudo] Passwort für chris: 
                          Sorry, user chris is not allowed to execute '/usr/sbin/setcap cap_net_admin,cap_net_bind_service,cap_net_raw+eip /usr/bin/node' as root on debian.
                          
                          ==========================================================================
                              Checking ioBroker user and directory permissions (2/5)
                          ==========================================================================
                          
                          [sudo] Passwort für chris: 
                          Sorry, user chris is not allowed to execute '/usr/sbin/usermod -a -G iobroker chris' as root on debian.
                          [sudo] Passwort für chris: 
                          Sorry, user chris is not allowed to execute '/usr/bin/rm -f /etc/sudoers.d/iobroker' as root on debian.
                          [sudo] Passwort für chris: 
                          Sorry, user chris is not allowed to execute '/usr/sbin/visudo -c -q -f /home/chris/temp_sudo_file' as root on debian.
                          [sudo] Passwort für chris: 
                          Sorry, user chris is not allowed to execute '/usr/sbin/usermod -a -G audio iobroker' as root on debian.
                          [sudo] Passwort für chris: 
                          Sorry, user chris is not allowed to execute '/usr/sbin/usermod -a -G dialout iobroker' as root on debian.
                          [sudo] Passwort für chris: 
                          Sorry, user chris is not allowed to execute '/usr/sbin/usermod -a -G tty iobroker' as root on debian.
                          [sudo] Passwort für chris: 
                          Sorry, user chris is not allowed to execute '/usr/sbin/usermod -a -G video iobroker' as root on debian.
                          [sudo] Passwort für chris:
                          
                          
                          Macht das Sinne so weiterzumachen?
                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @hein4105 last edited by

                            @hein4105 dann gib doch bitte die vollständige Ausgabe von iob diag bekannt

                            @hein4105 sagte in Adapter admin startet kurz und stoppt dann:

                            Macht das Sinne so weiterzumachen?

                            ...

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              hein4105 @Homoran last edited by

                              @homoran
                              hab ich komplett ausgeführt.

                              Keine Verbesserung.

                              Nach dem Start des iobrokers tauchen die IP mit Ports 9000 und 9001 kurz auf und verschwindet dann.

                              Warum tauchen zwei 9000er auf? Da sollte doch nur jeweils ein 9000 und ein 9001 aufgebaut werden?

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

                                @hein4105 sagte in Adapter admin startet kurz und stoppt dann:

                                hab ich komplett ausgeführt.

                                was?

                                @hein4105 sagte in Adapter admin startet kurz und stoppt dann:

                                Keine Verbesserung.

                                wodurch?

                                bitte keine Halbsätze ohne Bezug

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  hein4105 @Homoran last edited by

                                  @homoran

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

                                  wurde ausgeführt mit jeweils Eingabe des pw für sudo.

                                  Das fix Script führt zu keiner Verbesserung.

                                  Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @hein4105 last edited by Thomas Braun

                                    @hein4105

                                    Du hast die falsche nodejs-Version und du hampelst als root herum.

                                    Und dem chris fehlen Rechte an sudo.

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

                                      @hein4105 ok! registriert!

                                      Wrum postest du nicht endlich die vollständige Ausgabe von iob diag?
                                      Dann hätten wir hoffentlich fast alle notwendigen Informationen.

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

                                        @thomas-braun sagte in Adapter admin startet kurz und stoppt dann:

                                        @hein4105

                                        Du hast die falsche nodejs-Version und du hampelst als root herum.

                                        ich fürchte da ist noch wesentlich mehr faul.
                                        jetzt nur am node rumspielen wird nicht ausreichen

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

                                          @homoran

                                          Meine Geschoss-Sanierungs-Taktik.
                                          Vom Keller angefangen bis zum Dachgeschoss vorarbeiten.

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

                                            @thomas-braun sagte in Adapter admin startet kurz und stoppt dann:

                                            @homoran

                                            Meine Geschoss-Sanierungs-Taktik.
                                            Vom Keller angefangen bis zum Dachgeschoss vorarbeiten.

                                            ist ja korrekt.

                                            Aber erst muss die Sandbank verfestigt werden

                                            H 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

                                            901
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            36
                                            1175
                                            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