Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Influx arbeitet nicht mehr stabil

    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 arbeitet nicht mehr stabil

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

      @altersrentner
      Habe eben festgestellt, dass in der conf. wieder

       # Determines whether HTTP endpoint is enabled.
          enabled = true
      
        # The bind address used by the HTTP service.
          bind-address = ":8086"
      
      

      ausgeschaltet waren.
      Habe die Raute entfernt.
      Strg+x ergibt save Y oder N
      Das bestätige ich mit Y
      Dananach Strg+c zum Verlassen
      aber es kommt wieder die Speicheraufforderung
      Wie kann ich die conf verlassen.
      MfG Michael

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

        @altersrentner sagte in Influx arbeitet nicht mehr stabil:

        @altersrentner
        Habe eben festgestellt, dass in der conf. wieder

         # Determines whether HTTP endpoint is enabled.
            enabled = true
        
          # The bind address used by the HTTP service.
            bind-address = ":8086"
        
        

        ausgeschaltet waren.
        Habe die Raute entfernt.
        Strg+x ergibt save Y oder N
        Das bestätige ich mit Y
        Dananach Strg+c zum Verlassen
        aber es kommt wieder die Speicheraufforderung
        Wie kann ich die conf verlassen.
        MfG Michael

        Jetzt kommt:

        [ Error writing /etc/influxdb/influxdb.conf: Permission denied ]
        
        OliverIO 1 Reply Last reply Reply Quote 0
        • OliverIO
          OliverIO @Altersrentner last edited by

          @altersrentner
          dann hast du die Datei nicht mit einem Nutzer der die richtige Berechtigung hat geöffnet.

          In Nano sind die Kürzel zum
          Speichern STRG+X
          Beenden STRG+O

          Wenn nicht gespeichert werden konnte, dann kommt die Aufforderung natürlich immer wieder, bis du Nein sagst

          Um die Berechtigung abzufragen, müsste man folgendes wissen

          • mit welchen Benutzer bist du gerade angemeldet?
          • die Berechtigung der Datei
          ls -l /etc/influxdb/influxdb.conf
          
          • in welcher Umgebung du arbeitest (docker, nativ auf server installiert, etc.)
          A 1 Reply Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active last edited by

            @altersrentner sagte in Influx arbeitet nicht mehr stabil:

            [ Error writing /etc/influxdb/influxdb.conf: Permission denied ]

            sudo nano /etc/influxdb/influxdb.conf

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

              @oliverio sagte in Influx arbeitet nicht mehr stabil:

              mit welchen Benutzer bist du gerade angemeldet?
              die Berechtigung der Datei

              Hallo,
              Danke Für Deine Unterstützung
              Ich melde mich imme mit pi

              pi@raspberrypi:~ $ ls -l /etc/influxdb/influxdb.conf
              -rw-r--r-- 1 root root 19263 Oct 19  2018 /etc/influxdb/influxdb.conf
              
              
              Linux raspberrypi 5.10.63-v7l+ #1496 SMP Wed Dec 1 15:58:56 GMT 2021 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: Mon Feb 28 11:20:03 2022 from 192.168.178.92
              
              SSH is enabled and the default password for the 'pi' user has not been changed.
              This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
              
              pi@raspberrypi:~ $
              
              

              Die Anmeldung sollte doch richtig sein. Darüber mache ich ja auch updates usw.

              @oliverio sagte in Influx arbeitet nicht mehr stabil:

              in welcher Umgebung du arbeitest

              Auf einem Raspi
              Mit feundlichen Grüßen
              Michael

              Thomas Braun OliverIO 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Altersrentner last edited by Thomas Braun

                @altersrentner

                Bei den Rechten

                -rw-r--r-- 1 root root
                

                muss sudo vorangestellt werden.
                Also wie oben schon geschrieben.

                Dein Passwort bitte ändern.

                A 1 Reply Last reply Reply Quote 0
                • A
                  Altersrentner @Thomas Braun last edited by

                  @thomas-braun sagte in Influx arbeitet nicht mehr stabil:

                  muss sudo vorangestellt werden.
                  Hallo,
                  Ich bedanke mich.
                  Habe es gemacht und Speicherung war erfolgreich.
                  Ich verstehe aber trotzdem nicht warum die beiden
                  Punkte in der conf immer wieder nach einiger Zeit zurückgesetzt werden.
                  Gibt es dafür eine Erklärung.
                  MfG Michael

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

                    @altersrentner
                    ok, kein docker.
                    dann ist die lösung von crunchip korrekt.

                    mit sudo erhöhst du die rechte des benutzers pi auf administratoren-ebene.
                    dann kannst du auch dateien bearbeiten, die dem benutzer root gehören.

                    zur ausgabe ls -l
                    root root sagt, das die datei dem benutzer root aus der gruppe root gehört
                    die attribute am anfang haben folgendes schema

                    drwxrwxrwx
                    deeegggaaa
                    

                    d=wenn gesetzt dann ist es ein verzeichnis/directory
                    rwx jeweils für e(igentümer), g(ruppenmitglied) oder a(ndere)
                    r steht für darf lesen
                    w steht für darf schreiben
                    x steht für darf ausführen

                    die konkrete angabe
                    -rw-r--r--
                    heist dann übersetzt
                    eigentümer darf lesen und schreiben
                    gruppenmitglieder und andere dürfen nur lesen

                    für nähere informationen kannst du auch mal hier nachlesen
                    https://wiki.ubuntuusers.de/Rechte/

                    ubuntuusers ist generell für linux anfänger auch eine sehr gute anlaufstelle

                    A 1 Reply Last reply Reply Quote 1
                    • A
                      Altersrentner @OliverIO last edited by

                      @oliverio sagte in Influx arbeitet nicht mehr stabil:

                      für nähere informationen kannst du auch mal hier nachlesen

                      Danke Dir!
                      Mit freundlichen Grüßen
                      Michael

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

                        @altersrentner
                        Hallo,
                        Seit heute Mittag ist wieder der Wurm bei Influx am Nagen.
                        Erst laufende Abbrüche und jetzt nach Update steht die Ansicht in Vis
                        aber wird nicht aktualisiert.
                        In der conf steht.

                        [ File '/etc/influxdb/influxdb.conf' is unwritable ]
                        

                        Sonst scheint dort alles OK zu sein.
                        Es kann doch nicht sein, das der Adapter aus heiterem Himmel anfängt auszusetzen.
                        Seit dem letzten Problem bis heute gab es keine Ausfälle.
                        Hat jemand eine Idee?
                        Mit freundlichen Grüßen
                        Michael

                        Thomas Braun W 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Altersrentner last edited by

                          @altersrentner sagte in Influx arbeitet nicht mehr stabil:

                          File '/etc/influxdb/influxdb.conf' is unwritable

                          Warum ist das so?
                          Rechte prüfen:

                          ls -la  /etc/influxdb/influxdb.conf
                          

                          Speichermedium voll?

                          df -h
                          

                          Speichermedium angeschossen?

                          dmesg -T | grep -i ext4
                          
                          A 1 Reply Last reply Reply Quote 0
                          • A
                            Altersrentner @Thomas Braun last edited by

                            @thomas-braun sagte in Influx arbeitet nicht mehr stabil:

                            @altersrentner sagte in Influx arbeitet nicht mehr stabil:

                            File '/etc/influxdb/influxdb.conf' is unwritable

                            Warum ist das so?
                            Rechte prüfen:

                            ls -la  /etc/influxdb/influxdb.conf
                            

                            Speichermedium voll?

                            df -h
                            

                            Speichermedium angeschossen?

                            dmesg -T | grep -i ext4
                            

                            Hallo Thomas,
                            Danke für Deine schnelle Nachricht.
                            Hier die Antworten auf Deine Fragen:

                            pi@raspberrypi:~ $ nano /etc/influxdb/influxdb.conf
                            pi@raspberrypi:~ $ ls -la  /etc/influxdb/influxdb.conf
                            -rw-r--r-- 1 root root 19260 Feb 28 11:30 /etc/influxdb/influxdb.conf
                            pi@raspberrypi:~ $ df -h
                            Filesystem      Size  Used Avail Use% Mounted on
                            /dev/root       440G  166G  257G  40% /
                            devtmpfs        1.8G     0  1.8G   0% /dev
                            tmpfs           1.9G     0  1.9G   0% /dev/shm
                            tmpfs           1.9G   41M  1.9G   3% /run
                            tmpfs           5.0M  4.0K  5.0M   1% /run/lock
                            tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
                            /dev/sda1       253M   49M  204M  20% /boot
                            tmpfs           384M     0  384M   0% /run/user/1000
                            pi@raspberrypi:~ $ dmesg -T | grep -i ext4
                            [Sat Mar 12 14:40:35 2022] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC:A6:32:1B:BD:83 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  console=ttyS0,115200 console=tty1 root=PARTUUID=904a3764-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
                            [Sat Mar 12 14:40:37 2022] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
                            [Sat Mar 12 14:40:37 2022] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
                            [Sat Mar 12 14:40:40 2022] EXT4-fs (sda2): re-mounted. Opts: (null)
                            pi@raspberrypi:~ $
                            
                            

                            Mfg Michael

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

                              @altersrentner

                              Alles i. O.

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                Altersrentner @Thomas Braun last edited by

                                @thomas-braun sagte in Influx arbeitet nicht mehr stabil:

                                Alles i. O.😊
                                Aber er läuft nicht😠
                                Hast Du noch eine Idee?
                                Soll ich den Fixer mal laufen lassen?
                                Mfg Michael

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

                                  @altersrentner sagte in Influx arbeitet nicht mehr stabil:

                                  Aber er läuft nicht

                                  Was läuft genau nicht mit welchen Meldungen?

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    Altersrentner @Thomas Braun last edited by

                                    @thomas-braun sagte in Influx arbeitet nicht mehr stabil:

                                    Was läuft genau nicht mit welchen Meldungen?

                                    In der Instanz: Nicht verbunden mit Gerät

                                    to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:11.974	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:11.973	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:11.810	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:11.804	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:11.609	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:11.487	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:11.482	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:11.474	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:11.471	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:11.467	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:11.458	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:10.972	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:10.718	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:10.490	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:10.484	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:10.292	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:10.287	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:10.010	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.765	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.763	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.752	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.746	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.744	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.692	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.341	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.339	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.233	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.232	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.219	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.214	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.211	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.024	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.022	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.012	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:09.008	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.894	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.888	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.888	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.887	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.887	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.877	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.780	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.774	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.766	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.758	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.753	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.751	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.745	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.737	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.228	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.225	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.216	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.214	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.212	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:08.206	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:07.886	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:07.522	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:07.521	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:07.445	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:07.441	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:07.437	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:07.428	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:07.426	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:07.423	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:07.420	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:06.943	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:06.939	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:06.760	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:06.519	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:06.514	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:06.444	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:06.435	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:06.332	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:06.329	warn	No connection to DB
                                    
                                    influxdb.0
                                    2022-03-12 15:41:05.996	warn	No connection to DB
                                    code_text
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Altersrentner last edited by

                                      @altersrentner

                                      systemctl status influxd influxdb
                                      

                                      anschauen.

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        Altersrentner @Thomas Braun last edited by

                                        @thomas-braun Bitte

                                        pi@raspberrypi:~ $ systemctl status influxd influxdb
                                        ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                                           Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                                           Active: active (running) since Sat 2022-03-12 14:40:27 CET; 1h 10min ago
                                             Docs: man:influxd(1)
                                         Main PID: 478 (influxd)
                                            Tasks: 14 (limit: 4915)
                                           CGroup: /system.slice/influxdb.service
                                                   └─478 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
                                        
                                        Mar 12 15:50:37 raspberrypi influxd[478]: ts=2022-03-12T14:50:37.353213Z lvl=info msg="Aborted compaction" log_id=0_BaaK70000
                                        Mar 12 15:50:38 raspberrypi influxd[478]: ts=2022-03-12T14:50:38.345574Z lvl=info msg="TSM compaction (end)" log_id=0_BaaK700
                                        Mar 12 15:50:38 raspberrypi influxd[478]: ts=2022-03-12T14:50:38.346336Z lvl=info msg="TSM compaction (start)" log_id=0_BaaK7
                                        Mar 12 15:50:38 raspberrypi influxd[478]: ts=2022-03-12T14:50:38.346381Z lvl=info msg="Beginning compaction" log_id=0_BaaK700
                                        Mar 12 15:50:38 raspberrypi influxd[478]: ts=2022-03-12T14:50:38.346403Z lvl=info msg="Compacting file" log_id=0_BaaK70000 en
                                        Mar 12 15:50:38 raspberrypi influxd[478]: ts=2022-03-12T14:50:38.346425Z lvl=info msg="Compacting file" log_id=0_BaaK70000 en
                                        Mar 12 15:50:38 raspberrypi influxd[478]: ts=2022-03-12T14:50:38.346445Z lvl=info msg="Compacting file" log_id=0_BaaK70000 en
                                        Mar 12 15:50:38 raspberrypi influxd[478]: ts=2022-03-12T14:50:38.346465Z lvl=info msg="Compacting file" log_id=0_BaaK70000 en
                                        Mar 12 15:50:38 raspberrypi influxd[478]: ts=2022-03-12T14:50:38.346824Z lvl=info msg="Aborted compaction" log_id=0_BaaK70000
                                        Mar 12 15:50:38 raspberrypi influxd[478]: ts=2022-03-12T14:50:38.353357Z lvl=info msg="TSM compaction (end)" log_id=0_BaaK700
                                        
                                        ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                                           Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                                           Active: active (running) since Sat 2022-03-12 14:40:27 CET; 1h 10min ago
                                        lines 1-23
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          Wildbill @Altersrentner last edited by

                                          @altersrentner Hast Du den influx-Adapter im iobroker geupdated? Dann musst Du dort einmal das Passwort neu eintragen.
                                          Also das Passwort der Influx-DB.

                                          Gruss, Jürgen

                                          A 1 Reply Last reply Reply Quote 1
                                          • A
                                            Altersrentner @Wildbill last edited by

                                            @wildbill Hallo Jürgen,
                                            Da steht doch ein Passwort drin.?
                                            MfG Michael

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            772
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            influx grafana vis
                                            9
                                            214
                                            15314
                                            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