debian-9-amd64-clean-lxq1k0:~$ wget https://dlm.mariadb.com/3/mariadb/mariadb_repo_setup
|
--2021-11-22 13:12:46-- https://dlm.mariadb.com/3/mariadb/mariadb_repo_setup
|
Resolving dlm.mariadb.com (dlm.mariadb.com)... 104.18.135.24, 104.17.191.14, 2606:4700::6811:bf0e, ...
|
Connecting to dlm.mariadb.com (dlm.mariadb.com)|104.18.135.24|:443... connected.
|
HTTP request sent, awaiting response... 302 Found
|
Location: https://storage.googleapis.com/downloads-cdn.mariadb.com/aptyum/1.0/1.0.0/MariaDB/mariadb_repo_setup?GoogleAccessId=downloads-sync%40downloads-234321.iam.gserviceaccount.com&Expires=1637587366&Signature=gaS93eVKCVNVvoLQPE3xvjNyGLhIe4h8BulDeLOGKdjU4JnbHfJN530hWBe8BgjMpDeEGSwAo8RRYEYm%2BoXeFhqDwS8giA0u0lbHN0wPeJVr%2BUROBP5zPAYhwGJsUq%2BI3SG5lnT8e7kb3ubATO3sIiWrZwUyEfWNwCbLi1x2b1iDCZj7IqREEI1Eei6Wg3qcm8qpENCBt0oZ90TV5rGdRsd%2BQxSivOUE8sRSMk1KS7JV8HlhiZ%2B5IVOp3ISJm%2FJY4EkH%2B6MTt%2FsaN3ber%2Bey7%2BOOFuIssAghEsgMowg7qOk03DUgSEadxljt98o7cPIbh%2F6ctd6qW7OeiqSIGFAi0w%3D%3D [following]
|
--2021-11-22 13:12:46-- https://storage.googleapis.com/downloads-cdn.mariadb.com/aptyum/1.0/1.0.0/MariaDB/mariadb_repo_setup?GoogleAccessId=downloads-sync%40downloads-234321.iam.gserviceaccount.com&Expires=1637587366&Signature=gaS93eVKCVNVvoLQPE3xvjNyGLhIe4h8BulDeLOGKdjU4JnbHfJN530hWBe8BgjMpDeEGSwAo8RRYEYm%2BoXeFhqDwS8giA0u0lbHN0wPeJVr%2BUROBP5zPAYhwGJsUq%2BI3SG5lnT8e7kb3ubATO3sIiWrZwUyEfWNwCbLi1x2b1iDCZj7IqREEI1Eei6Wg3qcm8qpENCBt0oZ90TV5rGdRsd%2BQxSivOUE8sRSMk1KS7JV8HlhiZ%2B5IVOp3ISJm%2FJY4EkH%2B6MTt%2FsaN3ber%2Bey7%2BOOFuIssAghEsgMowg7qOk03DUgSEadxljt98o7cPIbh%2F6ctd6qW7OeiqSIGFAi0w%3D%3D
|
Resolving storage.googleapis.com (storage.googleapis.com)... 108.177.121.128, 142.250.103.128, 108.177.120.128, ...
|
Connecting to storage.googleapis.com (storage.googleapis.com)|108.177.121.128|:443... connected.
|
HTTP request sent, awaiting response... 200 OK
|
Length: 26626 (26K) [application/octet-stream]
|
Saving to: ‘mariadb_repo_setup’
|
|
mariadb_repo_setup 100%[=====================================================================================================================================>] 26.00K --.-KB/s in 0s
|
|
2021-11-22 13:12:47 (99.6 MB/s) - ‘mariadb_repo_setup’ saved [26626/26626]
|
|
debian-9-amd64-clean-lxq1k0:~$ chmod +x mariadb_repo_setup
|
debian-9-amd64-clean-lxq1k0:~$ sudo ./mariadb_repo_setup --mariadb-server-version=10.5 --skip-maxscale --skip-tools
|
[info] Checking for script prerequisites.
|
[info] Repository file successfully written to /etc/apt/sources.list.d/mariadb.list
|
[info] Adding trusted package signing keys...
|
[info] Running apt-get update...
|
[info] Done adding trusted package signing keys
|
debian-9-amd64-clean-lxq1k0:~$ sudo apt-get update
|
Hit:1 http://security.debian.org stretch/updates InRelease
|
Ign:2 http://deb.debian.org/debian stretch InRelease
|
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
|
Hit:4 http://deb.debian.org/debian stretch-backports InRelease
|
Hit:5 http://deb.debian.org/debian stretch Release
|
Hit:6 http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease
|
Get:7 http://packages.cloud.google.com/apt google-compute-engine-stretch-stable InRelease [5,525 B]
|
Hit:8 http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-stretch InRelease
|
Hit:10 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch InRelease
|
Fetched 5,525 B in 0s (9,201 B/s)
|
Reading package lists... Done
|
debian-9-amd64-clean-lxq1k0:~$ sudo apt-get install -y mariadb-server mariadb-client mariadb-backup mariadb-plugin-rocksdb
|
Reading package lists... Done
|
Building dependency tree
|
Reading state information... Done
|
The following additional packages will be installed:
|
galera-4 gawk libaio1 libcgi-fast-perl libcgi-pm-perl libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl
|
libio-html-perl liblwp-mediatypes-perl libmariadb3 libmariadbclient18 libmpfr4 libpcre2-8-0 libperl5.24 libreadline5 libsigsegv2 libsnappy1v5 libterm-readkey-perl libtimedate-perl liburi-perl lsof mariadb-client-10.5
|
mariadb-client-core-10.5 mariadb-common mariadb-server-10.5 mariadb-server-core-10.5 mysql-common perl perl-modules-5.24 psmisc python3-mysqldb rename rsync socat
|
Suggested packages:
|
gawk-doc libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl libdata-dump-perl libipc-sharedcache-perl libwww-perl mailx mariadb-test netcat-openbsd perl-doc libterm-readline-gnu-perl
|
| libterm-readline-perl-perl make python-egenix-mxdatetime python3-mysqldb-dbg
|
The following NEW packages will be installed:
|
galera-4 gawk libaio1 libcgi-fast-perl libcgi-pm-perl libdbd-mysql-perl libdbi-perl libencode-locale-perl libfcgi-perl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl
|
libio-html-perl liblwp-mediatypes-perl libmariadb3 libmariadbclient18 libmpfr4 libpcre2-8-0 libperl5.24 libreadline5 libsigsegv2 libsnappy1v5 libterm-readkey-perl libtimedate-perl liburi-perl lsof mariadb-backup mariadb-client
|
mariadb-client-10.5 mariadb-client-core-10.5 mariadb-common mariadb-plugin-rocksdb mariadb-server mariadb-server-10.5 mariadb-server-core-10.5 mysql-common perl perl-modules-5.24 psmisc python3-mysqldb rename rsync socat
|
0 upgraded, 45 newly installed, 0 to remove and 3 not upgraded.
|
Need to get 43.3 MB of archives.
|
After this operation, 289 MB of additional disk space will be used.
|
Get:1 http://deb.debian.org/debian stretch/main amd64 perl-modules-5.24 all 5.24.1-3+deb9u7 [2,723 kB]
|
Get:2 http://security.debian.org stretch/updates/main amd64 libdbi-perl amd64 1.636-1+deb9u1 [766 kB]
|
Get:3 http://deb.debian.org/debian stretch/main amd64 libperl5.24 amd64 5.24.1-3+deb9u7 [3,527 kB]
|
Get:4 http://deb.debian.org/debian stretch/main amd64 perl amd64 5.24.1-3+deb9u7 [218 kB]
|
Get:5 http://deb.debian.org/debian stretch/main amd64 libmpfr4 amd64 3.1.5-1 [556 kB]
|
Get:6 http://deb.debian.org/debian stretch/main amd64 libsigsegv2 amd64 2.10-5 [28.9 kB]
|
Get:7 http://deb.debian.org/debian stretch/main amd64 gawk amd64 1:4.1.4+dfsg-1 [571 kB]
|
Get:8 http://deb.debian.org/debian stretch/main amd64 lsof amd64 4.89+dfsg-0.1 [313 kB]
|
Get:9 http://deb.debian.org/debian stretch/main amd64 libreadline5 amd64 5.2+dfsg-3+b1 [119 kB]
|
Get:10 http://deb.debian.org/debian stretch/main amd64 libaio1 amd64 0.3.110-3 [9,412 B]
|
Get:11 http://deb.debian.org/debian stretch/main amd64 libpcre2-8-0 amd64 10.22-3 [182 kB]
|
Get:12 http://deb.debian.org/debian stretch/main amd64 psmisc amd64 22.21-2.1+b2 [123 kB]
|
Get:13 http://deb.debian.org/debian stretch/main amd64 rsync amd64 3.1.2-1+deb9u2 [393 kB]
|
Get:14 http://deb.debian.org/debian stretch/main amd64 socat amd64 1.7.3.1-2+deb9u1 [353 kB]
|
Get:15 http://deb.debian.org/debian stretch/main amd64 libhtml-tagset-perl all 3.20-3 [12.7 kB]
|
Get:16 http://deb.debian.org/debian stretch/main amd64 liburi-perl all 1.71-1 [88.6 kB]
|
Get:17 http://deb.debian.org/debian stretch/main amd64 libhtml-parser-perl amd64 3.72-3 [104 kB]
|
Get:18 http://deb.debian.org/debian stretch/main amd64 libcgi-pm-perl all 4.35-1 [222 kB]
|
Get:19 http://deb.debian.org/debian stretch/main amd64 libfcgi-perl amd64 0.78-2 [38.2 kB]
|
Get:20 http://deb.debian.org/debian stretch/main amd64 libcgi-fast-perl all 1:2.12-1 [11.2 kB]
|
Get:21 http://deb.debian.org/debian stretch/main amd64 libdbd-mysql-perl amd64 4.041-2 [114 kB]
|
Get:22 http://deb.debian.org/debian stretch/main amd64 libencode-locale-perl all 1.05-1 [13.7 kB]
|
Get:23 http://deb.debian.org/debian stretch/main amd64 libhtml-template-perl all 2.95-2 [67.1 kB]
|
Get:24 http://deb.debian.org/debian stretch/main amd64 libtimedate-perl all 2.3000-2+deb9u1 [37.9 kB]
|
Get:25 http://deb.debian.org/debian stretch/main amd64 libhttp-date-perl all 6.02-1 [10.7 kB]
|
Get:26 http://deb.debian.org/debian stretch/main amd64 libio-html-perl all 1.001-1 [17.6 kB]
|
Get:27 http://deb.debian.org/debian stretch/main amd64 liblwp-mediatypes-perl all 6.02-1 [22.1 kB]
|
Get:28 http://deb.debian.org/debian stretch/main amd64 libhttp-message-perl all 6.11-1 [75.9 kB]
|
Get:29 http://deb.debian.org/debian stretch/main amd64 libterm-readkey-perl amd64 2.37-1 [27.2 kB]
|
Get:30 http://deb.debian.org/debian stretch/main amd64 libsnappy1v5 amd64 1.1.3-3 [51.0 kB]
|
Get:31 http://deb.debian.org/debian stretch/main amd64 python3-mysqldb amd64 1.3.7-1.1 [48.9 kB]
|
Get:32 http://deb.debian.org/debian stretch/main amd64 rename all 0.20-4 [12.5 kB]
|
Get:33 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 mysql-common all 1:10.5.13+maria~stretch [3,190 B]
|
Get:34 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 mariadb-common all 1:10.5.13+maria~stretch [4,378 B]
|
Get:35 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 galera-4 amd64 26.4.9-stretch [8,984 kB]
|
Get:36 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 libmariadb3 amd64 1:10.5.13+maria~stretch [148 kB]
|
Get:37 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 mariadb-client-core-10.5 amd64 1:10.5.13+maria~stretch [772 kB]
|
Get:38 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 mariadb-client-10.5 amd64 1:10.5.13+maria~stretch [1,541 kB]
|
Get:39 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 mariadb-server-core-10.5 amd64 1:10.5.13+maria~stretch [6,908 kB]
|
Get:40 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 mariadb-server-10.5 amd64 1:10.5.13+maria~stretch [4,467 kB]
|
Get:41 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 libmariadbclient18 amd64 1:10.5.13+maria~stretch [3,178 B]
|
Get:42 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 mariadb-backup amd64 1:10.5.13+maria~stretch [6,452 kB]
|
Get:43 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 mariadb-client all 1:10.5.13+maria~stretch [3,016 B]
|
Get:44 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 mariadb-plugin-rocksdb amd64 1:10.5.13+maria~stretch [3,110 kB]
|
Get:45 https://downloads.mariadb.com/MariaDB/mariadb-10.5/repo/debian stretch/main amd64 mariadb-server all 1:10.5.13+maria~stretch [3,144 B]
|
Fetched 43.3 MB in 42s (1,024 kB/s)
|
Extracting templates from packages: 100%
|
Preconfiguring packages ...
|
Selecting previously unselected package perl-modules-5.24.
|
(Reading database ... 50132 files and directories currently installed.)
|
Preparing to unpack .../perl-modules-5.24_5.24.1-3+deb9u7_all.deb ...
|
Unpacking perl-modules-5.24 (5.24.1-3+deb9u7) ...
|
Selecting previously unselected package libperl5.24:amd64.
|
Preparing to unpack .../libperl5.24_5.24.1-3+deb9u7_amd64.deb ...
|
Unpacking libperl5.24:amd64 (5.24.1-3+deb9u7) ...
|
Selecting previously unselected package perl.
|
Preparing to unpack .../perl_5.24.1-3+deb9u7_amd64.deb ...
|
Unpacking perl (5.24.1-3+deb9u7) ...
|
Selecting previously unselected package libmpfr4:amd64.
|
Preparing to unpack .../libmpfr4_3.1.5-1_amd64.deb ...
|
Unpacking libmpfr4:amd64 (3.1.5-1) ...
|
Selecting previously unselected package libsigsegv2:amd64.
|
Preparing to unpack .../libsigsegv2_2.10-5_amd64.deb ...
|
Unpacking libsigsegv2:amd64 (2.10-5) ...
|
Setting up libmpfr4:amd64 (3.1.5-1) ...
|
Setting up libsigsegv2:amd64 (2.10-5) ...
|
Selecting previously unselected package gawk.
|
(Reading database ... 51970 files and directories currently installed.)
|
Preparing to unpack .../00-gawk_1%3a4.1.4+dfsg-1_amd64.deb ...
|
Unpacking gawk (1:4.1.4+dfsg-1) ...
|
Selecting previously unselected package mysql-common.
|
Preparing to unpack .../01-mysql-common_1%3a10.5.13+maria~stretch_all.deb ...
|
Unpacking mysql-common (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package mariadb-common.
|
Preparing to unpack .../02-mariadb-common_1%3a10.5.13+maria~stretch_all.deb ...
|
Unpacking mariadb-common (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package galera-4.
|
Preparing to unpack .../03-galera-4_26.4.9-stretch_amd64.deb ...
|
Unpacking galera-4 (26.4.9-stretch) ...
|
Selecting previously unselected package libdbi-perl.
|
Preparing to unpack .../04-libdbi-perl_1.636-1+deb9u1_amd64.deb ...
|
Unpacking libdbi-perl (1.636-1+deb9u1) ...
|
Selecting previously unselected package lsof.
|
Preparing to unpack .../05-lsof_4.89+dfsg-0.1_amd64.deb ...
|
Unpacking lsof (4.89+dfsg-0.1) ...
|
Selecting previously unselected package libmariadb3:amd64.
|
Preparing to unpack .../06-libmariadb3_1%3a10.5.13+maria~stretch_amd64.deb ...
|
Unpacking libmariadb3:amd64 (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package libreadline5:amd64.
|
Preparing to unpack .../07-libreadline5_5.2+dfsg-3+b1_amd64.deb ...
|
Unpacking libreadline5:amd64 (5.2+dfsg-3+b1) ...
|
Selecting previously unselected package mariadb-client-core-10.5.
|
Preparing to unpack .../08-mariadb-client-core-10.5_1%3a10.5.13+maria~stretch_amd64.deb ...
|
Unpacking mariadb-client-core-10.5 (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package mariadb-client-10.5.
|
Preparing to unpack .../09-mariadb-client-10.5_1%3a10.5.13+maria~stretch_amd64.deb ...
|
Unpacking mariadb-client-10.5 (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package libaio1:amd64.
|
Preparing to unpack .../10-libaio1_0.3.110-3_amd64.deb ...
|
Unpacking libaio1:amd64 (0.3.110-3) ...
|
Selecting previously unselected package libpcre2-8-0:amd64.
|
Preparing to unpack .../11-libpcre2-8-0_10.22-3_amd64.deb ...
|
Unpacking libpcre2-8-0:amd64 (10.22-3) ...
|
Selecting previously unselected package mariadb-server-core-10.5.
|
Preparing to unpack .../12-mariadb-server-core-10.5_1%3a10.5.13+maria~stretch_amd64.deb ...
|
Unpacking mariadb-server-core-10.5 (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package psmisc.
|
Preparing to unpack .../13-psmisc_22.21-2.1+b2_amd64.deb ...
|
Unpacking psmisc (22.21-2.1+b2) ...
|
Selecting previously unselected package rsync.
|
Preparing to unpack .../14-rsync_3.1.2-1+deb9u2_amd64.deb ...
|
Unpacking rsync (3.1.2-1+deb9u2) ...
|
Selecting previously unselected package socat.
|
Preparing to unpack .../15-socat_1.7.3.1-2+deb9u1_amd64.deb ...
|
Unpacking socat (1.7.3.1-2+deb9u1) ...
|
Setting up mysql-common (1:10.5.13+maria~stretch) ...
|
Setting up mariadb-common (1:10.5.13+maria~stretch) ...
|
update-alternatives: error: no alternatives for my.cnf
|
update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
|
Selecting previously unselected package mariadb-server-10.5.
|
(Reading database ... 52681 files and directories currently installed.)
|
Preparing to unpack .../00-mariadb-server-10.5_1%3a10.5.13+maria~stretch_amd64.deb ...
|
Unpacking mariadb-server-10.5 (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package libhtml-tagset-perl.
|
Preparing to unpack .../01-libhtml-tagset-perl_3.20-3_all.deb ...
|
Unpacking libhtml-tagset-perl (3.20-3) ...
|
Selecting previously unselected package liburi-perl.
|
Preparing to unpack .../02-liburi-perl_1.71-1_all.deb ...
|
Unpacking liburi-perl (1.71-1) ...
|
Selecting previously unselected package libhtml-parser-perl.
|
Preparing to unpack .../03-libhtml-parser-perl_3.72-3_amd64.deb ...
|
Unpacking libhtml-parser-perl (3.72-3) ...
|
Selecting previously unselected package libcgi-pm-perl.
|
Preparing to unpack .../04-libcgi-pm-perl_4.35-1_all.deb ...
|
Unpacking libcgi-pm-perl (4.35-1) ...
|
Selecting previously unselected package libfcgi-perl.
|
Preparing to unpack .../05-libfcgi-perl_0.78-2_amd64.deb ...
|
Unpacking libfcgi-perl (0.78-2) ...
|
Selecting previously unselected package libcgi-fast-perl.
|
Preparing to unpack .../06-libcgi-fast-perl_1%3a2.12-1_all.deb ...
|
Unpacking libcgi-fast-perl (1:2.12-1) ...
|
Selecting previously unselected package libmariadbclient18.
|
Preparing to unpack .../07-libmariadbclient18_1%3a10.5.13+maria~stretch_amd64.deb ...
|
Unpacking libmariadbclient18 (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package libdbd-mysql-perl.
|
Preparing to unpack .../08-libdbd-mysql-perl_4.041-2_amd64.deb ...
|
Unpacking libdbd-mysql-perl (4.041-2) ...
|
Selecting previously unselected package libencode-locale-perl.
|
Preparing to unpack .../09-libencode-locale-perl_1.05-1_all.deb ...
|
Unpacking libencode-locale-perl (1.05-1) ...
|
Selecting previously unselected package libhtml-template-perl.
|
Preparing to unpack .../10-libhtml-template-perl_2.95-2_all.deb ...
|
Unpacking libhtml-template-perl (2.95-2) ...
|
Selecting previously unselected package libtimedate-perl.
|
Preparing to unpack .../11-libtimedate-perl_2.3000-2+deb9u1_all.deb ...
|
Unpacking libtimedate-perl (2.3000-2+deb9u1) ...
|
Selecting previously unselected package libhttp-date-perl.
|
Preparing to unpack .../12-libhttp-date-perl_6.02-1_all.deb ...
|
Unpacking libhttp-date-perl (6.02-1) ...
|
Selecting previously unselected package libio-html-perl.
|
Preparing to unpack .../13-libio-html-perl_1.001-1_all.deb ...
|
Unpacking libio-html-perl (1.001-1) ...
|
Selecting previously unselected package liblwp-mediatypes-perl.
|
Preparing to unpack .../14-liblwp-mediatypes-perl_6.02-1_all.deb ...
|
Unpacking liblwp-mediatypes-perl (6.02-1) ...
|
Selecting previously unselected package libhttp-message-perl.
|
Preparing to unpack .../15-libhttp-message-perl_6.11-1_all.deb ...
|
Unpacking libhttp-message-perl (6.11-1) ...
|
Selecting previously unselected package libterm-readkey-perl.
|
Preparing to unpack .../16-libterm-readkey-perl_2.37-1_amd64.deb ...
|
Unpacking libterm-readkey-perl (2.37-1) ...
|
Selecting previously unselected package mariadb-backup.
|
Preparing to unpack .../17-mariadb-backup_1%3a10.5.13+maria~stretch_amd64.deb ...
|
Unpacking mariadb-backup (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package mariadb-client.
|
Preparing to unpack .../18-mariadb-client_1%3a10.5.13+maria~stretch_all.deb ...
|
Unpacking mariadb-client (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package libsnappy1v5:amd64.
|
Preparing to unpack .../19-libsnappy1v5_1.1.3-3_amd64.deb ...
|
Unpacking libsnappy1v5:amd64 (1.1.3-3) ...
|
Selecting previously unselected package mariadb-plugin-rocksdb.
|
Preparing to unpack .../20-mariadb-plugin-rocksdb_1%3a10.5.13+maria~stretch_amd64.deb ...
|
Unpacking mariadb-plugin-rocksdb (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package mariadb-server.
|
Preparing to unpack .../21-mariadb-server_1%3a10.5.13+maria~stretch_all.deb ...
|
Unpacking mariadb-server (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package python3-mysqldb.
|
Preparing to unpack .../22-python3-mysqldb_1.3.7-1.1_amd64.deb ...
|
Unpacking python3-mysqldb (1.3.7-1.1) ...
|
Selecting previously unselected package rename.
|
Preparing to unpack .../23-rename_0.20-4_all.deb ...
|
Unpacking rename (0.20-4) ...
|
Setting up libmariadb3:amd64 (1:10.5.13+maria~stretch) ...
|
Setting up perl-modules-5.24 (5.24.1-3+deb9u7) ...
|
Setting up libperl5.24:amd64 (5.24.1-3+deb9u7) ...
|
Setting up galera-4 (26.4.9-stretch) ...
|
Setting up psmisc (22.21-2.1+b2) ...
|
Setting up socat (1.7.3.1-2+deb9u1) ...
|
Setting up lsof (4.89+dfsg-0.1) ...
|
Setting up libmariadbclient18 (1:10.5.13+maria~stretch) ...
|
Setting up gawk (1:4.1.4+dfsg-1) ...
|
Setting up rsync (3.1.2-1+deb9u2) ...
|
Created symlink /etc/systemd/system/multi-user.target.wants/rsync.service → /lib/systemd/system/rsync.service.
|
Setting up perl (5.24.1-3+deb9u7) ...
|
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
|
Setting up liblwp-mediatypes-perl (6.02-1) ...
|
Processing triggers for libc-bin (2.24-11+deb9u4) ...
|
Setting up libaio1:amd64 (0.3.110-3) ...
|
Setting up liburi-perl (1.71-1) ...
|
Setting up libsnappy1v5:amd64 (1.1.3-3) ...
|
Processing triggers for systemd (232-25+deb9u13) ...
|
Processing triggers for man-db (2.7.6.1-2) ...
|
Setting up libreadline5:amd64 (5.2+dfsg-3+b1) ...
|
Setting up libpcre2-8-0:amd64 (10.22-3) ...
|
Setting up libfcgi-perl (0.78-2) ...
|
Setting up libdbi-perl (1.636-1+deb9u1) ...
|
Setting up libhtml-tagset-perl (3.20-3) ...
|
Setting up mariadb-client-core-10.5 (1:10.5.13+maria~stretch) ...
|
Setting up libencode-locale-perl (1.05-1) ...
|
Setting up libtimedate-perl (2.3000-2+deb9u1) ...
|
Setting up rename (0.20-4) ...
|
update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rename) in auto mode
|
Setting up mariadb-client-10.5 (1:10.5.13+maria~stretch) ...
|
Setting up libio-html-perl (1.001-1) ...
|
Setting up mariadb-client (1:10.5.13+maria~stretch) ...
|
Setting up mariadb-server-core-10.5 (1:10.5.13+maria~stretch) ...
|
Setting up python3-mysqldb (1.3.7-1.1) ...
|
Setting up libterm-readkey-perl (2.37-1) ...
|
Setting up mariadb-backup (1:10.5.13+maria~stretch) ...
|
Setting up mariadb-server-10.5 (1:10.5.13+maria~stretch) ...
|
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
|
Setting up libhtml-parser-perl (3.72-3) ...
|
Setting up libcgi-pm-perl (4.35-1) ...
|
Setting up mariadb-server (1:10.5.13+maria~stretch) ...
|
Setting up libdbd-mysql-perl (4.041-2) ...
|
Setting up libhttp-date-perl (6.02-1) ...
|
Setting up libhtml-template-perl (2.95-2) ...
|
Setting up libcgi-fast-perl (1:2.12-1) ...
|
Setting up mariadb-plugin-rocksdb (1:10.5.13+maria~stretch) ...
|
Setting up libhttp-message-perl (6.11-1) ...
|
Processing triggers for libc-bin (2.24-11+deb9u4) ...
|
Processing triggers for systemd (232-25+deb9u13) ...
|
Processing triggers for mariadb-server-10.5 (1:10.5.13+maria~stretch) ...
|
debian-9-amd64-clean-lxq1k0:~$ sudo sh -c "echo '[mysqld]' >> /etc/mysql/mariadb.conf.d/general_log.cnf"
|
debian-9-amd64-clean-lxq1k0:~$ sudo sh -c "echo 'general_log=1' >> /etc/mysql/mariadb.conf.d/general_log.cnf"
|
debian-9-amd64-clean-lxq1k0:~$ sudo sh -c "echo 'general_log_file=/tmp/my.log' >> /etc/mysql/mariadb.conf.d/general_log.cnf"
|
debian-9-amd64-clean-lxq1k0:~$ sudo ./mariadb_repo_setup --mariadb-server-version=10.6 --skip-maxscale --skip-tools
|
[info] Checking for script prerequisites.
|
[warning] Found existing file at /etc/apt/sources.list.d/mariadb.list. Moving to /etc/apt/sources.list.d/mariadb.list.old_1
|
[info] Repository file successfully written to /etc/apt/sources.list.d/mariadb.list
|
[info] Adding trusted package signing keys...
|
[info] Running apt-get update...
|
[info] Done adding trusted package signing keys
|
debian-9-amd64-clean-lxq1k0:~$ sudo apt-get update
|
Hit:1 http://security.debian.org stretch/updates InRelease
|
Ign:2 http://deb.debian.org/debian stretch InRelease
|
Hit:3 http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease
|
Hit:4 http://deb.debian.org/debian stretch-updates InRelease
|
Hit:5 http://deb.debian.org/debian stretch-backports InRelease
|
Hit:6 http://deb.debian.org/debian stretch Release
|
Get:7 http://packages.cloud.google.com/apt google-compute-engine-stretch-stable InRelease [5,525 B]
|
Hit:8 http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-stretch InRelease
|
Get:9 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/debian stretch InRelease [4,642 B]
|
Fetched 10.2 kB in 0s (14.8 kB/s)
|
Reading package lists... Done
|
N: Ignoring file 'mariadb.list.old_1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
|
debian-9-amd64-clean-lxq1k0:~$ sudo apt-get install -y mariadb-server mariadb-client mariadb-backup mariadb-plugin-rocksdb
|
Reading package lists... Done
|
Building dependency tree
|
Reading state information... Done
|
The following additional packages will be installed:
|
mariadb-client-10.6 mariadb-client-core-10.6 mariadb-common mariadb-server-10.6 mariadb-server-core-10.6
|
Suggested packages:
|
mailx mariadb-test netcat-openbsd
|
The following packages will be REMOVED:
|
mariadb-client-10.5 mariadb-client-core-10.5 mariadb-server-10.5 mariadb-server-core-10.5
|
The following NEW packages will be installed:
|
mariadb-client-10.6 mariadb-client-core-10.6 mariadb-server-10.6 mariadb-server-core-10.6
|
The following packages will be upgraded:
|
mariadb-backup mariadb-client mariadb-common mariadb-plugin-rocksdb mariadb-server
|
5 upgraded, 4 newly installed, 4 to remove and 6 not upgraded.
|
Need to get 22.9 MB of archives.
|
After this operation, 1,434 kB of additional disk space will be used.
|
Get:1 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/debian stretch/main amd64 mariadb-common all 1:10.6.5+maria~stretch [3,976 B]
|
Get:2 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/debian stretch/main amd64 mariadb-client all 1:10.6.5+maria~stretch [2,622 B]
|
Get:3 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/debian stretch/main amd64 mariadb-server all 1:10.6.5+maria~stretch [2,748 B]
|
Get:4 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/debian stretch/main amd64 mariadb-plugin-rocksdb amd64 1:10.6.5+maria~stretch [3,113 kB]
|
Get:5 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/debian stretch/main amd64 mariadb-backup amd64 1:10.6.5+maria~stretch [6,407 kB]
|
Get:6 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/debian stretch/main amd64 mariadb-client-core-10.6 amd64 1:10.6.5+maria~stretch [819 kB]
|
Get:7 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/debian stretch/main amd64 mariadb-client-10.6 amd64 1:10.6.5+maria~stretch [2,314 kB]
|
Get:8 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/debian stretch/main amd64 mariadb-server-core-10.6 amd64 1:10.6.5+maria~stretch [6,928 kB]
|
Get:9 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/debian stretch/main amd64 mariadb-server-10.6 amd64 1:10.6.5+maria~stretch [3,338 kB]
|
Fetched 22.9 MB in 4s (4,772 kB/s)
|
N: Ignoring file 'mariadb.list.old_1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
|
Preconfiguring packages ...
|
(Reading database ... 53200 files and directories currently installed.)
|
Preparing to unpack .../mariadb-common_1%3a10.6.5+maria~stretch_all.deb ...
|
Unpacking mariadb-common (1:10.6.5+maria~stretch) over (1:10.5.13+maria~stretch) ...
|
Preparing to unpack .../mariadb-client_1%3a10.6.5+maria~stretch_all.deb ...
|
Unpacking mariadb-client (1:10.6.5+maria~stretch) over (1:10.5.13+maria~stretch) ...
|
Preparing to unpack .../mariadb-server_1%3a10.6.5+maria~stretch_all.deb ...
|
Unpacking mariadb-server (1:10.6.5+maria~stretch) over (1:10.5.13+maria~stretch) ...
|
Preparing to unpack .../mariadb-plugin-rocksdb_1%3a10.6.5+maria~stretch_amd64.deb ...
|
Unpacking mariadb-plugin-rocksdb (1:10.6.5+maria~stretch) over (1:10.5.13+maria~stretch) ...
|
(Reading database ... 53200 files and directories currently installed.)
|
Removing mariadb-server-10.5 (1:10.5.13+maria~stretch) ...
|
Removing mariadb-server-core-10.5 (1:10.5.13+maria~stretch) ...
|
Removing mariadb-client-10.5 (1:10.5.13+maria~stretch) ...
|
(Reading database ... 52900 files and directories currently installed.)
|
Preparing to unpack .../mariadb-backup_1%3a10.6.5+maria~stretch_amd64.deb ...
|
Unpacking mariadb-backup (1:10.6.5+maria~stretch) over (1:10.5.13+maria~stretch) ...
|
(Reading database ... 52900 files and directories currently installed.)
|
Removing mariadb-client-core-10.5 (1:10.5.13+maria~stretch) ...
|
Selecting previously unselected package mariadb-client-core-10.6.
|
(Reading database ... 52890 files and directories currently installed.)
|
Preparing to unpack .../mariadb-client-core-10.6_1%3a10.6.5+maria~stretch_amd64.deb ...
|
Unpacking mariadb-client-core-10.6 (1:10.6.5+maria~stretch) ...
|
Selecting previously unselected package mariadb-client-10.6.
|
Preparing to unpack .../mariadb-client-10.6_1%3a10.6.5+maria~stretch_amd64.deb ...
|
Unpacking mariadb-client-10.6 (1:10.6.5+maria~stretch) ...
|
Selecting previously unselected package mariadb-server-core-10.6.
|
Preparing to unpack .../mariadb-server-core-10.6_1%3a10.6.5+maria~stretch_amd64.deb ...
|
Unpacking mariadb-server-core-10.6 (1:10.6.5+maria~stretch) ...
|
Setting up mariadb-common (1:10.6.5+maria~stretch) ...
|
Selecting previously unselected package mariadb-server-10.6.
|
(Reading database ... 53106 files and directories currently installed.)
|
Preparing to unpack .../mariadb-server-10.6_1%3a10.6.5+maria~stretch_amd64.deb ...
|
/var/lib/mysql: found previous version 10.5
|
Unpacking mariadb-server-10.6 (1:10.6.5+maria~stretch) ...
|
Setting up mariadb-server-core-10.6 (1:10.6.5+maria~stretch) ...
|
Processing triggers for systemd (232-25+deb9u13) ...
|
Setting up mariadb-client-core-10.6 (1:10.6.5+maria~stretch) ...
|
Processing triggers for man-db (2.7.6.1-2) ...
|
Setting up mariadb-client-10.6 (1:10.6.5+maria~stretch) ...
|
Setting up mariadb-client (1:10.6.5+maria~stretch) ...
|
Setting up mariadb-server-10.6 (1:10.6.5+maria~stretch) ...
|
Installing new version of config file /etc/init.d/mariadb ...
|
Installing new version of config file /etc/mysql/mariadb.conf.d/50-server.cnf ...
|
Warning: mariadb.service changed on disk. Run 'systemctl daemon-reload' to reload units.
|
mariadb-extra.socket is a disabled or a static unit, not starting it.
|
mariadb-extra.socket is a disabled or a static unit, not starting it.
|
Setting up mariadb-backup (1:10.6.5+maria~stretch) ...
|
Setting up mariadb-plugin-rocksdb (1:10.6.5+maria~stretch) ...
|
Setting up mariadb-server (1:10.6.5+maria~stretch) ...
|
Processing triggers for systemd (232-25+deb9u13) ...
|
N: Ignoring file 'mariadb.list.old_1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
|
debian-9-amd64-clean-lxq1k0:~$ sudo mysql -e "show databases"
|
+--------------------+
|
| Database |
|
+--------------------+
|
| information_schema |
|
| mysql |
|
| performance_schema |
|
+--------------------+
|
debian-9-amd64-clean-lxq1k0:~$ sudo cat /tmp/my.log
|
/usr/sbin/mariadbd, Version: 10.6.5-MariaDB-1:10.6.5+maria~stretch-log (mariadb.org binary distribution). started with:
|
Tcp port: 0 Unix socket: /run/mysqld/mysqld.sock
|
Time Id Command Argument
|
211122 13:14:15 3 Connect root@localhost on using Socket
|
3 Query show databases
|
3 Quit
|
debian-9-amd64-clean-lxq1k0:~$ sudo cat /tmp/my.log
|
/usr/sbin/mariadbd, Version: 10.6.5-MariaDB-1:10.6.5+maria~stretch-log (mariadb.org binary distribution). started with:
|
Tcp port: 0 Unix socket: /run/mysqld/mysqld.sock
|
Time Id Command Argument
|
211122 13:14:15 3 Connect root@localhost on using Socket
|
3 Query show databases
|
3 Quit
|
debian-9-amd64-clean-lxq1k0:~$ sudo mysql_upgrade
|
Phase 1/7: Checking and upgrading mysql database
|
Processing databases
|
mysql
|
mysql.column_stats OK
|
mysql.columns_priv OK
|
mysql.db OK
|
mysql.event OK
|
mysql.func OK
|
mysql.global_priv OK
|
mysql.gtid_slave_pos OK
|
mysql.help_category OK
|
mysql.help_keyword OK
|
mysql.help_relation OK
|
mysql.help_topic OK
|
mysql.index_stats OK
|
mysql.innodb_index_stats OK
|
mysql.innodb_table_stats OK
|
mysql.plugin OK
|
mysql.proc OK
|
mysql.procs_priv OK
|
mysql.proxies_priv OK
|
mysql.roles_mapping OK
|
mysql.servers OK
|
mysql.table_stats OK
|
mysql.tables_priv OK
|
mysql.time_zone OK
|
mysql.time_zone_leap_second OK
|
mysql.time_zone_name OK
|
mysql.time_zone_transition OK
|
mysql.time_zone_transition_type OK
|
mysql.transaction_registry OK
|
Phase 2/7: Installing used storage engines... Skipped
|
Phase 3/7: Fixing views
|
mysql.user OK
|
Phase 4/7: Running 'mysql_fix_privilege_tables'
|
Phase 5/7: Fixing table and database names
|
Phase 6/7: Checking and upgrading tables
|
Processing databases
|
information_schema
|
performance_schema
|
sys
|
sys.sys_config OK
|
Phase 7/7: Running 'FLUSH PRIVILEGES'
|
OK
|
debian-9-amd64-clean-lxq1k0:~$
|
In what contex do you get timeouts?
I checked your Attachement and there is a core. However to be able to fully use the core I would need to also have the corresponding mysqld or mariadbd binary.
The journal includes a trace of a crash:
Nov 16 20:18:10 aio1-galera-container-b6377aeb /etc/mysql/debian-start[3862]: sys.schema_redundant_indexes OK
Nov 16 20:20:17 aio1-galera-container-b6377aeb mariadbd[3831]: 211116 20:20:17 [ERROR] mysqld got signal 6 ;
....
Nov 16 20:20:17 aio1-galera-container-b6377aeb mariadbd[3831]: stack_bottom = 0x0 thread_stack 0x49000
Nov 16 20:20:17 aio1-galera-container-b6377aeb mariadbd[3831]: Printing to addr2line failed
Nov 16 20:20:17 aio1-galera-container-b6377aeb mariadbd[3831]: /usr/sbin/mariadbd(my_print_stacktrace+0x32)[0x55e28d2e3442]
Nov 16 20:20:17 aio1-galera-container-b6377aeb mariadbd[3831]: /usr/sbin/mariadbd(handle_fatal_signal+0x485)[0x55e28cd966a5]
Nov 16 20:20:17 aio1-galera-container-b6377aeb mariadbd[3831]: /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7f8ffd0173c0]
Nov 16 20:20:17 aio1-galera-container-b6377aeb mariadbd[3831]: /lib/x86_64-linux-gnu/libc.so.6(__poll+0x4f)[0x7f8ffcbecaff]
Nov 16 20:20:17 aio1-galera-container-b6377aeb mariadbd[3831]: /usr/sbin/mariadbd(_Z26handle_connections_socketsv+0x1da)[0x55e28ca942ba]
Nov 16 20:20:17 aio1-galera-container-b6377aeb mariadbd[3831]: /usr/sbin/mariadbd(_Z11mysqld_mainiPPc+0x891)[0x55e28ca94df1]
Nov 16 20:20:17 aio1-galera-container-b6377aeb mariadbd[3831]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f8ffcafe0b3]
Nov 16 20:20:17 aio1-galera-container-b6377aeb mariadbd[3831]: /usr/sbin/mariadbd(_start+0x2e)[0x55e28ca8979e]
The crash comes from a 'signal 6', SIGABRT that is probably sent out from the outside.
There is 2 minutes of delay between the last log entry and the ABORT.
This indicates that a program or user killed the server with hard because of some unknown reason.
The server was running the following during the crash:
Running 'mysqlcheck' with connection arguments: --port='3306' --socket='/var/run/mysqld/mysqld.sock' --host='localhost' --socket='/var/run/mysqld/mysqld.sock' --host='localhost' --socket='/var/run/mysqld/mysqld.sock'
It was processing sys.views when the server was killed. There was a strange timeout of 2 minutes in
the output from mysqlcheck, but that could be a caching issue.
If the databases are huge, then the above command can take a long time. The 2 minute timeout is probably not enough to finish the above command.
Suggested fix: Increase the system timeout when running the mysql --upgrade process.
There is of course a small chance that there is a bug when checking sys schema views that causes a deadlock. It would be great if you could somehow verify if this is the case by running mysql_upgrade separately on a server and check if you get any issues.