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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Adapter admin startet kurz und stoppt dann

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                      • H
                                        hein4105 @Homoran last edited by

                                        @homoran ```
                                        ======== Start marking the full check here =========

                                        Skript v.2023-06-20
                                        
                                        *** BASE SYSTEM ***
                                         Static hostname: debian
                                               Icon name: computer-vm
                                                 Chassis: vm 🖴
                                              Machine ID: 689eb33959e8434ea1ccfbd0935124af
                                                 Boot ID: fc324d5d11194e3a82433857116ab77f
                                          Virtualization: microsoft
                                        Operating System: Debian GNU/Linux 12 (bookworm)
                                                  Kernel: Linux 6.1.0-12-686-pae
                                            Architecture: x86
                                         Hardware Vendor: QEMU
                                          Hardware Model: Standard PC _i440FX + PIIX, 1996_
                                        Firmware Version: Virtualization-2.5.1-11303-200428-0-gfff70e7
                                        
                                        model name	: Intel(R) Celeron(R) CPU J3355 @ 2.00GHz
                                        Docker          : false
                                        Virtualization  : microsoft
                                        Kernel          : i686
                                        Userland        : i386
                                        
                                        Systemuptime and Load:
                                         18:33:25 up  2:09,  2 users,  load average: 1.02, 0.76, 0.60
                                        CPU threads: 1
                                        
                                        
                                        *** Time and Time Zones ***
                                                       Local time: Fri 2023-09-22 18:33:25 CEST
                                                   Universal time: Fri 2023-09-22 16:33:25 UTC
                                                         RTC time: Fri 2023-09-22 16:33:25
                                                        Time zone: Europe/Berlin (CEST, +0200)
                                        System clock synchronized: yes
                                                      NTP service: active
                                                  RTC in local TZ: no
                                        
                                        *** User and Groups ***
                                        root
                                        /root
                                        root
                                        
                                        *** X-Server-Setup ***
                                        X-Server: 	false
                                        Desktop: 	
                                        Terminal: 	tty
                                        Boot Target: 	graphical.target
                                        
                                        *** MEMORY ***
                                                       total        used        free      shared  buff/cache   available
                                        Mem:            4.2G        497M        3.5G        499K        509M        3.7G
                                        Swap:           1.0G          0B        1.0G
                                        Total:          5.2G        497M        4.5G
                                        
                                                 3965 M total memory
                                                  474 M used memory
                                                  268 M active memory
                                                  231 M inactive memory
                                                 3355 M free memory
                                                   42 M buffer memory
                                                  443 M swap cache
                                                  974 M total swap
                                                    0 M used swap
                                                  974 M free swap
                                        
                                        *** FILESYSTEM ***
                                        Filesystem     Type      Size  Used Avail Use% Mounted on
                                        udev           devtmpfs  2.0G     0  2.0G   0% /dev
                                        tmpfs          tmpfs     397M  488K  397M   1% /run
                                        /dev/sda1      ext4       34G  3.2G   29G  10% /
                                        tmpfs          tmpfs     2.0G     0  2.0G   0% /dev/shm
                                        tmpfs          tmpfs     5.0M     0  5.0M   0% /run/lock
                                        tmpfs          tmpfs     397M     0  397M   0% /run/user/1000
                                        
                                        Messages concerning ext4 filesystem in dmesg:
                                        [Fri Sep 22 16:24:06 2023] EXT4-fs (sda1): mounted filesystem with ordered data mode. Quota mode: none.
                                        [Fri Sep 22 16:24:11 2023] EXT4-fs (sda1): re-mounted. Quota mode: none.
                                        
                                        Show mounted filesystems (real ones only):
                                        TARGET SOURCE    FSTYPE OPTIONS
                                        /      /dev/sda1 ext4   rw,relatime,errors=remount-ro
                                        
                                        Files in neuralgic directories:
                                        
                                        /var:
                                        621M	/var/
                                        358M	/var/cache
                                        350M	/var/cache/apt
                                        276M	/var/cache/apt/archives
                                        176M	/var/lib
                                        
                                        Archived and active journals take up 72.0M in the file system.
                                        
                                        /opt/iobroker/backups:
                                        du: cannot access '/opt/iobroker/backups/': No such file or directory
                                        
                                        /opt/iobroker/iobroker-data:
                                        18M	/opt/iobroker/iobroker-data/
                                        15M	/opt/iobroker/iobroker-data/files
                                        13M	/opt/iobroker/iobroker-data/files/admin.admin/custom/static/js
                                        13M	/opt/iobroker/iobroker-data/files/admin.admin/custom/static
                                        13M	/opt/iobroker/iobroker-data/files/admin.admin/custom
                                        
                                        The five largest files in iobroker-data are:
                                        6.3M	/opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
                                        3.6M	/opt/iobroker/iobroker-data/objects.jsonl
                                        2.8M	/opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js
                                        1.6M	/opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map
                                        652K	/opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map
                                        
                                        *** 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
                                        
                                        Adapters from github: 	0
                                        
                                        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 18:36:29.687  - 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 18:36:40.344  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
                                        2023-09-22 18:36:40.382  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                                        2023-09-22 18:36:40.384  - info: host.debian hostname: debian, node: v18.13.0
                                        2023-09-22 18:36:40.391  - 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 18:36:47.672  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
                                        2023-09-22 18:36:47.688  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                                        2023-09-22 18:36:47.690  - info: host.debian hostname: debian, node: v18.13.0
                                        2023-09-22 18:36:47.692  - 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 18:36:57.433  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
                                        2023-09-22 18:36:57.472  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                                        2023-09-22 18:36:57.478  - info: host.debian hostname: debian, node: v18.13.0
                                        2023-09-22 18:36:57.480  - 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 18:37:05.109  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
                                        2023-09-22 18:37:05.125  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                                        2023-09-22 18:37:05.126  - info: host.debian hostname: debian, node: v18.13.0
                                        2023-09-22 18:37:05.129  - 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 18:37:13.144  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
                                        2023-09-22 18:37:13.177  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                                        2023-09-22 18:37:13.182  - info: host.debian hostname: debian, node: v18.13.0
                                        2023-09-22 18:37:13.185  - 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 18:37:24.893  - info: host.debian iobroker.js-controller version 5.0.12 js-controller starting
                                        2023-09-22 18:37:24.929  - info: host.debian Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                                        2023-09-22 18:37:24.934  - info: host.debian hostname: debian, node: v18.13.0
                                        2023-09-22 18:37:24.937  - info: host.debian ip addresses: 192.168.178.109 2001:9e8:bfaa:f500:11:32ff:fe26:1c3c fe80::11:32ff:fe26:1c3c
                                        
                                        

                                        ============ Mark until here for C&P =============

                                        iob diag has finished.

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

                                          @Thomas-Braun

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

                                          Userland : i386

                                          greif mir bitte unter die Arme. sowas hatte ich vermutet

                                          root und dfsg kommt natürlich noch dazu

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

                                            Das ist mMn nach schon von Grund auf schief installiert worden. Mach es neu, diesmal direkt als reine 64Bit-Version und ohne root.

                                            Homoran 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

                                            504
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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