Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. SQL Startet nach Node Update nicht mehr

    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

    SQL Startet nach Node Update nicht mehr

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

      jetzt wollte ich einfach mal versuchen ein Bachup in die DB einzuspielen, aber auch das geht nicht, weil da einfach der Button fehlt.
      c0413d5a-fd6e-4b35-8762-8693c9e701cf-image.png

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User @grizzlyco last edited by

        @grizzlyco sagte in SQL Startet nach Node Update nicht mehr:

        die mariadb.ini ist leer. Ist das richtig?

        Moin,

        bin gerade noch unterwegs, aber mir fehlt da irgendwie das binding zum Socket
        Ein Start meiner gerade mal angelegten mariadb sieht so aus, ist zwar ein Arch Linux, sollte aber kein Unterschied machen,

        ● mariadb.service - MariaDB 11.1.2 database server
             Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; preset: disabled)
             Active: active (running) since Fri 2023-08-25 10:56:29 CEST; 1s ago
               Docs: man:mariadbd(8)
                     https://mariadb.com/kb/en/library/systemd/
            Process: 188509 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
            Process: 188511 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= ||   VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ]   && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code>
            Process: 188559 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
           Main PID: 188538 (mariadbd)
             Status: "Taking your SQL requests now..."
              Tasks: 21 (limit: 9401)
             Memory: 84.9M
                CPU: 213ms
             CGroup: /system.slice/mariadb.service
                     └─188538 /usr/bin/mariadbd
        
        Aug 25 10:56:29 yoga-3 mariadbd[188538]: 2023-08-25 10:56:29 0 [Note] InnoDB: log sequence number 47129; transaction id 15
        Aug 25 10:56:29 yoga-3 mariadbd[188538]: 2023-08-25 10:56:29 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
        Aug 25 10:56:29 yoga-3 mariadbd[188538]: 2023-08-25 10:56:29 0 [Note] Plugin 'wsrep-provider' is disabled.
        Aug 25 10:56:29 yoga-3 mariadbd[188538]: 2023-08-25 10:56:29 0 [Note] InnoDB: Buffer pool(s) load completed at 230825 10:56:29
        Aug 25 10:56:29 yoga-3 mariadbd[188538]: 2023-08-25 10:56:29 0 [Note] Server socket created on IP: '0.0.0.0'.
        Aug 25 10:56:29 yoga-3 mariadbd[188538]: 2023-08-25 10:56:29 0 [Note] Server socket created on IP: '::'.
        Aug 25 10:56:29 yoga-3 mariadbd[188538]: 2023-08-25 10:56:29 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
        Aug 25 10:56:29 yoga-3 mariadbd[188538]: 2023-08-25 10:56:29 0 [Note] /usr/bin/mariadbd: ready for connections.
        Aug 25 10:56:29 yoga-3 mariadbd[188538]: Version: '11.1.2-MariaDB'  socket: '/run/mysqld/mysqld.sock'  port: 3306  Arch Linux
        Aug 25 10:56:29 yoga-3 systemd[1]: Started MariaDB 11.1.2 database server.
        lines 1-26/26 (END)
        

        VG
        Bernd

        G 1 Reply Last reply Reply Quote 0
        • G
          grizzlyco @Guest last edited by

          @dp20eic
          Offen gesagt keine ahnung was mir das sagen soll. Wie kann ich das prüfen, bzw. instand setzten?

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @grizzlyco last edited by

            @grizzlyco sagte in SQL Startet nach Node Update nicht mehr:

            @dp20eic
            Offen gesagt keine ahnung was mir das sagen soll. Wie kann ich das prüfen, bzw. instand setzten?

            Moin,

            bei Dir

            socket: '/run/mysqld/mysqld.sock'  port: 3306
            

            Bei mir

            socket: '/run/mysqld/mysqld.sock'  port: 3306
            Server socket created on IP: '0.0.0.0'.
            Server socket created on IP: '::'.
            

            Bei mir wurde ein Binding auf die IPv4 0.0.0.0 Adresse, gemacht, somit kann ich von allen Adressen auf den Datenbankmanager zugreifen, dasselbe von IPv6 ;; Adressen

            Bin nur gerade noch unterwegs, übers Handy etwas schwer zu händeln, sobald ich zu Hause bin, melde ich mich wieder.

            VG
            Bernd

            1 Reply Last reply Reply Quote 0
            • G
              grizzlyco last edited by

              ich habe es über umwege hinbekommen.
              Wenn ich nicht localhost sonder 127.0.0.1 eingtrage funktioniert der zugriff.

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

                @grizzlyco

                Dann fehlt da eine Freigabe für IPv6-Adressen.

                G 1 Reply Last reply Reply Quote 0
                • G
                  grizzlyco @Thomas Braun last edited by

                  @thomas-braun und wie bekomme ich die freigabe wieder rein?

                  Vielen Dank an alle für die Hilfe!!!

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

                    @grizzlyco

                    Von mySQL/mariaDB hab ich keine Ahnung.
                    Das weiß aber bestimmt @dp20eic

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @grizzlyco last edited by

                      @grizzlyco sagte in SQL Startet nach Node Update nicht mehr:

                      Wenn ich nicht localhost sonder 127.0.0.1 eingtrage funktioniert der zugriff.

                      Moin,

                      das ist seltsam, denn localhost ist ja 127.0.0.1 wie sieht denn Deine hosts aus

                      cat /etc/hosts
                      

                      Sollte in etwa so aussehen

                      # cat /etc/hosts
                         1   │ # Standard host addresses
                         2   │ 127.0.0.1  localhost
                         3   │ ::1        localhost ip6-localhost ip6-loopback
                         4   │ ff02::1    ip6-allnodes
                         5   │ ff02::2    ip6-allrouters
                         6   │ # This host address
                         7   │ 127.0.1.1  ryzen-5
                      

                      Nicht durch die Zahlen und | verwirren lassen, dass ich bei mir alles anders eingestellt und ich nutze zum Teil andere Tools und zsh anstelle von bash

                      Vom ResPI Netzwerk und den Einstellungen habe ich keine Ahnung, was sagt denn

                      # networkctl
                      oder
                      # networkctl status
                      oder
                      # netstat | grep 3306
                      

                      VG
                      Bernd

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        grizzlyco @Guest last edited by

                        @dp20eic sagte in SQL Startet nach Node Update nicht mehr:

                        cat /etc/hosts

                        127.0.0.1       localhost
                        ::1             localhost ip6-localhost ip6-loopback
                        ff02::1         ip6-allnodes
                        ff02::2         ip6-allrouters
                        
                        127.0.1.1       raspberrypi4
                        
                        
                        pi@raspberrypi4:/opt/iobroker/node_modules/iobroker.sql $ networkctl
                        WARNING: systemd-networkd is not running, output will be incomplete.
                        
                        IDX LINK TYPE      OPERATIONAL SETUP
                          1 lo   loopback  n/a         unmanaged
                          2 eth0 ether     n/a         unmanaged
                          3 wg0  wireguard n/a         unmanaged
                        
                        
                        pi@raspberrypi4:/opt/iobroker/node_modules/iobroker.sql $ networkctl status
                        WARNING: systemd-networkd is not running, output will be incomplete.
                        
                        ●   State: n/a
                          Address: 192.168.2.52 on eth0
                                   192.168.2.136 on eth0
                                   10.6.0.1 on wg0
                                   fe80::1f59:8f1:e88a:ef3c on eth0
                          Gateway: 192.168.2.1 on eth0
                                   192.168.2.1 on eth0
                        
                        

                        Bei netstat | grep 3306 passiert einfach nichts.

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @grizzlyco last edited by

                          @grizzlyco sagte in SQL Startet nach Node Update nicht mehr:

                          Bei netstat | grep 3306 passiert einfach nichts.

                          Moin,

                          ok, bei mir auch, hosts ist ok, ob das mit dem unmanaged bei networkctl ok, kann ich nicht sagen, sieht bei mir anders aus. Warum bei Dir am status n/a steht und Du auf eth zwei Adressen hast, kann ich auch nicht beantworten

                          pi@raspberrypi4:/opt/iobroker/node_modules/iobroker.sql $ networkctl status
                          WARNING: systemd-networkd is not running, output will be incomplete.
                          
                          ●   State: n/a                      <-????
                            Address: 192.168.2.52 on eth0     <- ?
                                     192.168.2.136 on eth0    <- ?
                          

                          Ob auf ResPI und/oder Debian da noch was beim Netzwerk einzustellen ist, I don't know sorry.

                          VG
                          Bernd

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          853
                          Online

                          31.7k
                          Users

                          79.8k
                          Topics

                          1.3m
                          Posts

                          5
                          46
                          1292
                          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