/usr/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
来源:互联网 发布:windows 网络监控 编辑:程序博客网 时间:2024/06/02 15:08
150214 00:19:30 mysqld_safe Starting mysqld daemon with databases from /data/mysql
150214 0:19:30 [Warning] Can't create test file /data/mysql/localhost.lower-test
150214 0:19:30 [Warning] Can't create test file /data/mysql/localhost.lower-test
/usr/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
150214 0:19:30 [ERROR] Aborting
150214 0:19:30 [Note] /usr/libexec/mysqld: Shutdown complete
150214 00:19:30 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
150214 00:21:52 mysqld_safe Starting mysqld daemon with databases from /data/mysql
150214 0:21:52 [Warning] Can't create test file /data/mysql/localhost.lower-test
150214 0:21:52 [Warning] Can't create test file /data/mysql/localhost.lower-test
/usr/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
150214 0:21:52 [ERROR] Aborting
150214 0:19:30 [Warning] Can't create test file /data/mysql/localhost.lower-test
150214 0:19:30 [Warning] Can't create test file /data/mysql/localhost.lower-test
/usr/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
150214 0:19:30 [ERROR] Aborting
150214 0:19:30 [Note] /usr/libexec/mysqld: Shutdown complete
150214 00:19:30 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
150214 00:21:52 mysqld_safe Starting mysqld daemon with databases from /data/mysql
150214 0:21:52 [Warning] Can't create test file /data/mysql/localhost.lower-test
150214 0:21:52 [Warning] Can't create test file /data/mysql/localhost.lower-test
/usr/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
150214 0:21:52 [ERROR] Aborting
150214 0:21:52 [Note] /usr/libexec/mysqld: Shutdown complete
提示./mysql-bin.index无法找到(由于mysql开启了bin日志功能),到数据库根目录查看该文件是存在的,可能是文件权限的问题,查看了数据库根目录的权限是700,所有者和用户组都是root,可能是上次转移数据库的时候不小心修改了文件夹的权限。
解决方法:
chown -R mysql.mysql /data/mysql
重启还是报一样的错,各种折腾,最后定位问题selinux害死人……
0 0
- /usr/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
- mysqld: File './mysql-bin.index' not found (Errcode: 13
- [ERROR] mysqld: File './mysql-bin.~rec~' not found (Errcode: 13)解决方法
- MySQL 启动报错File .mysql-bin.index not found (Errcode 13)
- MySQL不能启动 mysql-bin.index' not found (Errcode: 13)
- MySQL不能启动 mysql-bin.index' not found (Errcode: 13)
- mysql5.5 启动报错:File './mysql-bin.index' not found (Errcode: 13)
- mysql5.5 启动报错:File './mysql-bin.index' not found (Errcode: 13)
- ./mysql-bin.index' not found (Errcode: 13) 的解决方法
- './mysql-bin.index' not found (Errcode: 13) 的解决方法
- './mysql-bin.index' not found (Errcode: 13) 的解决方法
- /usr/libexec/mysqld: Can’t create/write to file ‘/tmp/’ (Errcode: 13)
- 【Errcode:13-Permission denied】mysqlbinlog:File'/var/log/mysql/mysql-bin.000001' not found解决方案
- /usr/libexec/mysqld: Can't change dir to '/xxx' (Errcode: 13) 解决
- mysql 启动报错 /usr/local/mysql//libexec/mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid'
- mysqld_safe启动报错 mysqld_safe The file /usr/local/mysql/bin/mysqld does not exist or is not executable
- Mysql [ERROR] /usr/sbin/mysqld: Can't create/write to file '/xxx/mysqld/mysql.pid' (Errcode: 2) 处理
- usr/libexec/mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid
- Ssh隧道技术
- 如何编写程序设置Android来电铃声
- java阿里云缓存机制配置
- error C3861: “setw”: 找不到标识符;error C3861:'setw': identifier not found
- Linux权限描述解读
- /usr/libexec/mysqld: File './mysql-bin.index' not found (Errcode: 13)
- 使用wmi引起的 System.UnauthorizedAccessException:拒绝访问
- JAVA连接Oracle两种方式
- svn客户端异常处理:authorization failed
- 三分算法
- HD 1166 —— 敌兵布阵 线段树 或 树状数组
- MyEclipse快速import
- C语言的分支结构的学习
- ACM--steps--3.2.7--免费馅饼