免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6260 | 回复: 7
打印 上一主题 下一主题

【已解决】mysql启动失败 启动日志如下 望大虾教我如何解决 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-10-22 17:58 |只看该作者 |倒序浏览
本帖最后由 chinafenghao 于 2013-11-01 11:05 编辑

如题

[root@localhost Desktop]# tail -n 20 /var/log/mysqld.log
131022  2:03:06  InnoDB: Completed initialization of buffer pool
131022  2:03:06  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
131022 02:03:06 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
131022 02:06:41 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
/usr/libexec/mysqld: Table 'mysql.plugin' doesn't exist
131022  2:06:41 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
131022  2:06:41  InnoDB: Initializing buffer pool, size = 8.0M
131022  2:06:41  InnoDB: Completed initialization of buffer pool
131022  2:06:41  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
131022 02:06:41 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

论坛徽章:
2
酉鸡
日期:2014-02-19 09:11:08摩羯座
日期:2014-05-23 10:16:16
2 [报告]
发表于 2013-10-22 17:59 |只看该作者
库没有安装吧,重新执行下库的install脚本

论坛徽章:
0
3 [报告]
发表于 2013-10-22 18:08 |只看该作者
运行 make install 后 有这样的提示

/usr/bin/install: 无法获取"./t/*.disabled" 的文件状态(stat): 没有那个文件或目录
make[4]: [install-data-local] 错误 1 (忽略)

论坛徽章:
0
4 [报告]
发表于 2013-10-22 18:12 |只看该作者
来人帮看下啊 急啊。

论坛徽章:
0
5 [报告]
发表于 2013-10-22 18:20 |只看该作者
/usr/bin/install -c -m 644 ./README /usr/local/mysql/mysql-test
/usr/bin/install -c -m 644 ./t/*.def /usr/local/mysql/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.test /usr/local/mysql/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.imtest /usr/local/mysql/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.sql /usr/local/mysql/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.disabled /usr/local/mysql/mysql-test/t
/usr/bin/install: 无法获取"./t/*.disabled" 的文件状态(stat): 没有那个文件或目录
make[4]: [install-data-local] 错误 1 (忽略)
/usr/bin/install -c -m 644 ./t/*.opt /usr/local/mysql/mysql-test/t
/usr/bin/install -c ./t/*.sh /usr/local/mysql/mysql-test/t
/usr/bin/install -c -m 644 ./t/*.slave-mi /usr/local/mysql/mysql-test/t
/usr/bin/install -c -m 644 ./r/*.result /usr/local/mysql/mysql-test/r
/usr/bin/install -c -m 644 ./r/*.require /usr/local/mysql/mysql-test/r
/usr/bin/install -c -m 644 ./include/*.inc /usr/local/mysql/mysql-test/include
/usr/bin/install -c -m 644 ./include/*.test /usr/local/mysql/mysql-test/include
/usr/bin/install -c -m 644 ./std_data/*.dat /usr/local/mysql/mysql-test/std_data
/usr/bin/install -c -m 644 ./std_data/*.*001 /usr/local/mysql/mysql-test/std_data

论坛徽章:
0
6 [报告]
发表于 2013-10-22 18:36 |只看该作者
坐等高人 坐等高人

论坛徽章:
39
辰龙
日期:2013-08-21 15:45:192015亚冠之广州富力
日期:2015-05-12 16:34:52亥猪
日期:2015-03-03 17:22:00申猴
日期:2015-03-03 17:21:37未羊
日期:2014-10-10 13:45:41戌狗
日期:2014-06-17 09:53:29巨蟹座
日期:2014-06-12 23:17:17双鱼座
日期:2014-06-10 12:42:44寅虎
日期:2014-06-09 12:52:172015亚冠之卡尔希纳萨夫
日期:2015-05-24 15:24:35黄金圣斗士
日期:2015-12-02 17:25:0815-16赛季CBA联赛之吉林
日期:2017-06-24 16:43:52
7 [报告]
发表于 2013-10-22 21:14 |只看该作者
回复 1# moting1a

    看看这个贴子:
    http://bbs.chinaunix.net/thread-1377086-1-1.html

论坛徽章:
8
CU大牛徽章
日期:2013-09-18 15:20:48CU大牛徽章
日期:2013-09-18 15:20:58CU大牛徽章
日期:2013-09-18 15:21:06CU大牛徽章
日期:2013-09-18 15:21:12CU大牛徽章
日期:2013-09-18 15:21:17天秤座
日期:2013-10-30 14:01:03摩羯座
日期:2013-11-29 18:02:31luobin
日期:2016-06-17 17:46:36
8 [报告]
发表于 2013-11-01 11:03 |只看该作者
@moting1a

没有执行mysql_install_db操作
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP