Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. willkürliche abstürzte der Adapter seit node 10 update

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    SOLVED willkürliche abstürzte der Adapter seit node 10 update

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Halmand last edited by Thomas Braun

      @Halmand

      free -h
      

      Und warum läuft die Kiste in Runlevel5? Server werden klassischerweise in RL 3 betreiben und per ssh loggt man sich dann ein.
      Ich würd den Kram ausknipsen:

      sudo init 3
      
      J H 2 Replies Last reply Reply Quote 0
      • J
        Jan1 @Thomas Braun last edited by

        @Thomas-Braun
        Weil das der Standard bei Debian ist

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

          @Jan1 Aber nicht bei einem Server.

          J 1 Reply Last reply Reply Quote 0
          • H
            Halmand @Thomas Braun last edited by Halmand

            @Thomas-Braun ```
            ahhh so geht das mit code posten ähhm weis garnicht was die level bedeuten ach ja auf der maschine sind es nur 4gb hab aber noch eine mit 8 gb das gleich problem speicher kann ich zuweßen wie viel ich möchte bis 256GB

            server@debian-iobroker:~$ free -h
                          total        used        free      shared  buff/cache   available
            Mem:           3.9G        1.2G        1.1G        5.2M        1.6G        2.7G
            Swap:          4.0G          0B        4.0G
            server@debian-iobroker:~$ sudo init 3
            
            We trust you have received the usual lecture from the local System
            Administrator. It usually boils down to these three things:
            
                #1) Respect the privacy of others.
                #2) Think before you type.
                #3) With great power comes great responsibility.
            
            [sudo] password for server:
            Sorry, user server is not allowed to execute '/sbin/init 3' as root on debian-iobroker.
            server@debian-iobroker:~$ su
            Password:
            root@debian-iobroker:/home/server# sudo init 3
            root@debian-iobroker:/home/server#
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • J
              Jan1 @Thomas Braun last edited by

              @Thomas-Braun
              Ja aber wenn Debian installierst, kannst das nicht auswählen und nicht jeder User ist da so fit wie Du 😉

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

                @Halmand sagte in willkürliche abstürzte der Adapter seit node 10 update:

                server@debian-iobroker:~$ su

                Da fehlen aber auch wieder die Grundlagen.
                Als root:

                usermod -aG sudo server
                

                Dann wieder als 'server' einloggen. Und den Quatsch mit su und root werden wieder vergessen.

                H 1 Reply Last reply Reply Quote 0
                • H
                  Halmand @Thomas Braun last edited by

                  @Thomas-Braun aso hab gerne das sudo nicht gesamte macht hat

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

                    @Halmand Aber dann als dicker mächtiger root in eine root-shell einloggen? Du hast das Konzept nicht verstanden.
                    Mittels sudo kannst du die 'Macht' ja eben viel zielgenauer dosieren.

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      Halmand @Thomas Braun last edited by

                      @Thomas-Braun so offt nutze ich die konsole auch nicht und jaa ich bin linux noob weiß nur bar sachen

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

                        @Halmand
                        Dann merk dir die 'richtigen' Sachen. Per 'sudo' machst du viel weniger kaputt als in einer root-shell. Auch und gerade mit wenig Ahnung.

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          Halmand @Thomas Braun last edited by

                          @Thomas-Braun darum hab ich ja in ner VM da mach ich snapshots davor XD

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

                            @Halmand Trotzdem kann man mit seinem System sauber umgehen.

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              Halmand @Thomas Braun last edited by

                              @Thomas-Braun ja hast ja recht

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

                                @Halmand
                                Als user 'server'

                                groups
                                
                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  Halmand @Thomas Braun last edited by

                                  @Thomas-Braun said in willkürliche abstürzte der Adapter seit java 10 update:

                                  groups

                                  server@debian-iobroker:~$ groups
                                  server cdrom floppy sudo audio dip video plugdev netdev lpadmin scanner
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Halmand last edited by

                                    @Halmand
                                    Okay, du bleibst jetzt immer user 'server'. root ist tabu!

                                    iobroker status
                                    
                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      Halmand @Thomas Braun last edited by

                                      @Thomas-Braun said in willkürliche abstürzte der Adapter seit java 10 update:

                                      iobroker status

                                      server@debian-iobroker:~$ iobroker status
                                      iobroker is running on this host.
                                      
                                      At least one iobroker host is running.
                                      
                                      Objects type: file
                                      States  type: file
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Halmand last edited by

                                        @Halmand

                                        iobroker version
                                        
                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          Halmand @Thomas Braun last edited by

                                          @Thomas-Braun said in willkürliche abstürzte der Adapter seit java 10 update:

                                          iobroker version

                                          server@debian-iobroker:~$ iobroker version
                                          3.0.20
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Halmand last edited by

                                            @Halmand Würde ich mit node12 fahren.

                                            H 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            901
                                            Online

                                            32.1k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter admin java update absturz
                                            4
                                            70
                                            4156
                                            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