Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
None
-
None
-
AWS, centos rhel fedora
Description
Unable to start mariadb server :
$ sudo systemctl start mariadb
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
$ ls /var/lib/mysql/
#rocksdb aria_log.00000001 aria_log_control ib_buffer_pool ib_logfile0 ib_logfile1 ibdata1 mysql mysql_upgrade_info performance_schema test
$ systemctl status mariadb.service
● mariadb.service - MariaDB 10.2 database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/mariadb.service.d
└─tokudb.conf
Active: failed (Result: exit-code) since Fri 2022-06-10 03:33:00 UTC; 1min 16s ago
Process: 13239 ExecStart=/usr/libexec/mysqld --basedir=/usr $MYSQLD_OPTS $_WSREP_NEW_CLUSTER (code=exited, status=1/FAILURE)
Process: 13115 ExecStartPre=/usr/libexec/mysql-prepare-db-dir %n (code=exited, status=0/SUCCESS)
Process: 13091 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS)
Main PID: 13239 (code=exited, status=1/FAILURE)
Status: "MariaDB server is down"
CGroup: /system.slice/mariadb.service
├─4269 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
└─4435 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mariadb/mariadb.log --pid-file=/var/run/mariadb/mariadb.pid --socket=/var/lib/mysql/mysql.sock
Jun 10 03:32:58 compute.internal mysql-prepare-db-dir[13115]: strongly recommended for production servers.
Jun 10 03:32:58 compute.internal mysql-prepare-db-dir[13115]: See the MariaDB Knowledgebase at http://mariadb.com/kb or the
Jun 10 03:32:58 compute.internal mysql-prepare-db-dir[13115]: MySQL manual for more instructions.
Jun 10 03:32:58 compute.internal mysql-prepare-db-dir[13115]: Please report any problems at http://mariadb.org/jira
Jun 10 03:32:58 compute.internal mysqld[13239]: ERROR: ld.so: object '/usr/lib64/libjemalloc.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Jun 10 03:32:58 compute.internal mysqld[13239]: 2022-06-10 3:32:58 140540771268736 [Note] /usr/libexec/mysqld (mysqld 10.2.38-MariaDB) starting as process 13239 ...
Jun 10 03:33:00 compute.internal systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE
Jun 10 03:33:00 compute.internal systemd[1]: Failed to start MariaDB 10.2 database server.
Jun 10 03:33:00 compute.internal systemd[1]: Unit mariadb.service entered failed state.
Jun 10 03:33:00 compute.internal systemd[1]: mariadb.service failed.