mysql在nfs上安装的问题
来源:互联网 发布:知用电子 编辑:程序博客网 时间:2024/05/16 14:59
#/usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/var/lib/mysql/ --user=mysql --pid-file=/usr/local/mysql/data/huangshan.pid --skip-locking --port=3306 &
[1] 30596
[root@tianshan local]# InnoDB: Unable to lock ./ibdata1, error: 37
100810 13:48:30 InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
InnoDB: Unable to lock ./ibdata1, error: 37
解决办法:
InnoDB: Unable to lock ./ibdata1, error: 37
I recently faced the “error InnoDB: Unable to lock ./ibdata1, error: 37 “ while moving my data directory to NFS from local disk , when I restarted the mysql , the restart failed and I got the error in the error log , all permissions were set properly so I was not sure whats going wrong , I was sure that there is some problem with the OS not able to lock the file and it was related to NFS so I
1) /etc/init.d/portmap restart
2) /etc/init.d/nfslock restart
Restarted the mysql and it worked .
- mysql在nfs上安装的问题
- NFS在ubuntu上的安装与使用
- 在Solaris上mount Linux NFS文件系统的问题
- 在linux上创建nfs遇到的问题。
- 在Ubuntu10.10上安装 NFS Server
- 在安装NFS中会遇到的问题
- Ubuntu上NFS的安装配置,启用nfs功能
- 在NFS上的Hadoop配置
- 在NFS上的Hadoop配置
- MySQL在MacOS上的安装记录
- MySQL在ubuntu上的安装指南
- mysql在Ubuntu上的安装
- 在win8上安装mySQL的过程
- mysql在linux上的绿色安装
- MySql在windows上的安装
- MySQL在linux上的安装
- Ubuntu上nfs的安装配置
- Ubuntu上nfs的安装配置
- C语言中队const的理解(来自百度百科)
- 池的应用场景——池可以是一种阀
- JS:document.execCommand()解析 www.wordoor.com
- java反射机制与动态代理
- 多线程分析工具Mtrat使用
- mysql在nfs上安装的问题
- 11.c++-初始化列表中初始化顺序和它们在类中声明的顺序保持一致
- ASP.NET程序员应用程序域须知
- debian下xmanager的配置
- google reader shortcut
- 什么是1G, 2G, 3G, GSM, EDGE, CDMA, WCDMA, TD-SCDMA, CDMA2000
- SQL Server 的最大容量规范
- 把WinMain封装到dll里
- debian下的配置文件文件