Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehler "unable to resolve host: Name or service not known"

    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

    Fehler "unable to resolve host: Name or service not known"

    This topic has been deleted. Only users with topic management privileges can see it.
    • Glasfaser
      Glasfaser @andreasph last edited by Glasfaser

      @andreasph sagte in Fehler "unable to resolve host: Name or service not known":

      Ich habe aktuell auch immer wieder Probleme im VIS-Editor.

      Das liegt eher daran :
      https://forum.iobroker.net/topic/55990/erledigt-keine-anzeige-der-projekte-in-visedit/3?_=1664222369295

      A 1 Reply Last reply Reply Quote 0
      • A
        andreasph @Glasfaser last edited by andreasph

        @glasfaser danke, über das Problem war ich auch gestolpert. Zurzeit habe ich die websockets ws aktiviert.

        Edit: sehe gerade das der Cache nicht aktiviert war. Mal sehn' was er bringt.

        1 Reply Last reply Reply Quote 0
        • OliverIO
          OliverIO @andreasph last edited by

          @andreasph sagte in Fehler "unable to resolve host: Name or service not known":

          sudo: unable to resolve host iobroker4: Name or service not known

          hast du den hostnamen des containers mal umbenannt?

          wenn du die beiden folgenden befehle in einer shell im container ausführst

          cat /etc/hostname
          

          und

          cat /etc/hosts
          

          dann sollte der hostname in der auflistung irgendwo zusammen mit der ip des containers auftauchen.

          die ip des containers, kann ebenfalls in der shell des containers mit

          ifconfig
          

          abgerufen werden. allerdings muss man da etwas genauer hinschauen, da je nach konfiguration da mindestens 2 interfaces (loopback und das eigentliche interface) + ggfs weitere verknüpfte netzte wie bspw zum redis container auftauchen.

          A 2 Replies Last reply Reply Quote 0
          • A
            andreasph @OliverIO last edited by

            @oliverio said in Fehler "unable to resolve host: Name or service not known":

            f

            auffällig finde ich nur das Ergebnis von

            root@iobroker4:/opt/iobroker# cat /etc/hosts                                                                                                                                                                                  
            # Any manual change will be lost if the host name is changed or system upgrades.                                                                                                                                              
            127.0.0.1       localhost                                                                                                                                                                                                     
            ::1             localhost                                                                                                                                                                                                     
            127.0.0.1       NASServer                                                                                                                                                                                                       
            ::1             NASServer
            
            1 Reply Last reply Reply Quote 0
            • A
              andreasph @OliverIO last edited by

              @oliverio said in Fehler "unable to resolve host: Name or service not known":

              hast du den hostnamen des containers mal umbenannt?

              das hatte ich tatsächlich, nämlich nach dem Upgrade des Containers iobroker3 -> iobroker4

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

                @andreasph
                und wie sieht

                cat /etc/hostname 
                

                aus?

                ich bin etwas verwirrt.
                verwendest du nicht den container von buanet?
                bist du in einer shell IM container oder nur auf dem host-system?
                es sieht leider nicht nach iobroker system aus

                H 1 Reply Last reply Reply Quote 0
                • H
                  Homer @OliverIO last edited by

                  @oliverio

                  sieht bei mir auch so aus und ist ggf. mein Problem mit der Wetterstation:

                  root@iobrokerNAS1:/opt/iobroker# cat /etc/hosts                                                                                                                                     
                  # Any manual change will be lost if the host name is changed or system upgrades.                                                                                                    
                  127.0.0.1       localhost                                                                                                                                                           
                  ::1             localhost                                                                                                                                                           
                  127.0.0.1       Disk_Keller_2                                                                                                                                                       
                  ::1             Disk_Keller_2                                                                                                                                                        
                  root@iobrokerNAS1:/opt/iobroker# cat /etc/hostname                                                                                                                                                                                    
                  iobrokerNAS1                                                                                                                                                                                                                          
                  root@iobrokerNAS1:/opt/iobroker#                                                                                                                                                                                                      
                                                      
                  

                  Aber was sagt mir das?

                  H.

                  OliverIO 1 Reply Last reply Reply Quote 0
                  • OliverIO
                    OliverIO @Homer last edited by

                    @homer sagte in Fehler "unable to resolve host: Name or service not known":

                    sieht bei mir auch so aus und ist ggf. mein Problem mit der Wetterstation:

                    ich habe nur iobroker container mit macvlan, also eigener ip-adresse aus meinem netz.
                    da taucht die ipadresse ebenfalls dort mit dem hostnamen auf.
                    ich habe dann mit einem anderen nicht macvlan container, allerdings kein iobroker, verglichen. da stand ebenfalls eine ip-adresse drin (halt eine aus dem docker-bereich mit einem anderen subnet

                    an deinem fällt mir auf:

                    • die zeile mit einer ip-adresse fehlt (also eine nicht 127.0.0.1)
                    • der hostname Disk_keller_2 und iobrokerNAS1 weicht voneinander ab. das sollte gleich sein

                    hast du den container genau nach Anleitung aufgebaut? oder da nachträglich noch Änderungen vorgenommen?

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      Homer @OliverIO last edited by

                      @oliverio
                      Genau nach Anleitung. Habe danach das ioBroker-Backup eingespielt, aber am Netzwerk keine Änderungen vorgenommen.
                      Neustart vom ioBroker u./o. Docker brachte keine Besserung.

                      H.

                      OliverIO 1 Reply Last reply Reply Quote 0
                      • OliverIO
                        OliverIO @Homer last edited by

                        @homer
                        welche Anleitung

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

                          @oliverio:
                          So: https://technikkram.net/blog/2020/01/30/synology-docker-iobroker-installation/

                          OliverIO 1 Reply Last reply Reply Quote 0
                          • OliverIO
                            OliverIO @Homer last edited by

                            @homer

                            dann mit der Anleitung nochmal probieren
                            https://smarthome.buanet.de/2019/05/iobroker-unter-docker-auf-der-synology-diskstation-v3/

                            @andre
                            Die Seite ist aktuell nicht erreichbar.
                            Weiß nicht ob dir das schon bekannt ist

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              Matis @OliverIO last edited by Matis

                              @oliverio
                              @andre
                              @oliverio

                              Und wie ging das nun weiter?
                              Habe das gleiche Problem (unable to resolve host), aber leider steht hier nicht, was die Lösung war.

                              root@buanet-iobroker:/opt/iobroker# cat /etc/hosts
                              127.0.0.1 localhost
                              ::1 localhost
                              127.0.0.1 nas1
                              ::1 nas1
                              root@buanet-iobroker:/opt/iobroker# cat /etc/hostname
                              buanet-iobroker
                              root@buanet-iobroker:/opt/iobroker#

                              manuxi 1 Reply Last reply Reply Quote 0
                              • manuxi
                                manuxi @Matis last edited by

                                Same here

                                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

                                773
                                Online

                                31.9k
                                Users

                                80.1k
                                Topics

                                1.3m
                                Posts

                                7
                                18
                                2094
                                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