NEWS
SQL Startet nach Node Update nicht mehr
-
@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 angelegtenmariadbsieht 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 -
@dp20eic
Offen gesagt keine ahnung was mir das sagen soll. Wie kann ich das prüfen, bzw. instand setzten? -
@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: 3306Bei 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 -
ich habe es über umwege hinbekommen.
Wenn ich nicht localhost sonder 127.0.0.1 eingtrage funktioniert der zugriff. -
Dann fehlt da eine Freigabe für IPv6-Adressen.
-
@thomas-braun und wie bekomme ich die freigabe wieder rein?
Vielen Dank an alle für die Hilfe!!!
-
Von mySQL/mariaDB hab ich keine Ahnung.
Das weiß aber bestimmt @dp20eic -
@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
localhostist ja127.0.0.1wie sieht denn Deinehostsauscat /etc/hostsSollte 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-5Nicht durch die
Zahlenund|verwirren lassen, dass ich bei mir alles anders eingestellt und ich nutze zum Teil andere Tools undzshanstelle vonbashVom ResPI Netzwerk und den Einstellungen habe ich keine Ahnung, was sagt denn
# networkctl oder # networkctl status oder # netstat | grep 3306VG
Bernd -
@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 raspberrypi4pi@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 unmanagedpi@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 eth0Bei netstat | grep 3306 passiert einfach nichts.
-
@grizzlyco sagte in SQL Startet nach Node Update nicht mehr:
Bei netstat | grep 3306 passiert einfach nichts.
Moin,
ok, bei mir auch,
hostsist ok, ob das mit demunmanagedbeinetworkctlok, kann ich nicht sagen, sieht bei mir anders aus. Warum bei Dir am statusn/asteht und Du aufethzwei Adressen hast, kann ich auch nicht beantwortenpi@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 knowsorry.VG
Bernd