Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. InfluxDB
  5. influxdb.0 2022-08-15 ECONNREFUSED 127.0.0.1:8086 (gelöst)

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    485

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.6k

influxdb.0 2022-08-15 ECONNREFUSED 127.0.0.1:8086 (gelöst)

Geplant Angeheftet Gesperrt Verschoben InfluxDB
17 Beiträge 3 Kommentatoren 5.9k Aufrufe 1 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M maximinus

    @maximinus
    was mir noch auffällt: Die Datensicherung der influxdb vom Tag vor dem Absturz beträgt 390205KB
    die von gestern nur 263114KB

    M Offline
    M Offline
    maximinus
    schrieb am zuletzt editiert von
    #6

    Das Problem konnte gelöst werden:
    influx entfernen mit:
    To uninstall the influxdb package and any other dependant package which are no longer needed on Ubuntu.

    sudo apt-get autoremove influxdb
    

    neu instllieren wie hier beschrieben:

    https://pimylifeup.com/raspberry-pi-influxdb/#:~:text=To%20install%20InfluxDB%20to%20our%20Raspberry%20Pi%2C%20all,service%20manager%20to%20enable%20our%20InfluxDB%20service%20file.
    

    Jetzt läuft es wieder

    RasPi 4 4GB bookworm
    nodejs v20.19.4
    npm 10.8.2
    Objects type: jsonl
    States type: redis
    js-controller: 7.0.6
    admin: 7.6.17
    javascript: 8.9.2

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • M maximinus

      Das Problem konnte gelöst werden:
      influx entfernen mit:
      To uninstall the influxdb package and any other dependant package which are no longer needed on Ubuntu.

      sudo apt-get autoremove influxdb
      

      neu instllieren wie hier beschrieben:

      https://pimylifeup.com/raspberry-pi-influxdb/#:~:text=To%20install%20InfluxDB%20to%20our%20Raspberry%20Pi%2C%20all,service%20manager%20to%20enable%20our%20InfluxDB%20service%20file.
      

      Jetzt läuft es wieder

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #7

      @maximinus

      Du hast aber auch ein Problem mit zu wenig RAM.
      Laufender Desktop z. B.?

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      M 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @maximinus

        Du hast aber auch ein Problem mit zu wenig RAM.
        Laufender Desktop z. B.?

        M Offline
        M Offline
        maximinus
        schrieb am zuletzt editiert von
        #8

        @thomas-braun
        Nachdem das "Problem" gelöst war habe ich hier nicht mehr hineingeschaut und den Hinweis nicht gesehen. Es läuft tatsächlich die Desktop version.
        Leider ist es heute wieder aufgetreten ohne etwas zu ändern war der Zugriff auf die Datenbank weg.
        Ich habe dann ein update upgrade gemacht und plötzlich war sie wieder da aber nur für kurze Zeit. Jetzt ist sie wieder weg. In der Instanzen Übersicht ist der Adapter gelb, wechselt aber sporadisch für kurze Zeit nach grün. Da sieht offenbar so aus:

        pi@raspberrypi:~ $ influx
        Connected to http://localhost:8086 version 1.8.10
        InfluxDB shell version: 1.8.10
        > show databases
        ERR: Post http://localhost:8086/query?chunked=true&db=&epoch=ns&q=show+databases: dial tcp [::1]:8086: connect: connection refused
        > use database iobroker1
        ERR: Post http://localhost:8086/query?db=&epoch=ns&q=SHOW+DATABASES: dial tcp [::1]:8086: connect: connection refused
        DB does not exist!
        > show databases
        ERR: Post http://localhost:8086/query?chunked=true&db=&epoch=ns&q=show+databases: dial tcp [::1]:8086: connect: connection refused
        > exit
        pi@raspberrypi:~ $ influx
        Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
        Please check your connection settings and ensure 'influxd' is running.
        pi@raspberrypi:~ $
        

        Ich habe eine 2. Instanz installiert die ist und bleibt grün !?!
        Ich wollte syslog ansehen das ist aber mit 2,7MB zu groß.
        Was mach ich nur?

        RasPi 4 4GB bookworm
        nodejs v20.19.4
        npm 10.8.2
        Objects type: jsonl
        States type: redis
        js-controller: 7.0.6
        admin: 7.6.17
        javascript: 8.9.2

        Thomas BraunT 2 Antworten Letzte Antwort
        0
        • M maximinus

          @thomas-braun
          Nachdem das "Problem" gelöst war habe ich hier nicht mehr hineingeschaut und den Hinweis nicht gesehen. Es läuft tatsächlich die Desktop version.
          Leider ist es heute wieder aufgetreten ohne etwas zu ändern war der Zugriff auf die Datenbank weg.
          Ich habe dann ein update upgrade gemacht und plötzlich war sie wieder da aber nur für kurze Zeit. Jetzt ist sie wieder weg. In der Instanzen Übersicht ist der Adapter gelb, wechselt aber sporadisch für kurze Zeit nach grün. Da sieht offenbar so aus:

          pi@raspberrypi:~ $ influx
          Connected to http://localhost:8086 version 1.8.10
          InfluxDB shell version: 1.8.10
          > show databases
          ERR: Post http://localhost:8086/query?chunked=true&db=&epoch=ns&q=show+databases: dial tcp [::1]:8086: connect: connection refused
          > use database iobroker1
          ERR: Post http://localhost:8086/query?db=&epoch=ns&q=SHOW+DATABASES: dial tcp [::1]:8086: connect: connection refused
          DB does not exist!
          > show databases
          ERR: Post http://localhost:8086/query?chunked=true&db=&epoch=ns&q=show+databases: dial tcp [::1]:8086: connect: connection refused
          > exit
          pi@raspberrypi:~ $ influx
          Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
          Please check your connection settings and ensure 'influxd' is running.
          pi@raspberrypi:~ $
          

          Ich habe eine 2. Instanz installiert die ist und bleibt grün !?!
          Ich wollte syslog ansehen das ist aber mit 2,7MB zu groß.
          Was mach ich nur?

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von Thomas Braun
          #9

          @maximinus sagte in influxdb.0 2022-08-15 ECONNREFUSED 127.0.0.1:8086 (gelöst):

          Was mach ich nur?

          Den Desktop natürlich aus?

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Antwort Letzte Antwort
          0
          • M maximinus

            @thomas-braun
            Nachdem das "Problem" gelöst war habe ich hier nicht mehr hineingeschaut und den Hinweis nicht gesehen. Es läuft tatsächlich die Desktop version.
            Leider ist es heute wieder aufgetreten ohne etwas zu ändern war der Zugriff auf die Datenbank weg.
            Ich habe dann ein update upgrade gemacht und plötzlich war sie wieder da aber nur für kurze Zeit. Jetzt ist sie wieder weg. In der Instanzen Übersicht ist der Adapter gelb, wechselt aber sporadisch für kurze Zeit nach grün. Da sieht offenbar so aus:

            pi@raspberrypi:~ $ influx
            Connected to http://localhost:8086 version 1.8.10
            InfluxDB shell version: 1.8.10
            > show databases
            ERR: Post http://localhost:8086/query?chunked=true&db=&epoch=ns&q=show+databases: dial tcp [::1]:8086: connect: connection refused
            > use database iobroker1
            ERR: Post http://localhost:8086/query?db=&epoch=ns&q=SHOW+DATABASES: dial tcp [::1]:8086: connect: connection refused
            DB does not exist!
            > show databases
            ERR: Post http://localhost:8086/query?chunked=true&db=&epoch=ns&q=show+databases: dial tcp [::1]:8086: connect: connection refused
            > exit
            pi@raspberrypi:~ $ influx
            Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
            Please check your connection settings and ensure 'influxd' is running.
            pi@raspberrypi:~ $
            

            Ich habe eine 2. Instanz installiert die ist und bleibt grün !?!
            Ich wollte syslog ansehen das ist aber mit 2,7MB zu groß.
            Was mach ich nur?

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #10

            @maximinus

            sudo apt update
            apt policy influxdb*
            

            sagt?

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            M 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @maximinus

              sudo apt update
              apt policy influxdb*
              

              sagt?

              M Offline
              M Offline
              maximinus
              schrieb am zuletzt editiert von
              #11

              @thomas-braun

              Danke dass Du dich meies Problems annimmst

              Also Desktop ist jetzt aus und

              das ist die Antwort:

              login as: pi
              pi@192.168.178.28's password:
              Linux raspberrypi 5.15.56-v7l+ #1575 SMP Fri Jul 22 20:29:46 BST 2022 armv7l
              
              The programs included with the Debian GNU/Linux system are free software;
              the exact distribution terms for each program are described in the
              individual files in /usr/share/doc/*/copyright.
              
              Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
              permitted by applicable law.
              Last login: Thu Sep  1 11:47:57 2022 from 192.168.178.74
              pi@raspberrypi:~ $ sudo apt update
              Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]
              Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
              Hit:3 https://packages.grafana.com/oss/deb stable InRelease
              Hit:4 https://repos.influxdata.com/debian bullseye InRelease
              Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease
              Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
              Get:7 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [297 kB]
              Fetched 13.6 MB in 9s (1,503 kB/s)
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              All packages are up to date.
              pi@raspberrypi:~ $ apt policy influxdb*
              influxdb-client:
                Installed: (none)
                Candidate: 1.6.7~rc0-1
                Version table:
                   1.6.7~rc0-1 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              influxdb-dev:
                Installed: (none)
                Candidate: (none)
                Version table:
              influxdb:
                Installed: 1.8.10-1
                Candidate: 1.8.10-1
                Version table:
               *** 1.8.10-1 500
                      500 https://repos.influxdata.com/debian bullseye/stable armhf Packages
                      100 /var/lib/dpkg/status
                   1.6.7~rc0-1 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              pi@raspberrypi:~ $
              

              Installed:none
              Das dürfte ein Fehler sein, oder? Was habe ich da falsch gemacht?
              Was mich allerdings wundert , ist dass es einige Tage zu funktionieren schien.

              Wie behebe ich das jetzt?

              Herzlichen Dank
              Gerhard

              RasPi 4 4GB bookworm
              nodejs v20.19.4
              npm 10.8.2
              Objects type: jsonl
              States type: redis
              js-controller: 7.0.6
              admin: 7.6.17
              javascript: 8.9.2

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • M maximinus

                @thomas-braun

                Danke dass Du dich meies Problems annimmst

                Also Desktop ist jetzt aus und

                das ist die Antwort:

                login as: pi
                pi@192.168.178.28's password:
                Linux raspberrypi 5.15.56-v7l+ #1575 SMP Fri Jul 22 20:29:46 BST 2022 armv7l
                
                The programs included with the Debian GNU/Linux system are free software;
                the exact distribution terms for each program are described in the
                individual files in /usr/share/doc/*/copyright.
                
                Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                permitted by applicable law.
                Last login: Thu Sep  1 11:47:57 2022 from 192.168.178.74
                pi@raspberrypi:~ $ sudo apt update
                Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]
                Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
                Hit:3 https://packages.grafana.com/oss/deb stable InRelease
                Hit:4 https://repos.influxdata.com/debian bullseye InRelease
                Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
                Get:7 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [297 kB]
                Fetched 13.6 MB in 9s (1,503 kB/s)
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                All packages are up to date.
                pi@raspberrypi:~ $ apt policy influxdb*
                influxdb-client:
                  Installed: (none)
                  Candidate: 1.6.7~rc0-1
                  Version table:
                     1.6.7~rc0-1 500
                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                influxdb-dev:
                  Installed: (none)
                  Candidate: (none)
                  Version table:
                influxdb:
                  Installed: 1.8.10-1
                  Candidate: 1.8.10-1
                  Version table:
                 *** 1.8.10-1 500
                        500 https://repos.influxdata.com/debian bullseye/stable armhf Packages
                        100 /var/lib/dpkg/status
                     1.6.7~rc0-1 500
                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                pi@raspberrypi:~ $
                

                Installed:none
                Das dürfte ein Fehler sein, oder? Was habe ich da falsch gemacht?
                Was mich allerdings wundert , ist dass es einige Tage zu funktionieren schien.

                Wie behebe ich das jetzt?

                Herzlichen Dank
                Gerhard

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #12

                @maximinus sagte in influxdb.0 2022-08-15 ECONNREFUSED 127.0.0.1:8086 (gelöst):

                Das dürfte ein Fehler sein, oder? Was habe ich da falsch gemacht?

                Nein, kein Fehler, die Installation ist so wie sie sein soll.

                Bei influx hab ich weiter keine Aktien drin. Muss sich wer anders anschauen.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                M 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @maximinus sagte in influxdb.0 2022-08-15 ECONNREFUSED 127.0.0.1:8086 (gelöst):

                  Das dürfte ein Fehler sein, oder? Was habe ich da falsch gemacht?

                  Nein, kein Fehler, die Installation ist so wie sie sein soll.

                  Bei influx hab ich weiter keine Aktien drin. Muss sich wer anders anschauen.

                  M Offline
                  M Offline
                  maximinus
                  schrieb am zuletzt editiert von
                  #13

                  @thomas-braun

                  Danke,

                  das kann ich noch anbieten, mir sagt das leider nichts:

                  pi@raspberrypi:~ $ influx
                  Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
                  Please check your connection settings and ensure 'influxd' is running.
                  pi@raspberrypi:~ $ influxd
                  
                   8888888           .d888 888                   8888888b.  888888b.
                     888            d88P"  888                   888  "Y88b 888  "88b
                     888            888    888                   888    888 888  .88P
                     888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
                     888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
                     888   888  888 888    888 888  888   X88K   888    888 888    888
                     888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
                   8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"
                  
                  2022-09-02T17:25:23.217735Z     info    InfluxDB starting       {"log_id": "0cgoc4_G000", "version": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"}
                  2022-09-02T17:25:23.217810Z     info    Go runtime      {"log_id": "0cgoc4_G000", "version": "go1.13.8", "maxprocs": 4}
                  run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use
                  pi@raspberrypi:~ $
                  

                  Gerhard

                  RasPi 4 4GB bookworm
                  nodejs v20.19.4
                  npm 10.8.2
                  Objects type: jsonl
                  States type: redis
                  js-controller: 7.0.6
                  admin: 7.6.17
                  javascript: 8.9.2

                  HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                  0
                  • M maximinus

                    @thomas-braun

                    Danke,

                    das kann ich noch anbieten, mir sagt das leider nichts:

                    pi@raspberrypi:~ $ influx
                    Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
                    Please check your connection settings and ensure 'influxd' is running.
                    pi@raspberrypi:~ $ influxd
                    
                     8888888           .d888 888                   8888888b.  888888b.
                       888            d88P"  888                   888  "Y88b 888  "88b
                       888            888    888                   888    888 888  .88P
                       888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
                       888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
                       888   888  888 888    888 888  888   X88K   888    888 888    888
                       888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
                     8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"
                    
                    2022-09-02T17:25:23.217735Z     info    InfluxDB starting       {"log_id": "0cgoc4_G000", "version": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"}
                    2022-09-02T17:25:23.217810Z     info    Go runtime      {"log_id": "0cgoc4_G000", "version": "go1.13.8", "maxprocs": 4}
                    run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use
                    pi@raspberrypi:~ $
                    

                    Gerhard

                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #14

                    kenne ich damit auch nicht aus. Aber hast du das gemacht, was da steht?

                    @maximinus sagte in influxdb.0 2022-08-15 ECONNREFUSED 127.0.0.1:8086 (gelöst):

                    Please check your connection settings and ensure 'influxd' is running.

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

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

                    1 Antwort Letzte Antwort
                    0
                    • M maximinus

                      @thomas-braun

                      Danke,

                      das kann ich noch anbieten, mir sagt das leider nichts:

                      pi@raspberrypi:~ $ influx
                      Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
                      Please check your connection settings and ensure 'influxd' is running.
                      pi@raspberrypi:~ $ influxd
                      
                       8888888           .d888 888                   8888888b.  888888b.
                         888            d88P"  888                   888  "Y88b 888  "88b
                         888            888    888                   888    888 888  .88P
                         888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
                         888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
                         888   888  888 888    888 888  888   X88K   888    888 888    888
                         888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
                       8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"
                      
                      2022-09-02T17:25:23.217735Z     info    InfluxDB starting       {"log_id": "0cgoc4_G000", "version": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"}
                      2022-09-02T17:25:23.217810Z     info    Go runtime      {"log_id": "0cgoc4_G000", "version": "go1.13.8", "maxprocs": 4}
                      run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use
                      pi@raspberrypi:~ $
                      

                      Gerhard

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #15

                      @maximinus sagte in influxdb.0 2022-08-15 ECONNREFUSED 127.0.0.1:8086 (gelöst):

                      run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use

                      Da lebt schon was auf dem Port.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      M 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @maximinus sagte in influxdb.0 2022-08-15 ECONNREFUSED 127.0.0.1:8086 (gelöst):

                        run: open server: listen: listen tcp 127.0.0.1:8088: bind: address already in use

                        Da lebt schon was auf dem Port.

                        M Offline
                        M Offline
                        maximinus
                        schrieb am zuletzt editiert von
                        #16

                        @thomas-braun

                        Da lebt schon was auf dem Port

                        Das hat jetzt etwas länger gedauert ich musste alles erst zusammensuchen

                        Was da zu leben scheint ist dass influx auf 8088 lauscht, woher das kommt ist mir ein Rätsel

                        pi@raspberrypi:~ $ influxd config
                        Merging with configuration at: /etc/influxdb/influxdb.conf
                        reporting-disabled = false
                        bind-address = "127.0.0.1:8088"
                        
                        [meta]
                          dir = "/var/lib/influxdb/meta"
                          retention-autocreate = true
                          logging-enabled = true
                        
                        [data]
                          dir = "/var/lib/influxdb/data"
                          index-version = "inmem"
                          wal-dir = "/var/lib/influxdb/wal"
                          wal-fsync-delay = "0s"
                          validate-keys = false
                          strict-error-handling = false
                          query-log-enabled = true
                          cache-max-memory-size = 1073741824
                          cache-snapshot-memory-size = 26214400
                          cache-snapshot-write-cold-duration = "10m0s"
                          compact-full-write-cold-duration = "4h0m0s"
                          compact-throughput = 50331648
                          compact-throughput-burst = 50331648
                          max-series-per-database = 1000000
                          max-values-per-tag = 100000
                          max-concurrent-compactions = 0
                          max-index-log-file-size = 1048576
                          series-id-set-cache-size = 100
                          series-file-max-concurrent-snapshot-compactions = 0
                          trace-logging-enabled = false
                          tsm-use-madv-willneed = false
                        
                        [coordinator]
                          write-timeout = "10s"
                          max-concurrent-queries = 0
                          query-timeout = "0s"
                          log-queries-after = "0s"
                          max-select-point = 0
                          max-select-series = 0
                          max-select-buckets = 0
                        
                        [retention]
                          enabled = true
                          check-interval = "30m0s"
                        
                        [shard-precreation]
                          enabled = true
                          check-interval = "10m0s"
                          advance-period = "30m0s"
                        
                        [monitor]
                          store-enabled = true
                          store-database = "_internal"
                          store-interval = "10s"
                        
                        [subscriber]
                          enabled = true
                          http-timeout = "30s"
                          insecure-skip-verify = false
                          ca-certs = ""
                          write-concurrency = 40
                          write-buffer-size = 1000
                        
                        [http]
                          enabled = true
                          bind-address = ":8086"
                          auth-enabled = false
                          log-enabled = true
                          suppress-write-log = false
                          write-tracing = false
                          flux-enabled = false
                          flux-log-enabled = false
                          pprof-enabled = false
                          pprof-auth-enabled = false
                          debug-pprof-enabled = false
                          ping-auth-enabled = false
                          prom-read-auth-enabled = false
                          https-enabled = false
                          https-certificate = "/etc/ssl/influxdb.pem"
                          https-private-key = ""
                          max-row-limit = 0
                          max-connection-limit = 0
                          shared-secret = ""
                          realm = "InfluxDB"
                          unix-socket-enabled = false
                          unix-socket-permissions = "0777"
                          bind-socket = "/var/run/influxdb.sock"
                          max-body-size = 25000000
                          access-log-path = ""
                          max-concurrent-write-limit = 0
                          max-enqueued-write-limit = 0
                          enqueued-write-timeout = 30000000000
                        
                        [logging]
                          format = "auto"
                          level = "info"
                          suppress-logo = false
                        
                        [[graphite]]
                          enabled = false
                          bind-address = ":2003"
                          database = "graphite"
                          retention-policy = ""
                          protocol = "tcp"
                          batch-size = 5000
                          batch-pending = 10
                          batch-timeout = "1s"
                          consistency-level = "one"
                          separator = "."
                          udp-read-buffer = 0
                        
                        [[collectd]]
                          enabled = false
                          bind-address = ":25826"
                          database = "collectd"
                          retention-policy = ""
                          batch-size = 5000
                          batch-pending = 10
                          batch-timeout = "10s"
                          read-buffer = 0
                          typesdb = "/usr/share/collectd/types.db"
                          security-level = "none"
                          auth-file = "/etc/collectd/auth_file"
                          parse-multivalue-plugin = "split"
                        
                        [[opentsdb]]
                          enabled = false
                          bind-address = ":4242"
                          database = "opentsdb"
                          retention-policy = ""
                          consistency-level = "one"
                          tls-enabled = false
                          certificate = "/etc/ssl/influxdb.pem"
                          batch-size = 1000
                          batch-pending = 5
                          batch-timeout = "1s"
                          log-point-errors = true
                        
                        [[udp]]
                          enabled = false
                          bind-address = ":8089"
                          database = "udp"
                          retention-policy = ""
                          batch-size = 5000
                          batch-pending = 10
                          read-buffer = 0
                          batch-timeout = "1s"
                          precision = ""
                        
                        [continuous_queries]
                          log-enabled = true
                          enabled = true
                          query-stats-enabled = false
                          run-interval = "1s"
                        
                        [tls]
                          min-version = ""
                          max-version = ""
                        
                        pi@raspberrypi:~ $
                        

                        Wenn ich in die /etc/influxd/influxd.conf schaue ist die 8088 mit einer Raute versehen:

                        # The values in this file override the default values used by the system if
                        # a config option is not specified. The commented out lines are the configurati>
                        # field and the default value used. Uncommenting a line and changing the value
                        # will change the value used at runtime when the process is restarted.
                        
                        # Once every 24 hours InfluxDB will report usage data to usage.influxdata.com
                        # The data includes a random ID, os, arch, version, the number of series and ot>
                        # usage data. No data from user databases is ever transmitted.
                        # Change this option to true to disable reporting.
                        # reporting-disabled = false
                        
                        # Bind address to use for the RPC service for backup and restore.
                        # bind-address = "127.0.0.1:8088"
                        

                        und weiter unten im http-Teil korrekt mit 8086 definiert

                        [http]
                          # Determines whether HTTP endpoint is enabled.
                        enabled = true
                        
                          # Determines whether the Flux query endpoint is enabled.
                          # flux-enabled = false
                        
                          # Determines whether the Flux query logging is enabled.
                          # flux-log-enabled = false
                        
                          # The bind address used by the HTTP service.
                        bind-address = ":8086"
                        
                        pi@raspberrypi:~ $ sudo netstat -tulpn | grep LISTEN |grep influx
                        tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      13217/influxd
                        pi@raspberrypi:~ $
                        

                        @Homoran

                        Ich denke Influxd läuft, es meldet bind address already in use und erreichbar sollte es auch sein:

                        pi@raspberrypi:~ $ ping -4 localhost
                        PING  (127.0.0.1) 56(84) bytes of data.
                        64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.058 ms
                        64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.078 ms
                        64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.099 ms
                        64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.054 ms
                        64 bytes from localhost (127.0.0.1): icmp_seq=5 ttl=64 time=0.059 ms
                        64 bytes from localhost (127.0.0.1): icmp_seq=6 ttl=64 time=0.054 ms
                        ^C
                        ---  ping statistics ---
                        6 packets transmitted, 6 received, 0% packet loss, time 5229ms
                        rtt min/avg/max/mdev = 0.054/0.067/0.099/0.016 ms
                        

                        Nirgendwo ist Port 8086 zu sehen

                        pi@raspberrypi:/usr/lib/influxdb $ sudo netstat -tulpen
                        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:9001          0.0.0.0:*               LISTEN      1001       17420      1069/iobroker.js-co
                        tcp        0      0 0.0.0.0:1886            0.0.0.0:*               LISTEN      1001       16738      1263/io.mqtt.0
                        tcp        0      0 0.0.0.0:1887            0.0.0.0:*               LISTEN      1001       16739      1263/io.mqtt.0
                        tcp        0      0 0.0.0.0:1500            0.0.0.0:*               LISTEN      1001       16038      1341/io.sonoff.0
                        tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        115698     17948/influxd
                        tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          14526      516/cupsd
                        tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          13713      558/sshd: /usr/sbin
                        tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      115        11867      529/redis-server 12
                        tcp6       0      0 ::1:6379                :::*                    LISTEN      115        11868      529/redis-server 12
                        tcp6       0      0 :::3000                 :::*                    LISTEN      116        12175      522/grafana-server
                        tcp6       0      0 ::1:631                 :::*                    LISTEN      0          14525      516/cupsd
                        tcp6       0      0 :::8081                 :::*                    LISTEN      1001       15761      1135/io.admin.0
                        tcp6       0      0 :::22                   :::*                    LISTEN      0          13723      558/sshd: /usr/sbin
                        udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14569      492/dhcpcd
                        udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          13738      587/cups-browsed
                        udp        0      0 0.0.0.0:47757           0.0.0.0:*                           108        14449      398/avahi-daemon: r
                        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14447      398/avahi-daemon: r
                        udp6       0      0 :::41076                :::*                                108        14450      398/avahi-daemon: r
                        udp6       0      0 :::5353                 :::*                                108        14448      398/avahi-daemon: r
                        pi@raspberrypi:/usr/lib/influxdb $
                        
                        LG Gerhard

                        RasPi 4 4GB bookworm
                        nodejs v20.19.4
                        npm 10.8.2
                        Objects type: jsonl
                        States type: redis
                        js-controller: 7.0.6
                        admin: 7.6.17
                        javascript: 8.9.2

                        M 1 Antwort Letzte Antwort
                        0
                        • M maximinus

                          @thomas-braun

                          Da lebt schon was auf dem Port

                          Das hat jetzt etwas länger gedauert ich musste alles erst zusammensuchen

                          Was da zu leben scheint ist dass influx auf 8088 lauscht, woher das kommt ist mir ein Rätsel

                          pi@raspberrypi:~ $ influxd config
                          Merging with configuration at: /etc/influxdb/influxdb.conf
                          reporting-disabled = false
                          bind-address = "127.0.0.1:8088"
                          
                          [meta]
                            dir = "/var/lib/influxdb/meta"
                            retention-autocreate = true
                            logging-enabled = true
                          
                          [data]
                            dir = "/var/lib/influxdb/data"
                            index-version = "inmem"
                            wal-dir = "/var/lib/influxdb/wal"
                            wal-fsync-delay = "0s"
                            validate-keys = false
                            strict-error-handling = false
                            query-log-enabled = true
                            cache-max-memory-size = 1073741824
                            cache-snapshot-memory-size = 26214400
                            cache-snapshot-write-cold-duration = "10m0s"
                            compact-full-write-cold-duration = "4h0m0s"
                            compact-throughput = 50331648
                            compact-throughput-burst = 50331648
                            max-series-per-database = 1000000
                            max-values-per-tag = 100000
                            max-concurrent-compactions = 0
                            max-index-log-file-size = 1048576
                            series-id-set-cache-size = 100
                            series-file-max-concurrent-snapshot-compactions = 0
                            trace-logging-enabled = false
                            tsm-use-madv-willneed = false
                          
                          [coordinator]
                            write-timeout = "10s"
                            max-concurrent-queries = 0
                            query-timeout = "0s"
                            log-queries-after = "0s"
                            max-select-point = 0
                            max-select-series = 0
                            max-select-buckets = 0
                          
                          [retention]
                            enabled = true
                            check-interval = "30m0s"
                          
                          [shard-precreation]
                            enabled = true
                            check-interval = "10m0s"
                            advance-period = "30m0s"
                          
                          [monitor]
                            store-enabled = true
                            store-database = "_internal"
                            store-interval = "10s"
                          
                          [subscriber]
                            enabled = true
                            http-timeout = "30s"
                            insecure-skip-verify = false
                            ca-certs = ""
                            write-concurrency = 40
                            write-buffer-size = 1000
                          
                          [http]
                            enabled = true
                            bind-address = ":8086"
                            auth-enabled = false
                            log-enabled = true
                            suppress-write-log = false
                            write-tracing = false
                            flux-enabled = false
                            flux-log-enabled = false
                            pprof-enabled = false
                            pprof-auth-enabled = false
                            debug-pprof-enabled = false
                            ping-auth-enabled = false
                            prom-read-auth-enabled = false
                            https-enabled = false
                            https-certificate = "/etc/ssl/influxdb.pem"
                            https-private-key = ""
                            max-row-limit = 0
                            max-connection-limit = 0
                            shared-secret = ""
                            realm = "InfluxDB"
                            unix-socket-enabled = false
                            unix-socket-permissions = "0777"
                            bind-socket = "/var/run/influxdb.sock"
                            max-body-size = 25000000
                            access-log-path = ""
                            max-concurrent-write-limit = 0
                            max-enqueued-write-limit = 0
                            enqueued-write-timeout = 30000000000
                          
                          [logging]
                            format = "auto"
                            level = "info"
                            suppress-logo = false
                          
                          [[graphite]]
                            enabled = false
                            bind-address = ":2003"
                            database = "graphite"
                            retention-policy = ""
                            protocol = "tcp"
                            batch-size = 5000
                            batch-pending = 10
                            batch-timeout = "1s"
                            consistency-level = "one"
                            separator = "."
                            udp-read-buffer = 0
                          
                          [[collectd]]
                            enabled = false
                            bind-address = ":25826"
                            database = "collectd"
                            retention-policy = ""
                            batch-size = 5000
                            batch-pending = 10
                            batch-timeout = "10s"
                            read-buffer = 0
                            typesdb = "/usr/share/collectd/types.db"
                            security-level = "none"
                            auth-file = "/etc/collectd/auth_file"
                            parse-multivalue-plugin = "split"
                          
                          [[opentsdb]]
                            enabled = false
                            bind-address = ":4242"
                            database = "opentsdb"
                            retention-policy = ""
                            consistency-level = "one"
                            tls-enabled = false
                            certificate = "/etc/ssl/influxdb.pem"
                            batch-size = 1000
                            batch-pending = 5
                            batch-timeout = "1s"
                            log-point-errors = true
                          
                          [[udp]]
                            enabled = false
                            bind-address = ":8089"
                            database = "udp"
                            retention-policy = ""
                            batch-size = 5000
                            batch-pending = 10
                            read-buffer = 0
                            batch-timeout = "1s"
                            precision = ""
                          
                          [continuous_queries]
                            log-enabled = true
                            enabled = true
                            query-stats-enabled = false
                            run-interval = "1s"
                          
                          [tls]
                            min-version = ""
                            max-version = ""
                          
                          pi@raspberrypi:~ $
                          

                          Wenn ich in die /etc/influxd/influxd.conf schaue ist die 8088 mit einer Raute versehen:

                          # The values in this file override the default values used by the system if
                          # a config option is not specified. The commented out lines are the configurati>
                          # field and the default value used. Uncommenting a line and changing the value
                          # will change the value used at runtime when the process is restarted.
                          
                          # Once every 24 hours InfluxDB will report usage data to usage.influxdata.com
                          # The data includes a random ID, os, arch, version, the number of series and ot>
                          # usage data. No data from user databases is ever transmitted.
                          # Change this option to true to disable reporting.
                          # reporting-disabled = false
                          
                          # Bind address to use for the RPC service for backup and restore.
                          # bind-address = "127.0.0.1:8088"
                          

                          und weiter unten im http-Teil korrekt mit 8086 definiert

                          [http]
                            # Determines whether HTTP endpoint is enabled.
                          enabled = true
                          
                            # Determines whether the Flux query endpoint is enabled.
                            # flux-enabled = false
                          
                            # Determines whether the Flux query logging is enabled.
                            # flux-log-enabled = false
                          
                            # The bind address used by the HTTP service.
                          bind-address = ":8086"
                          
                          pi@raspberrypi:~ $ sudo netstat -tulpn | grep LISTEN |grep influx
                          tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      13217/influxd
                          pi@raspberrypi:~ $
                          

                          @Homoran

                          Ich denke Influxd läuft, es meldet bind address already in use und erreichbar sollte es auch sein:

                          pi@raspberrypi:~ $ ping -4 localhost
                          PING  (127.0.0.1) 56(84) bytes of data.
                          64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.058 ms
                          64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.078 ms
                          64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.099 ms
                          64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.054 ms
                          64 bytes from localhost (127.0.0.1): icmp_seq=5 ttl=64 time=0.059 ms
                          64 bytes from localhost (127.0.0.1): icmp_seq=6 ttl=64 time=0.054 ms
                          ^C
                          ---  ping statistics ---
                          6 packets transmitted, 6 received, 0% packet loss, time 5229ms
                          rtt min/avg/max/mdev = 0.054/0.067/0.099/0.016 ms
                          

                          Nirgendwo ist Port 8086 zu sehen

                          pi@raspberrypi:/usr/lib/influxdb $ sudo netstat -tulpen
                          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:9001          0.0.0.0:*               LISTEN      1001       17420      1069/iobroker.js-co
                          tcp        0      0 0.0.0.0:1886            0.0.0.0:*               LISTEN      1001       16738      1263/io.mqtt.0
                          tcp        0      0 0.0.0.0:1887            0.0.0.0:*               LISTEN      1001       16739      1263/io.mqtt.0
                          tcp        0      0 0.0.0.0:1500            0.0.0.0:*               LISTEN      1001       16038      1341/io.sonoff.0
                          tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      999        115698     17948/influxd
                          tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          14526      516/cupsd
                          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          13713      558/sshd: /usr/sbin
                          tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      115        11867      529/redis-server 12
                          tcp6       0      0 ::1:6379                :::*                    LISTEN      115        11868      529/redis-server 12
                          tcp6       0      0 :::3000                 :::*                    LISTEN      116        12175      522/grafana-server
                          tcp6       0      0 ::1:631                 :::*                    LISTEN      0          14525      516/cupsd
                          tcp6       0      0 :::8081                 :::*                    LISTEN      1001       15761      1135/io.admin.0
                          tcp6       0      0 :::22                   :::*                    LISTEN      0          13723      558/sshd: /usr/sbin
                          udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14569      492/dhcpcd
                          udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          13738      587/cups-browsed
                          udp        0      0 0.0.0.0:47757           0.0.0.0:*                           108        14449      398/avahi-daemon: r
                          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        14447      398/avahi-daemon: r
                          udp6       0      0 :::41076                :::*                                108        14450      398/avahi-daemon: r
                          udp6       0      0 :::5353                 :::*                                108        14448      398/avahi-daemon: r
                          pi@raspberrypi:/usr/lib/influxdb $
                          
                          LG Gerhard
                          M Offline
                          M Offline
                          maximinus
                          schrieb am zuletzt editiert von
                          #17

                          @maximinus
                          ich schon wieder.
                          Ich habe jetzt aus Interesse nochmals influx aufgerufen, das meldet sich aber zeigt nichts an und scheint aber auf eine Eingabe zu warten

                          pi@raspberrypi:/etc/influxdb $ influx
                          Connected to http://localhost:8086 version 1.8.10
                          InfluxDB shell version: 1.8.10
                          > show databases
                          ERR: Post http://localhost:8086/query?chunked=true&db=&epoch=ns&q=show+databases: dial tcp [::1]:8086: connect: connection refused
                          >
                          

                          RasPi 4 4GB bookworm
                          nodejs v20.19.4
                          npm 10.8.2
                          Objects type: jsonl
                          States type: redis
                          js-controller: 7.0.6
                          admin: 7.6.17
                          javascript: 8.9.2

                          1 Antwort Letzte Antwort
                          0
                          Antworten
                          • In einem neuen Thema antworten
                          Anmelden zum Antworten
                          • Älteste zuerst
                          • Neuste zuerst
                          • Meiste Stimmen


                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          768

                          Online

                          32.5k

                          Benutzer

                          81.8k

                          Themen

                          1.3m

                          Beiträge
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                          ioBroker Community 2014-2025
                          logo
                          • Anmelden

                          • Du hast noch kein Konto? Registrieren

                          • Anmelden oder registrieren, um zu suchen
                          • Erster Beitrag
                            Letzter Beitrag
                          0
                          • Home
                          • Aktuell
                          • Tags
                          • Ungelesen 0
                          • Kategorien
                          • Unreplied
                          • Beliebt
                          • GitHub
                          • Docu
                          • Hilfe