Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. GELÖST Objects database error: connect ECONNREFUSED

    NEWS

    • js-controller 3.2 jetzt im STABLE!

    • Alexa2 Adapter: ACHTUNG UPDATE auf 3.7.x nötig!!

    • ioBroker Fertigimages für Einplatinencomputer eingestellt

    GELÖST Objects database error: connect ECONNREFUSED

    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zakuma last edited by zakuma

      Guten Tag,

      gestern etwa gegen 23:30 Uhr (meine Frau hatte noch ein Alexa Befehl abgesetzt dieser ging durch) war von jetzt auf gleich mein IOBroker nicht mehr erreichbar und somit meine Alexa Befehle nicht mehr möglich.

      Heute habe ich mich mal ran gesetzt und ich kann dieses einkreisen auf irgendwas mit dem Port 9001.
      Nur habe ich schon länger nichts mehr verändert (außer mal Updates).

      pi@Pi4:~ $ iobroker list instances
       Objects database error: connect ECONNREFUSED 127.0.0.1:9001
       Objects database error: connect ECONNREFUSED 127.0.0.1:9001
       Objects database error: connect ECONNREFUSED 127.0.0.1:9001
        system.adapter.admin.0                  : admin                 : Pi4                                      -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        system.adapter.alarm.0                  : alarm                 : Pi4                                      -  enabled
        system.adapter.alexa2.0                 : alexa2                : Pi4                                      - disabled
        system.adapter.backitup.0               : backitup              : Pi4                                      - disabled
        system.adapter.history.0                : history               : Pi4                                      -  enabled
        system.adapter.hm-rega.0                : hm-rega               : Pi4                                      -  enabled
        system.adapter.hm-rpc.0                 : hm-rpc                : Pi4                                      -  enabled, port: 0
        system.adapter.hm-rpc.1                 : hm-rpc                : Pi4                                      -  enabled, port: 0
        system.adapter.info.0                   : info                  : Pi4                                      -  enabled
        system.adapter.iot.0                    : iot                   : Pi4                                      -  enabled
        system.adapter.iqontrol.0               : iqontrol              : Pi4                                      -  enabled
        system.adapter.javascript.0             : javascript            : Pi4                                      -  enabled
        system.adapter.mqtt.1                   : mqtt                  : Pi3                                      -  enabled, port: 1883, bind: 0.0.0.0
        system.adapter.rpi2.0                   : rpi2                  : Pi4                                      -  enabled
        system.adapter.shelly.0                 : shelly                : Pi4                                      -  enabled, port: 1882, bind: 192.168.27.44
        system.adapter.simple-api.0             : simple-api            : Pi4                                      -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
        system.adapter.web.0                    : web                   : Pi4                                      -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        system.adapter.zigbee.0                 : zigbee                : Pi3                                      -  enabled, port: /dev/ttyACM0
      
      + instance is alive
      
      
      

      So sieht das ganze aus. Die 127.0.0.1 war vorher die 0.0.0.0 (war Standard eingestellt) hat leider nichts gebracht dies zu verändern.

      Ich habe sonst noch OMV installiert auf dem Pi.

      Hoffentlich kann mir da jemand helfen, ich verzweifel.

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

        @zakuma

        iobroker status
        
        Z 1 Reply Last reply Reply Quote 0
        • Z
          zakuma @Thomas Braun last edited by

          @thomas-braun

          
          pi@raspberrypi:~ $ iobroker status
          iobroker is not running on this host.
          
          
          Objects type: file
          States  type: file
          pi@raspberrypi:~ $ iobroker start
          pi@raspberrypi:~ $ iobroker status
          iobroker is not running on this host.
          
          
          Objects type: file
          States  type: file
          pi@raspberrypi:~ $
          
          

          Danke für die schnelle Meldung.
          Starten klappt nicht.

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

            @zakuma

            iobroker start admin
            
            Z 1 Reply Last reply Reply Quote 0
            • Z
              zakuma @Thomas Braun last edited by

              @thomas-braun

              
              pi@Pi4:~ $ iobroker start admin
              pi@Pi4:~ $ iobroker status
              iobroker is not running on this host.
              
              
              Objects type: file
              States  type: file
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @zakuma last edited by Thomas Braun

                @zakuma
                Merkwürdig.
                Hau den

                iobroker fix
                

                mal über das System.

                Wenn das nicht funktioniert mal

                cd /opt/iobroker 
                sudo -H -u iobroker npm install iobroker.js-controller
                
                Z 1 Reply Last reply Reply Quote 1
                • Z
                  zakuma @Thomas Braun last edited by

                  @thomas-braun said in Objects database error: connect ECONNREFUSED 127.0.0.1:9001:

                  iobroker fix

                  iobroker fix
                  

                  HALLELUJA!

                  pi@Pi4:~ $ iobroker fix
                  library: loaded
                  Library version=2021-04-07
                  
                  ==========================================================================
                  
                      Welcome to the ioBroker installation fixer!
                      Script version: 2021-04-07
                  
                      You might need to enter your password a couple of times.
                  
                  ==========================================================================
                  
                  
                  ==========================================================================
                      Installing prerequisites (1/3)
                  ==========================================================================
                  
                  Get:1 file:/var/cache/openmediavault/archives  InRelease
                  Ign:1 file:/var/cache/openmediavault/archives  InRelease
                  Get:2 file:/var/cache/openmediavault/archives  Release
                  Ign:2 file:/var/cache/openmediavault/archives  Release
                  Get:3 file:/var/cache/openmediavault/archives  Packages
                  Ign:3 file:/var/cache/openmediavault/archives  Packages
                  Get:4 file:/var/cache/openmediavault/archives  Translation-en
                  Ign:4 file:/var/cache/openmediavault/archives  Translation-en
                  Get:3 file:/var/cache/openmediavault/archives  Packages
                  Ign:3 file:/var/cache/openmediavault/archives  Packages
                  Get:4 file:/var/cache/openmediavault/archives  Translation-en
                  Ign:4 file:/var/cache/openmediavault/archives  Translation-en
                  Get:3 file:/var/cache/openmediavault/archives  Packages
                  Ign:3 file:/var/cache/openmediavault/archives  Packages
                  Get:4 file:/var/cache/openmediavault/archives  Translation-en
                  Ign:4 file:/var/cache/openmediavault/archives  Translation-en
                  Get:3 file:/var/cache/openmediavault/archives  Packages
                  Ign:3 file:/var/cache/openmediavault/archives  Packages
                  Get:4 file:/var/cache/openmediavault/archives  Translation-en
                  Ign:4 file:/var/cache/openmediavault/archives  Translation-en
                  Get:3 file:/var/cache/openmediavault/archives  Packages
                  Ign:3 file:/var/cache/openmediavault/archives  Packages
                  Get:4 file:/var/cache/openmediavault/archives  Translation-en
                  Ign:4 file:/var/cache/openmediavault/archives  Translation-en
                  Get:3 file:/var/cache/openmediavault/archives  Packages
                  Ign:3 file:/var/cache/openmediavault/archives  Packages
                  Get:4 file:/var/cache/openmediavault/archives  Translation-en
                  Ign:4 file:/var/cache/openmediavault/archives  Translation-en
                  Get:3 file:/var/cache/openmediavault/archives  Packages
                  Get:4 file:/var/cache/openmediavault/archives  Translation-en
                  Ign:4 file:/var/cache/openmediavault/archives  Translation-en
                  Hit:5 http://deb.debian.org/debian buster InRelease
                  Hit:6 http://deb.debian.org/debian-security buster/updates InRelease
                  Hit:7 http://deb.debian.org/debian buster-updates InRelease
                  Ign:8 http://ftp.nl.debian.org/debian stretch InRelease
                  Hit:9 http://httpredir.debian.org/debian buster-backports InRelease
                  Hit:10 http://security.debian.org/debian-security buster/updates InRelease
                  Hit:11 http://packages.openmediavault.org/public usul InRelease
                  Hit:12 http://archive.raspberrypi.org/debian buster InRelease
                  Hit:13 http://ftp.nl.debian.org/debian stretch Release
                  Get:14 https://download.docker.com/linux/debian buster InRelease [44.4 kB]
                  Ign:15 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 InRelease
                  Hit:16 https://deb.nodesource.com/node_12.x buster InRelease
                  Hit:17 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release
                  Hit:18 https://openmediavault-plugin-developers.github.io/packages/debian usul InRelease
                  Hit:19 https://openmediavault.github.io/packages usul InRelease
                  Get:20 https://openmediavault-plugin-developers.github.io/packages/debian usul-extras InRelease [3918 B]
                  Fetched 48.3 kB in 5s (9688 B/s)
                  Reading package lists... Done
                  Installed gcc-c++
                  
                  ==========================================================================
                      Checking ioBroker user and directory permissions (2/3)
                  ==========================================================================
                  
                  Created /etc/sudoers.d/iobroker
                  Fixing directory permissions...
                  
                  ==========================================================================
                      Checking autostart (3/3)
                  ==========================================================================
                  
                  Enabling autostart...
                  Autostart enabled!
                  
                  ==========================================================================
                  
                      Your installation was fixed successfully
                      Run iobroker start to start ioBroker again!
                  
                  ==========================================================================
                  
                  pi@Pi4:~ $ iobroker start
                  pi@Pi4:~ $ iobroker status
                  iobroker is running on this host.
                  
                  
                  Objects type: file
                  States  type: file
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @zakuma last edited by Thomas Braun

                    @zakuma

                    Du fährst da aber auch einen brandgefährlichen Mix aus Paketquellen, die nicht zusammenpassen!
                    stretch, buster, xenial, backports usw.
                    Da prognostiziere ich langanhaltenden Trouble. Dringendst aufräumen!

                    Z 1 Reply Last reply Reply Quote 0
                    • Z
                      zakuma @Thomas Braun last edited by zakuma

                      @thomas-braun Ja hab schon ein neues Problem mit einem Slave

                      
                      pi@Pi3:~ $ iobroker start
                      pi@Pi3:~ $ iobroker status
                      No connection to databases possible ...
                      
                      

                      Soll ich dafür ein neuen Thread eröffnen?

                      Wie was genau soll ich aufräumen?

                      OMV wollte ich schon mit allem runter schmeißen, da ich es aktuell nicht Nutze. Leider hab ich kein Befehl hierzu gefunden.

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

                        @zakuma

                        Bitte führe 2x

                        sudo apt update
                        

                        durch, die Ausgabe des zweiten Laufs bitte hier posten.
                        Zusammen mit der Ausgabe von

                        lsb_release -a
                        

                        OMV wollte ich schon mit allem runter schmeißen, da ich es aktuell nicht Nutze. Leider hab ich kein Befehl hierzu gefunden.

                        Wie ist es denn auf das System gekommen?

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        1.4k
                        Online

                        38.7k
                        Users

                        44.1k
                        Topics

                        617.2k
                        Posts

                        2
                        10
                        45
                        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-2021
                        logo