CentOS 7.4安装mariadb,启动报错
[root@iZ25b6alxstZ ~]# 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@iZ25b6alxstZ ~]# systemctl status mariadb
● mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2017-11-30 15:02:35 CST; 4min 10s ago
Process: 14055 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=1/F
Process: 14054 ExecStart=/usr/bin/mysqld_safe --basedir=/usr (code=exited, status=0/SUCCESS)
Process: 14024 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCC
Main PID: 14054 (code=exited, status=0/SUCCESS)
Nov 30 15:02:34 iZ25b6alxstZ systemd[1]: Starting MariaDB database server...
Nov 30 15:02:34 iZ25b6alxstZ mariadb-prepare-db-dir[14024]: Database MariaDB is probably initial /var/lib/mysql already, nothing is done.
Nov 30 15:02:34 iZ25b6alxstZ mysqld_safe[14054]: 171130 15:02:34 mysqld_safe Logging to '/var/lodb/mariadb.log'.
Nov 30 15:02:34 iZ25b6alxstZ mysqld_safe[14054]: 171130 15:02:34 mysqld_safe Starting mysqld daeh databases from /var/lib/mysql
Nov 30 15:02:35 iZ25b6alxstZ systemd[1]: mariadb.service: control process exited, code=exited st
Nov 30 15:02:35 iZ25b6alxstZ systemd[1]: Failed to start MariaDB database server.
Nov 30 15:02:35 iZ25b6alxstZ systemd[1]: Unit mariadb.service entered failed state.
Nov 30 15:02:35 iZ25b6alxstZ systemd[1]: mariadb.service failed.
mysql的报错日志如下:
[root@iZ25b6alxstZ ~]# grep 'ERROR' /var/log/mariadb/mariadb.log
171129 11:38:27 [ERROR] Plugin 'InnoDB' init function returned error.
171129 11:38:27 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
171129 11:38:27 [ERROR] mysqld: Out of memory (Needed 128917504 bytes)
171129 11:38:27 [ERROR] mysqld: Out of memory (Needed 96681984 bytes)
171129 11:38:27 [ERROR] Unknown/unsupported storage engine: InnoDB
171129 11:38:27 [ERROR] Aborting
根据报错信息,感觉应该是内存不够了,重启了下机器好了
[root@iZ25b6alxstZ ~]# systemctl status mariadb
● mariadb.service - MariaDB database server
Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2017-11-30 15:11:45 CST; 42s ago
Process: 1218 ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID (code=exited, status=0/SUCCESS)
Process: 1187 ExecStartPre=/usr/libexec/mariadb-prepare-db-dir %n (code=exited, status=0/SUCCESS)
Main PID: 1217 (mysqld_safe)
CGroup: /system.slice/mariadb.service
├─1217 /bin/sh /usr/bin/mysqld_safe --basedir=/usr
└─1380 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql...
Nov 30 15:11:42 iZ25b6alxstZ systemd[1]: Starting MariaDB database server...
Nov 30 15:11:42 iZ25b6alxstZ mariadb-prepare-db-dir[1187]: Database MariaDB i...
Nov 30 15:11:42 iZ25b6alxstZ mysqld_safe[1217]: 171130 15:11:42 mysqld_safe ....
Nov 30 15:11:42 iZ25b6alxstZ mysqld_safe[1217]: 171130 15:11:42 mysqld_safe ...l
Nov 30 15:11:45 iZ25b6alxstZ systemd[1]: Started MariaDB database server.
Hint: Some lines were ellipsized, use -l to show in full.
CentOS 7.4安装mariadb,启动报错的更多相关文章
- Linux安装ElasticSearch启动报错的解决方法
Linux安装ElasticSearch后,ElasticSearch是不能用root用户启动的,以root用户启动会报错Refer to the log for complete error det ...
- MySQL5.7.26安装及启动报错解决
一.安装依赖包 [root@db01 ~]# yum install -y lrzsz [文件上传/下载] [root@db01 ~]# yum -y install xfsprogs [安装磁盘格式 ...
- ubuntu 下安装 mysql 启动报错:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
环境: ubuntu LTS 18.04.1 mysql Ver 14.14 Distrib 5.7.29, for Linux (x86_64) 初探 linux,按照如下安装完mysql sudo ...
- keepalived yum安装后启动报错解决
[root@centos8 ~]yum install keepalived -y [root@centos8 ~]systemctl start keepalived.services [root@ ...
- mariadb启动报错:[ERROR] Can't start server : Bind on unix socket: Permission denied
今天mariadb总是启动不了,对于我来说是不能忍受的.然后前往日志文件查看报错信息,提示如下: 出错信息一共就这三行,没有报其他的错误.那只能从红色方框的地方开始入手了. 首先是百度去搜索原因是什么 ...
- Linux下安装Tomcat启动报错
一.报以下错误: Using CATALINA_BASE: /home/apache-tomcat-7.0.72Using CATALINA_HOME: /home/apache-tomcat ...
- pyspider安装完启动报错【connect to scheduler rpc error: error(111, 'Connection refused')】
调研爬虫框架pyspider有一段时间了,感觉已经比较成熟,跟老板申请了一台机器,打算搭一套正式环境.然而在熟悉的安装步骤过后,启动画面却是这样的: 虽然心中有疑惑,但还是熟练的百度起来.一番搜索之后 ...
- docker安装后启动报错
docker安装后启动不起来: 查看日志 /var/log/message 其中有一行为: Your kernel does not support cgroup memory limit ...
- centos安装eclise启动报错
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be avail http://blog.csdn.net/u0 ...
- cm5.9.2安装spark启动报错解决办法
[root@db02 scala-2.11.5]# spark-shell Setting default log level to "WARN". To adjust loggi ...
随机推荐
- <转载>调制与解调电路详解
原文链接:http://www.elecfans.com/analog/20120509270848_4.html 调幅和检波电路 广播和无线电通信是利用调制技术把低频声音信号加到高频信号上发射出去的 ...
- ie67 display:inline-block 失效解决方法
先将其转化为块状,在转化为inline,*号为css hcak,代表针对IE67 display: inline-block; *display: block; *display: inline;
- HDU 5687 Problem C
Problem C Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total ...
- 对soc-audio体系snd_soc_machine和snd_soc_dai_link简单理解
ASOC (ALSA system on chip) // 主要为嵌入式系统专门开发的sound管理体系结构[luther.gliethttp].Digital Audio ...
- sql server filter table name
https://stackoverflow.com/questions/26577464/how-to-find-a-table-in-sql-server-if-only-the-partial-t ...
- LR工作原理
LoadRunner的总体架构图,包括各个组件VUGen, Controller和Analysis之间的关系. LoadRunner由四大组件组成:VuGen.控制器.负载发生器和分析器. 1.VuG ...
- CoreData兼容iOS9和iOS10
由于iOS10之后CoreData Stack的更改无法在iOS9的系统中运行,所以我们需要对上一小节中封装的工具类进行系统版本的兼容 iOS9和iOS10中CoreData最本质的区别其实就是管理对 ...
- Android的三种主流资源尺寸
Android三种主流资源屏幕尺寸:QVGA.HVGA.WVGA VGA的分辨率是640x480像素 QVGA(Quarter VGA)就是320x240,即VGA分辨率的1/4 HVGA(Half ...
- 用JS或jQuery访问页面内的iframe
用JS或jQuery访问页面内的iframe,兼容IE/FF 注意:框架内的页面是不能跨域的!假设有两个页面,在相同域下.index.html 文件内含有一个iframe: <!DOCTYPE ...
- pkg-config相关
编译fuse的命令 gcc myfuse.c -o myfuse `pkg-config fuse --cflags --libs` 中的 pkg-config fuse --cflags --lib ...