Hi,
Previously Virtaulmin is installed and configured witgout mysql and postegre sql.And then we followed the installation steps from this url = https://www.vultr.com/docs/how-to-install-moodle-3-3-x-on-centos-7.
During the step sudo systemctl start mariadb.service - the comment show error message, here with we attach the error message
Kindly suggest how to fix this issue.
Thanks
[sudo systemctl start mariadb.service
[
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
● mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mariadb.service.d
└─migrated-from-my.cnf-settings.conf
Active: failed (Result: exit-code) since Wed 2017-11-29 10:08:51 IST; 29s ago
Process: 2611 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAI LURE)
Process: 2552 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=/usr/bin/galera_recovery
; [ $? - eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
Process: 2550 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Main PID: 2611 (code=exited, status=1/FAILURE)
Status: "MariaDB server is down"
CGroup: /system.slice/mariadb.service
├─1360 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
└─1739 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-e...
Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [Note] InnoDB: Starting shutdown... Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] Plugin 'InnoDB' init function...error. Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] Plugin 'InnoDB' registration ...ailed. Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [Note] Plugin 'FEEDBACK' is disabled. Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] Unknown/unsupported storage e...InnoDB Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] Aborting Nov 29 10:08:51 199.x.x.x systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE Nov 29 10:08:51 199.x.x.x systemd[1]: Failed to start MariaDB database server. Nov 29 10:08:51 199.x.x.x systemd[1]: Unit mariadb.service entered failed state. Nov 29 10:08:51 199.x.x.x systemd[1]: mariadb.service failed. Hint: Some lines were ellipsized, use -l to show in full. [vasanth@172 ~]$ ^C [vasanth@172 ~]$ journalctl -xe Nov 29 10:08:33 199.x.x.x mysqld[2611]: 2017-11-29 10:08:33 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:33 199.x.x.x mysqld[2611]: 2017-11-29 10:08:33 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:34 199.x.x.x mysqld[2611]: 2017-11-29 10:08:34 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:34 199.x.x.x mysqld[2611]: 2017-11-29 10:08:34 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:35 199.x.x.x mysqld[2611]: 2017-11-29 10:08:35 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:35 199.x.x.x mysqld[2611]: 2017-11-29 10:08:35 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:36 199.x.x.x mysqld[2611]: 2017-11-29 10:08:36 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:36 199.x.x.x mysqld[2611]: 2017-11-29 10:08:36 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:37 199.x.x.x mysqld[2611]: 2017-11-29 10:08:37 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:37 199.x.x.x mysqld[2611]: 2017-11-29 10:08:37 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:38 199.x.x.x mysqld[2611]: 2017-11-29 10:08:38 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:38 199.x.x.x mysqld[2611]: 2017-11-29 10:08:38 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:39 199.x.x.x mysqld[2611]: 2017-11-29 10:08:39 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:39 199.x.x.x mysqld[2611]: 2017-11-29 10:08:39 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:40 199.x.x.x mysqld[2611]: 2017-11-29 10:08:40 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:40 199.x.x.x mysqld[2611]: 2017-11-29 10:08:40 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:41 199.x.x.x mysqld[2611]: 2017-11-29 10:08:41 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:41 199.x.x.x mysqld[2611]: 2017-11-29 10:08:41 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:42 199.x.x.x mysqld[2611]: 2017-11-29 10:08:42 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:42 199.x.x.x mysqld[2611]: 2017-11-29 10:08:42 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:43 199.x.x.x mysqld[2611]: 2017-11-29 10:08:43 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:43 199.x.x.x mysqld[2611]: 2017-11-29 10:08:43 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:44 199.x.x.x mysqld[2611]: 2017-11-29 10:08:44 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:44 199.x.x.x mysqld[2611]: 2017-11-29 10:08:44 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:45 199.x.x.x mysqld[2611]: 2017-11-29 10:08:45 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:45 199.x.x.x mysqld[2611]: 2017-11-29 10:08:45 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:46 199.x.x.x mysqld[2611]: 2017-11-29 10:08:46 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:46 199.x.x.x mysqld[2611]: 2017-11-29 10:08:46 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:47 199.x.x.x mysqld[2611]: 2017-11-29 10:08:47 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:47 199.x.x.x mysqld[2611]: 2017-11-29 10:08:47 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:48 199.x.x.x mysqld[2611]: 2017-11-29 10:08:48 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:48 199.x.x.x mysqld[2611]: 2017-11-29 10:08:48 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:49 199.x.x.x mysqld[2611]: 2017-11-29 10:08:49 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:49 199.x.x.x mysqld[2611]: 2017-11-29 10:08:49 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11 Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [Note] InnoDB: Check that you do not already have another mysqld process using Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [Note] InnoDB: Unable to open the first data file Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] InnoDB: Operating system error number 11 in a file operation. Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] InnoDB: Error number 11 means 'Resource temporarily unavailable' Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [Note] InnoDB: Some operating system error numbers are described at http://dev Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] InnoDB: Cannot open datafile './ibdata1' Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried t Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] InnoDB: Plugin initialization aborted with error Cannot open a file Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [Note] InnoDB: Starting shutdown... Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] Plugin 'InnoDB' init function returned error. Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [Note] Plugin 'FEEDBACK' is disabled. Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] Unknown/unsupported storage engine: InnoDB Nov 29 10:08:50 199.x.x.x mysqld[2611]: 2017-11-29 10:08:50 140056708094080 [ERROR] Aborting Nov 29 10:08:51 199.x.x.x systemd[1]: mariadb.service: main process exited, code=exited, status=1/FAILURE Nov 29 10:08:51 199.x.x.x systemd[1]: Failed to start MariaDB database server. -- Subject: Unit mariadb.service has failed -- Defined-By: systemd
-- The result is failed. Nov 29 10:08:51 199.x.x.x systemd[1]: Unit mariadb.service entered failed state. Nov 29 10:08:51 199.x.x.x systemd[1]: mariadb.service failed. Nov 29 10:08:51 199.x.x.x polkitd[833]: Unregistered Authentication Agent for unix-process:2544:58661 (system bus name :1.50, object path /org/freedesktop