mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
af124c4f1c
MariaDB installs/upgrades in Docker containers (and elsewhere where systemd is not used) occasionally fail with output like: Starting MariaDB database server: mariadbd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed! invoke-rc.d: initscript mariadb, action "start" failed. dpkg: error processing package mariadb-server-10.5 (--configure): installed mariadb-server-10.5 package post-installation script subprocess returned error exit status 1 This is not very helpful. Thus extend the init script to try the server start/restart one more time but with error log defined separately, and then print out the error log contents of this single start attempt. ... Starting MariaDB database server: mariadbd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230103 01:06:48 mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect. 230103 01:06:48 mysqld_safe Logging to '/tmp/tmp.JlE4sdUMZz.err'. 230103 01:06:49 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql Running '/etc/init.d/mariadb start' failed with error log: 230103 01:06:49 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql 2023-01-03 1:06:49 0 [Note] /usr/sbin/mariadbd (mysqld 10.5.18-MariaDB-0+deb11u1) starting as process 10417 ... 2023-01-03 1:06:49 0 [Note] InnoDB: Uses event mutexes 2023-01-03 1:06:49 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2023-01-03 1:06:49 0 [Note] InnoDB: Number of pools: 1 2023-01-03 1:06:49 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions 2023-01-03 1:06:49 0 [Note] InnoDB: Using Linux native AIO 2023-01-03 1:06:49 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728 2023-01-03 1:06:49 0 [Note] InnoDB: Completed initialization of buffer pool 2023-01-03 1:06:49 0 [ERROR] InnoDB: Invalid flags 0x4800 in ./ibdata1 ... |
||
---|---|---|
.. | ||
additions | ||
po | ||
source | ||
tests | ||
apparmor-profile | ||
autobake-deb.sh | ||
changelog | ||
compat | ||
control | ||
copyright | ||
gbp.conf | ||
libmariadb-dev-compat.install | ||
libmariadb-dev-compat.links | ||
libmariadb-dev-compat.lintian-overrides | ||
libmariadb-dev.examples | ||
libmariadb-dev.install | ||
libmariadb-dev.links | ||
libmariadb-dev.lintian-overrides | ||
libmariadb-dev.README.Maintainer | ||
libmariadb3-compat.install | ||
libmariadb3.install | ||
libmariadb3.lintian-overrides | ||
libmariadb3.symbols | ||
libmariadb3.symbols.README | ||
libmariadbclient18.install | ||
libmariadbd-dev.install | ||
libmariadbd19.install | ||
libmariadbd19.lintian-overrides | ||
libmysqlclient18.install | ||
mariadb-backup.install | ||
mariadb-backup.lintian-overrides | ||
mariadb-client-core.install | ||
mariadb-client-core.lintian-overrides | ||
mariadb-client.docs | ||
mariadb-client.install | ||
mariadb-client.links | ||
mariadb-client.lintian-overrides | ||
mariadb-client.manpages | ||
mariadb-client.menu | ||
mariadb-client.README.Debian | ||
mariadb-common.dirs | ||
mariadb-common.install | ||
mariadb-common.lintian-overrides | ||
mariadb-common.postinst | ||
mariadb-common.postrm | ||
mariadb-plugin-connect.install | ||
mariadb-plugin-cracklib-password-check.install | ||
mariadb-plugin-gssapi-client.install | ||
mariadb-plugin-gssapi-server.install | ||
mariadb-plugin-hashicorp-key-management.install | ||
mariadb-plugin-mroonga.install | ||
mariadb-plugin-mroonga.lintian-overrides | ||
mariadb-plugin-mroonga.postinst | ||
mariadb-plugin-mroonga.prerm | ||
mariadb-plugin-oqgraph.install | ||
mariadb-plugin-provider-bzip2.install | ||
mariadb-plugin-provider-bzip2.lintian-overrides | ||
mariadb-plugin-provider-lz4.install | ||
mariadb-plugin-provider-lz4.lintian-overrides | ||
mariadb-plugin-provider-lzma.install | ||
mariadb-plugin-provider-lzma.lintian-overrides | ||
mariadb-plugin-provider-lzo.install | ||
mariadb-plugin-provider-lzo.lintian-overrides | ||
mariadb-plugin-provider-snappy.install | ||
mariadb-plugin-provider-snappy.lintian-overrides | ||
mariadb-plugin-rocksdb.install | ||
mariadb-plugin-rocksdb.lintian-overrides | ||
mariadb-plugin-s3.install | ||
mariadb-plugin-spider.install | ||
mariadb-server-core.install | ||
mariadb-server-core.lintian-overrides | ||
mariadb-server.config | ||
mariadb-server.dirs | ||
mariadb-server.install | ||
mariadb-server.lintian-overrides | ||
mariadb-server.logcheck.ignore.paranoid | ||
mariadb-server.logcheck.ignore.server | ||
mariadb-server.logcheck.ignore.workstation | ||
mariadb-server.mariadb.init | ||
mariadb-server.mysql.default | ||
mariadb-server.postinst | ||
mariadb-server.postrm | ||
mariadb-server.preinst | ||
mariadb-server.README.Debian | ||
mariadb-server.templates | ||
mariadb-server.triggers | ||
mariadb-test-data.install | ||
mariadb-test-data.lintian-overrides | ||
mariadb-test.install | ||
mariadb-test.lintian-overrides | ||
mysql-common.dirs | ||
mysql-common.links | ||
mysql-common.lintian-overrides | ||
mysql-common.postrm | ||
not-installed | ||
rules | ||
salsa-ci.yml |