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 ...
随机推荐
- mongo 原理 Replica Set Oplog
[客户的写请求全部发送至主节点] Primary. The primary receives all write operations. Secondaries. Secondaries replic ...
- Hadoop 文件压缩
一.目的 a. 减小磁盘占用 b. 加速网络IO 二.几个常用压缩算法 是否可切分:是指压缩后的文件能否支持在任意位置往后读取数据. 各种压缩格式特点: 压缩算法都需要权衡 空间/时间 :压缩率越高, ...
- 使用sql compare生成的sql语句
创建表以及主键 判断表是否存在 OBJECT_ID 判断主键是否存在 SELECT 1 FROM sys.indexes WHERE name = N'PK_LISA_NoUseWebpartRepl ...
- YTU 2456: 评委打分
2456: 评委打分 时间限制: 1 Sec 内存限制: 128 MB 提交: 283 解决: 52 题目描述 一个歌唱比赛,比赛每次会从观众中随即抽取几名观众给分(观众至少有5个,分数为0~1 ...
- 转:Apache-Tomcat各发布包说明
下载地址:http://tomcat.apache.org/发布包说明: apache-tomcat-[version].zip---------------------------基本发布包.这些发 ...
- pkg-config相关
编译fuse的命令 gcc myfuse.c -o myfuse `pkg-config fuse --cflags --libs` 中的 pkg-config fuse --cflags --lib ...
- linux--安装phpcurl扩展
在UBUNTU中直接用APT包管理工具安装: apt-get install curl libcurl3 libcurl3-dev php5-curl 安装好后重启Apache服务器就行了,如果还是不 ...
- CMake学习记录--list(列表操作命令)
CMake是一个跨平台的工程管理工具,能方便的把工程转换为vs各个版本.Borland Makefiles.MSSYS Makefiles.NMake Makefiles等工程,对于经常在不同IDE下 ...
- 如何在Centos7上安装&使用docker
Docker 是一个开源工具,它可以让创建和管理 Linux 容器变得简单.容器就像是轻量级的虚拟机,并且可以以毫秒级的速度来启动或停止.Docker 帮助系统管理员和程序员在容器中开发应用程序,并且 ...
- 【212】HDF更新数据&HDF创建
HDF更新数据:对原有HDF数据进行数据更新,不破坏HDF的数据结构 pro add_data_sst ;实现将SST增加1度,再将结果更新到SST中 ;1. 获取SST索引 ;2. 通过索引获取ID ...