免费注册 查看新帖 |

Chinaunix

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

mysql服务无法启动,一启动就自动停止 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-28 15:27 |只看该作者 |倒序浏览
如题,系统为redhat  linux 9.0
系统原来自带安装了一个mysql,后来又安装 了 myql5.0.18,
然后启动myql5.0.18服务,无法启动,一启动就自动停止。
[root@localhost bin]# /usr/local/mysql-5.0.18/bin/mysqld_safe
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
080428 15:20:43  mysqld ended

查看/var/lib/mysql/localhost.localdomain.err的错误信息
080428 15:20:43  mysqld started
080428 15:20:43  InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
080428 15:20:43  InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 36808.
InnoDB: Doing recovery: scanned up to log sequence number 0 43655
080428 15:20:43  InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
080428 15:20:43  InnoDB: Started; log sequence number 0 43655
080428 15:20:43 [ERROR] /usr/local/mysql-5.0.18/libexec/mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 2)
080428 15:20:43 [ERROR] Can't start server: can't create PID file: No such file or directory
080428 15:20:43  mysqld ended

论坛徽章:
0
2 [报告]
发表于 2008-06-19 12:20 |只看该作者
停电了吧?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP