Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Influx DB abgelehnt

    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

    Influx DB abgelehnt

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

      @thomas-braun
      Zumindest war es mir so möglich das Problem zu finden...
      Nachdem ich über zwei Stunden gesucht und diverse Foren durchwälzt habe, sah ich dies als meinen einzigen Ausweg. (Es sind nicht alles Experten im Umgang mit Linux ). Zumindest hats geklappt und ich hab was draus gelernt 😉

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

        @bloop
        Das nützt dir halt nix, wenn die config (wie sonst üblich) unter /etc liegt. Da kannst du binairies löschen bis du lila wirst. Influxdb macht das offenbar dann anders.

        1 Reply Last reply Reply Quote 0
        • P
          Pupsimupsi last edited by

          Hallo,

          ich habe aktuell das gleiche Problem...

          Influx läuft auf mit iobroker zusammen auf dem gleichen System.

          Seit ein paar Stunden bekommen ich keine Verbindung mehr...

          Rechte anpassen usw. alles schon probiert.
          Hatte kurz zurvor in der influx config die bind-adresse für RCP auf 127.0.0.1:8088 geändert und einkommentiert.
          Seitdem geht nichts mehr. Kann das damit zurun haben?

          pi@raspberrypi:~ $ sudo systemctl stop influxdb
          pi@raspberrypi:~ $ sudo systemctl daemon-reload
          pi@raspberrypi:~ $ sudo systemctl unmask influxdb.service
          pi@raspberrypi:~ $ sudo systemctl enable influxdb
          pi@raspberrypi:~ $ sudo systemctl start influxdb
          Job for influxdb.service failed because the control process exited with error code.
          See "systemctl status influxdb.service" and "journalctl -xe" for details.
          pi@raspberrypi:~ $ sudo systemctl status influxdb
          ● influxdb.service - InfluxDB is an open-source, distributed, time series databa
             Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset:
             Active: activating (start) since Mon 2021-08-09 22:45:20 CEST; 10s ago
               Docs: https://docs.influxdata.com/influxdb/
          Cntrl PID: 6629 (influxd-systemd)
              Tasks: 15 (limit: 4915)
             CGroup: /system.slice/influxdb.service
                     ├─6629 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.s
                     ├─6631 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
                     └─6790 sleep 1
          
          Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
          Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
          Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
          Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
          Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
          Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
          Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
          Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
          Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
          Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
          lines 1-21/21 (END)
          
          

          iobroker wirft:

          influxdb.0
          	2021-08-09 22:51:02.184	error	Error: connect ECONNREFUSED 192.168.178.161:8086
          
          crunchip 1 Reply Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @Pupsimupsi last edited by

            @pupsimupsi sagte in Influx DB abgelehnt:

            bind-adresse für RCP auf 127.0.0.1:8088

            mach mal ein 0.0.0.0:8088

            P 1 Reply Last reply Reply Quote 0
            • P
              Pupsimupsi @crunchip last edited by Pupsimupsi

              @crunchip

              Hab ich gemacht.

              Nach Startversuch weiterhin:

              pi@raspberrypi:~ $ sudo nano /etc/influxdb/influxdb.conf
              pi@raspberrypi:~ $ sudo systemctl restart influxdb
              Job for influxdb.service failed because the control process exited with error code.
              See "systemctl status influxdb.service" and "journalctl -xe" for details.
              pi@raspberrypi:~ $ 
              

              Auch nochmals alle Befehle der Reihe nach abarbeiten bring das gleiche Fehlerbild.
              Bin echt am verzweifeln... 😞

              Das lief doch bis ich das an der bind-adresse gefummelt habe...nur ein dummer Zufall oder hab ich da noch was verbögt?

              crunchip 1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @Pupsimupsi last edited by crunchip

                @pupsimupsi sagte in Influx DB abgelehnt:

                sudo systemctl status influxdb.service

                bzw welche version läuft bei dir?

                apt policy influxd
                

                warum Rechte anpassen, wo und wie?
                sonst noch irgend etwas gemacht?

                P 2 Replies Last reply Reply Quote 0
                • P
                  Pupsimupsi @crunchip last edited by

                  @crunchip sagte in Influx DB abgelehnt:

                  sudo systemctl status influxdb.service

                   sudo systemctl status influxdb.service
                  ● influxdb.service - InfluxDB is an open-source, distributed, time series databa
                     Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset:
                     Active: activating (start) since Mon 2021-08-09 23:25:44 CEST; 246ms ago
                       Docs: https://docs.influxdata.com/influxdb/
                  Cntrl PID: 17565 (influxd-systemd)
                      Tasks: 19 (limit: 4915)
                     CGroup: /system.slice/influxdb.service
                             ├─17565 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.
                             ├─17566 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
                             ├─17584 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.
                             ├─17585 [influxd]
                             ├─17586 grep https-enabled = true
                             └─17587 cut -d   -f5
                  
                  Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                  Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                  Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                  Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                  Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                  Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                  Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                  Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                  Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                  lines 1-23
                  
                  
                  influxd version
                  InfluxDB v1.8.9 (git: 1.8 d9b56321d579)
                  

                  Bin echt am verzweifeln... 😞

                  Das lief doch bis ich das an der bind-adresse gefummelt habe...nur ein dummer Zufall oder hab ich da noch was verbögt?

                  1 Reply Last reply Reply Quote 0
                  • P
                    Pupsimupsi @crunchip last edited by

                    @crunchip sagte in Influx DB abgelehnt:

                    apt policy influxd

                    apt policy influxd
                    N: Paket influxd kann nicht gefunden werden.
                    

                    Nein, sonst nichts gemacht! I🤞 ich schwöre

                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Pupsimupsi last edited by

                      @pupsimupsi sorry buchstaben vergessen

                      apt policy influxdb
                      
                      P 1 Reply Last reply Reply Quote 0
                      • P
                        Pupsimupsi @crunchip last edited by

                        @crunchip sagte in Influx DB abgelehnt:

                        apt policy influxdb

                        apt policy influxdb
                        influxdb:
                          Installiert:           1.8.9-1
                          Installationskandidat: 1.8.9-1
                          Versionstabelle:
                         *** 1.8.9-1 500
                                500 https://repos.influxdata.com/debian buster/stable armhf Packages
                                100 /var/lib/dpkg/status
                             1.6.4-1+deb10u1 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                        pi@raspberrypi:~ $ 
                        
                        
                        crunchip 1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Pupsimupsi last edited by

                          @pupsimupsi liegt bei dir das startscript nun auch in dem Ordner?

                          ls -la /usr/lib/influxdb/scripts
                          
                          P 2 Replies Last reply Reply Quote 0
                          • P
                            Pupsimupsi @crunchip last edited by Pupsimupsi

                            @crunchip

                            ls -la /usr/lib/influxdb/scripts
                            insgesamt 24
                            drwxr-xr-x 2 influxdb influxdb 4096 Aug  6 09:49 .
                            drwxr-xr-x 3 influxdb influxdb 4096 Jan 13  2021 ..
                            -rw-r--r-- 1 influxdb influxdb  533 Aug  5 00:50 influxdb.service
                            -rwxr-xr-x 1 influxdb influxdb 1116 Aug  5 00:50 influxd-systemd-start.sh
                            -rw-r--r-- 1 influxdb influxdb 5702 Aug  5 00:50 init.sh
                            

                            Kenn mich leider null aus damit, es lief einfach...

                            crunchip 1 Reply Last reply Reply Quote 0
                            • P
                              Pupsimupsi last edited by

                              Was noch war:

                              Vor ein paar Tagen ging nach einem Update von Influx auch nichts mehr.

                              Da hab ich gegooglet und diese Lösung gefunden:

                              sudo chmod +x /usr/lib/influxdb/scripts/influxd-systemd-start.sh
                              sudo systemctl restart influxdb.service
                              
                              

                              Danach lief es wieder.
                              Das hilft jetzt aber leider nicht... 😞

                              1 Reply Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @Pupsimupsi last edited by

                                @pupsimupsi sagte in Influx DB abgelehnt:

                                -rwxr-xr-x 1 influxdb influxdb 1116 Aug 5 00:50 influxd-systemd-start.sh

                                ja das ist das Problem
                                aber da bin ich auch nicht so fit mit den Rechtevergaben

                                1 Reply Last reply Reply Quote 0
                                • P
                                  Pupsimupsi @crunchip last edited by

                                  @crunchip

                                  Vielen lieben Dank übrigens für deine "nächtliche Hilfe"

                                  Ich könnt heulen...habe Angst das die ganze Datenbank verloren ist.
                                  hab zwar nen Backup mit Backit-Up auf FTP gemacht, weiß aber nicht wie ich das eingespielt bekomme
                                  im Falle einer Neuinstallation und hoffe ich kann das retten..!? 😬

                                  crunchip 1 Reply Last reply Reply Quote 0
                                  • crunchip
                                    crunchip Forum Testing Most Active @Pupsimupsi last edited by

                                    @pupsimupsi wie oben schon im Link gezeigt, wäre das eine Möglichkeit

                                    I had the same issue just yesterday. It seems they changed something in the startup script in version v1.8.9, the same one we had to +x on version 1.8.7.
                                    Turns out my DB is too big and it takes longer to start than the 10 seconds influxdb expects to take and so the start script aborts the process
                                    Workaround:
                                    Open /usr/lib/influxdb/scripts/influxd-systemd-start.sh
                                    either comment out line 34 (exit 1) – < this is a bad idea in the long run but will allow you to test if it works
                                    or set the sleep command in line 29 to 10 seconds (depending on how long does it take your influx to start, for me 10 cycles (line 25) of 10 seconds was enough)
                                    
                                    P A 2 Replies Last reply Reply Quote 0
                                    • P
                                      Pupsimupsi @crunchip last edited by

                                      @crunchip sagte in Influx DB abgelehnt:

                                      @pupsimupsi wie oben schon im Link gezeigt, wäre das eine Möglichkeit

                                      I had the same issue just yesterday. It seems they changed something in the startup script in version v1.8.9, the same one we had to +x on version 1.8.7.
                                      Turns out my DB is too big and it takes longer to start than the 10 seconds influxdb expects to take and so the start script aborts the process
                                      Workaround:
                                      Open /usr/lib/influxdb/scripts/influxd-systemd-start.sh
                                      either comment out line 34 (exit 1) – < this is a bad idea in the long run but will allow you to test if it works
                                      or set the sleep command in line 29 to 10 seconds (depending on how long does it take your influx to start, for me 10 cycles (line 25) of 10 seconds was enough)
                                      

                                      Das hab ich auch schon gesehen, bin aber wohl zu dumm dazu das anzupassen...???
                                      Zeile 34 auskommentieren? Wo ist das?

                                      bei mir öffnet sich sowas:

                                      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"
                                      

                                      mit nem paar Zeilen darunter, mehr nicht...ich hab keinen Plan was ich da wo machen könnte...

                                      crunchip F 2 Replies Last reply Reply Quote 0
                                      • crunchip
                                        crunchip Forum Testing Most Active @Pupsimupsi last edited by

                                        @pupsimupsi sagte in Influx DB abgelehnt:

                                        /usr/lib/influxdb/scripts/influxd-systemd-start.sh

                                        nano /usr/lib/influxdb/scripts/influxd-systemd-start.sh
                                        
                                        P 2 Replies Last reply Reply Quote 0
                                        • P
                                          Pupsimupsi @crunchip last edited by

                                          @crunchip sagte in Influx DB abgelehnt:

                                          @pupsimupsi sagte in Influx DB abgelehnt:

                                          /usr/lib/influxdb/scripts/influxd-systemd-start.sh

                                          nano /usr/lib/influxdb/scripts/influxd-systemd-start.sh
                                          

                                          Ahh, mit dem Nano-Editor!
                                          Schande über mein Haupt, da hätte ich auch drauf kommen können.
                                          Danke dir, probiere ich morgen früh mal aus!

                                          Ich glaube aber nicht das es an den Rechten liegt!?
                                          Ich habe zufällig ein 2-Tage altes Image meiner SSD.
                                          Dort lief Influx noch ohne Probleme (Wie gesagt, nach dem Anpassen der Rechte vor ein paar Tagen).
                                          Das habe ich gerade mal auf ne Ersatzplatte geschoben, aktiviert und alles was wir hier gemacht haben miteinander verglichen.
                                          Ist identisch aber läuft!?

                                          Dennoch werde ich morgen mal mit meiner Haupt-SSD ausprobieren und mich wieder melden.
                                          Vielen Dank nochmal! 👍

                                          1 Reply Last reply Reply Quote 1
                                          • P
                                            Pupsimupsi @crunchip last edited by

                                            @crunchip

                                            Nach einem reboot habe ich das gleiche Problem auch auf meinem 2 Tage alten SSD-Image!
                                            D.h. sobald ein Neustart stattgefunden hat, startet Influx nicht mehr...

                                            Habe nun beide Varianten aus deinem Link probiert:
                                            Line 34 auskommentieren hat leider nicht geholfen...

                                            Sleep in Line 29 von 1 auf 10 zu setzen hingegen schon! 👍
                                            Also falls jemand das gleiche Problem haben sollte, probiert es aus!

                                            Dennoch interessiert mich, was genau das Problem ist?
                                            Doch die Rechte?
                                            Die Größe der Datenbank (wie in dem Link vermutet) glaube ich nicht...(380MB)

                                            Weiß jemand mehr?

                                            crunchip A 2 Replies 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

                                            871
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            influxdb
                                            15
                                            79
                                            9762
                                            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