VPS侦探论坛

 找回密码
 注册
查看: 3372|回复: 3

小白上路又遇石头绊脚...请求帮助

[复制链接]
发表于 2017-2-20 10:38:45 | 显示全部楼层 |阅读模式

Shutting down MySQL.... SUCCESS!
Starting MySQL.170220 10:32:35 mysqld_safe Logging to '/usr/local/mariadb/var/mariadb.err'.
. SUCCESS!

新装lnmp已经出现这提示,不过没有影响使用一直不知道什么回事...
知道昨天才知道这是个报错,请大神们指教下,问题如何处理...

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-2-20 12:33:32 | 显示全部楼层


这是正常启动信息,而且都提示你成功了!
你从哪里知道这是报错的!?
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-2-20 12:53:07 | 显示全部楼层

回复 2# 的帖子


哦哦,这是正常启动信息来的啊~
军哥请看看报告,内含有我调数据库后不能启动的信息的...我怕怕立即调回来
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-2-20 20:28:44 | 显示全部楼层

回复 3# 的帖子




170220  0:57:39 InnoDB: The InnoDB memory heap is disabled
170220  0:57:39 InnoDB: Mutexes and rw_locks use GCC atomic builtins
170220  0:57:39 InnoDB: Compressed tables use zlib 1.2.7
170220  0:57:39 InnoDB: Initializing buffer pool, size = 2.0G
170220  0:57:39 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file /usr/local/mariadb/var/ib_logfile0 is of different size 0 268435456 bytes
InnoDB: than specified in the .cnf file 0 536870912 bytes!
InnoDB: Possible causes for this error:
(a) Incorrect log file is used or log file size is changed
(b) In case default size is used this log file is from 10.0
(c) Log file is corrupted or there was not enough disk space
In case (b) you need to set innodb_log_file_size = 48M
170220  0:57:39 [ERROR] Plugin 'InnoDB' init function returned error.
170220  0:57:39 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
170220  0:57:39 [ERROR] Unknown/unsupported storage engine: InnoDB
170220  0:57:39 [ERROR] Aborting

你修改过innodb_log_file_size参数吗?

如要修改该参数需要先正常关闭mysql,再将数据库目录下的ib_logfile0、ib_logfile1、ib_logfile2等之类的文件移动到其他目录
修改好innodb_log_file_size参数后再启动mysql
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-17 04:44 , Processed in 0.026966 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表