Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Maria DB Config kein Zugriff

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Maria DB Config kein Zugriff

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      frankyboy73 @Codierknecht last edited by

      @codierknecht Ok, habe MariaDb und Iobroker beendet, habe aber trotzdem keinen Zugriff auf die Config Datei. Leider gleiche Meldung.

      E325: ATTENTION
      Found a swap file by the name "/etc/mysql/mariadb.conf.d/.50-server.cnf.swp"
                owned by: root   dated: Tue Aug 16 18:51:27 2022
               file name: /etc/mysql/mariadb.conf.d/50-server.cnf
                modified: YES
               user name: root   host name: raspberrypi
              process ID: 29917
      While opening file "/etc/mysql/mariadb.conf.d/50-server.cnf"
                   dated: Sun Feb 20 02:40:11 2022
      
      (1) Another program may be editing the same file.  If this is the case,
          be careful not to end up with two different instances of the same
          file when making changes.  Quit, or continue with caution.
      (2) An edit session for this file crashed.
          If this is the case, use ":recover" or "vim -r /etc/mysql/mariadb.conf.d/50-
      server.cnf"
          to recover the changes (see ":help recovery").
          If you did this already, delete the swap file "/etc/mysql/mariadb.conf.d/.50
      -server.cnf.swp"
          to avoid this message.
      "/etc/mysql/mariadb.conf.d/50-server.cnf" 117 lines, 3666 bytes
      Press ENTER or type command to continue
      
      
      Codierknecht D 2 Replies Last reply Reply Quote 0
      • Codierknecht
        Codierknecht Developer Most Active @frankyboy73 last edited by

        @frankyboy73
        Dann bin ich mit meinem Latein am Ende.
        Vielleicht hat @Thomas-Braun hier einen Rat?

        F Thomas Braun 2 Replies Last reply Reply Quote 0
        • F
          frankyboy73 @Codierknecht last edited by

          @codierknecht Trotzdem vielen Dank für deine Mühe, habe dadurch auch wieder ein paar neue Sachen gelernt. iod diag und htop war mir auch neu, Danke.
          Zur Not hoffe ich, das ich mit dem Backit Adapter irgendwie die Datenbank mitnehmen kann.

          1 Reply Last reply Reply Quote 0
          • D
            dimaiv @frankyboy73 last edited by dimaiv

            @frankyboy73
            Mit welchem Befehl versuchst du es aufmachen?
            Update:
            Ganz oben gesehen "vi"
            Probier mal mit "nano"

            Codierknecht F 2 Replies Last reply Reply Quote 0
            • Codierknecht
              Codierknecht Developer Most Active @dimaiv last edited by

              @dimaiv

              pi@raspberrypi:~ $ sudo vi /etc/mysql/mariadb.conf.d/50-server.cnf
              

              siehe Eingangspost

              1 Reply Last reply Reply Quote 0
              • F
                frankyboy73 @dimaiv last edited by

                @dimaiv Hi, so.

                sudo vi /etc/mysql/mariadb.conf.d/50-server.cnf
                

                Genau so habe ich es bei der ersten Installation auch gemacht. Video von hausautomatisierung.

                D 1 Reply Last reply Reply Quote 0
                • D
                  dimaiv @frankyboy73 last edited by

                  @frankyboy73
                  Probier mal mit "nano"

                  F 2 Replies Last reply Reply Quote 0
                  • F
                    frankyboy73 @dimaiv last edited by

                    @dimaiv
                    maria.jpg

                    Codierknecht 1 Reply Last reply Reply Quote 0
                    • Codierknecht
                      Codierknecht Developer Most Active @frankyboy73 last edited by

                      @frankyboy73
                      Da klemmt wohl ein früherer Editierversuch.
                      Aber durch root ???

                      Dass der Kram aber einen Reboot überlebt, wundert micht etwas.

                      1 Reply Last reply Reply Quote 0
                      • Ro75
                        Ro75 @frankyboy73 last edited by

                        @frankyboy73 du hast auf deinem Raspi aber nicht zufällig

                        be2aac85-55a7-4dea-a27c-f16d29efe211-image.png

                        aktiviert?

                        Ro75.

                        1 Reply Last reply Reply Quote 0
                        • F
                          frankyboy73 @dimaiv last edited by frankyboy73

                          @dimaiv Hi, habe die Datei jetzt mit yes (open anyway) geöffnet. Jetzt konnte ich sie bearbeiten. Super. Warum ich die mit nano jetzt bearbeiten konnte und mit vi nicht erschließt sich mir nicht. Ich konnte sie zwar auch mit vi öffnen, aber ändern ging nicht.
                          Das binding war nicht mehr auskommentiert und daurch konnte ich nicht mehr von einem anderen Rechner auf die Database kommen.
                          Jetzt nach dem speichern und neustarten, kann ich die Config auch ohne Fehlermeldung öffen, auch mit vi, und wieder auf die Datenbank zugreifen.
                          Vielen Dank, ich weiß zwar nicht wie sich das von selbst geändert hat, aber ich bin froh das ich wieder drauf komme.
                          Auch an @Codierknecht und @Ro75 vielen Dank für eure Unterstützung.
                          Edit: @Codierknecht das mit root wundert mich auch, ich habe auf diesem System noch nie den root user benutzt.

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

                            @codierknecht

                            Nein. Von Datenbanken hab ich keine Ahnung.

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

                              @thomas-braun sagte in Maria DB Config kein Zugriff:

                              Nein. Von Datenbanken hab ich keine Ahnung.

                              Ich meinte eher das hier:

                              E325: ATTENTION
                              Found a swap file by the name "/etc/mysql/mariadb.conf.d/.50-server.cnf.swp"
                                        owned by: root   dated: Tue Aug 16 18:51:27 2022
                                       file name: /etc/mysql/mariadb.conf.d/50-server.cnf
                                        modified: YES
                                       user name: root   host name: raspberrypi
                                      process ID: 29917
                              While opening file "/etc/mysql/mariadb.conf.d/50-server.cnf"
                                           dated: Sun Feb 20 02:40:11 2022
                              

                              Hat mit der DB selbst wenig zu tun.

                              Würde mich weiterhin interessieren, woher das Problem mit dem Editor kommt.

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                frankyboy73 @Codierknecht last edited by

                                @codierknecht sagte in Maria DB Config kein Zugriff:

                                Würde mich weiterhin interessieren, woher das Problem mit dem Editor kommt.

                                Mich auch

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                965
                                Online

                                31.6k
                                Users

                                79.5k
                                Topics

                                1.3m
                                Posts

                                5
                                22
                                805
                                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