- 积分
- 14
- 威望
-
- 金钱
-
- 注册时间
- 2020-8-20
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
安装环境:redhat7.2 ,安装了两次一直启动不了,nginx和php正常,页面也可以正常打开,请大佬们帮帮忙
- [root@QCDXT-HX10 ~]# 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.
复制代码- [root@QCDXT-HX10 ~]# systemctl status mariadb.service
- ● mariadb.service - MariaDB Server
- Loaded: loaded (/etc/systemd/system/mariadb.service; enabled; vendor preset: disabled)
- Active: failed (Result: exit-code) since Thu 2020-08-20 10:59:34 CST; 29s ago
- Process: 5845 ExecStart=/etc/init.d/mariadb start (code=exited, status=1/FAILURE)
- Aug 20 10:59:30 QCDXT-HX10 systemd[1]: Starting MariaDB Server...
- Aug 20 10:59:31 QCDXT-HX10 mariadb[5845]: Starting MariaDB.200820 10:59:31 mysqld_safe Logging to '/usr/local/mariadb/var/mariadb.err'.
- Aug 20 10:59:31 QCDXT-HX10 mariadb[5845]: 200820 10:59:31 mysqld_safe Starting mysqld daemon with databases from /usr/local/mariadb/var
- Aug 20 10:59:34 QCDXT-HX10 mariadb[5845]: ../etc/init.d/mariadb: line 265: kill: (5961) - No such process
- Aug 20 10:59:34 QCDXT-HX10 mariadb[5845]: ERROR!
- Aug 20 10:59:34 QCDXT-HX10 systemd[1]: mariadb.service: control process exited, code=exited status=1
- Aug 20 10:59:34 QCDXT-HX10 systemd[1]: Failed to start MariaDB Server.
- Aug 20 10:59:34 QCDXT-HX10 systemd[1]: Unit mariadb.service entered failed state.
- Aug 20 10:59:34 QCDXT-HX10 systemd[1]: mariadb.service failed.
复制代码- [root@QCDXT-HX10 ~]# cat /usr/local/mariadb/var/mariadb.err
- 200820 10:59:31 mysqld_safe Starting mysqld daemon with databases from /usr/local/mariadb/var
- 200820 10:59:31 [Note] /usr/local/mariadb/bin/mysqld (mysqld 5.5.68-MariaDB) starting as process 6513 ...
- 200820 10:59:31 InnoDB: The InnoDB memory heap is disabled
- 200820 10:59:31 InnoDB: Mutexes and rw_locks use GCC atomic builtins
- 200820 10:59:31 InnoDB: Compressed tables use zlib 1.2.7
- 200820 10:59:31 InnoDB: Using Linux native AIO
- 200820 10:59:31 InnoDB: Initializing buffer pool, size = 4.0G
- 200820 10:59:32 InnoDB: Completed initialization of buffer pool
- 200820 10:59:32 InnoDB: highest supported file format is Barracuda.
- 200820 10:59:32 InnoDB: Starting crash recovery from checkpoint LSN=50535
- InnoDB: Restoring possible half-written data pages from the doublewrite buffer...
- 200820 10:59:32 InnoDB: Starting final batch to recover 9 pages from redo log
- 200820 10:59:32 InnoDB: Waiting for the background threads to start
- 200820 10:59:33 Percona XtraDB (http://www.percona.com) 5.5.61-MariaDB-38.13 started; log sequence number 1597945
- 200820 10:59:33 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
- 200820 10:59:33 [Note] Recovering after a crash using mysql-bin
- 200820 10:59:33 [Note] Starting crash recovery...
- 200820 10:59:33 [Note] Crash recovery finished.
- 200820 10:59:33 [Note] Server socket created on IP: '0.0.0.0'.
- 200820 10:59:33 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
- 200820 10:59:34 mysqld_safe mysqld from pid file /usr/local/mariadb/var/mariadb.pid ended
复制代码
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|