免费注册 查看新帖 |

Chinaunix

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

-bash: /usr/bin/top: Input/output error? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-18 13:04 |只看该作者 |倒序浏览
系统环境ubuntu+php+mysql+apache(带桌面)
机器在IDC机房,今天SSH过去,top的时候-bash: /usr/bin/top: Input/output error

  1. root@ddublinuxmcu04:~# top
复制代码

光标一直在下一行闪烁,-bash: /usr/bin/top: Input/output error这个报错信息要过1分钟左右才出来,不是CPU或者是内存被全部消耗干净才这么慢的呢?

还有vi ,mkdir等命令都这样,ls,cd命令正常

请大家发表意见

[ 本帖最后由 Linuxcn.com 于 2006-9-18 13:56 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-09-18 14:10 |只看该作者
顶一下

论坛徽章:
0
3 [报告]
发表于 2006-09-18 14:11 |只看该作者
估计是磁盘或者文件系统出了问题。

论坛徽章:
0
4 [报告]
发表于 2006-09-18 14:27 |只看该作者
原帖由 bzbt 于 2006-9-18 14:11 发表
估计是磁盘或者文件系统出了问题。


磁盘应该不会有问题,文件系统出问题可能性比较大

但为什么会这样呢?被攻击了吗

论坛徽章:
0
5 [报告]
发表于 2006-09-18 15:11 |只看该作者
遇到这样的情况该怎么办呢?

论坛徽章:
0
6 [报告]
发表于 2006-09-18 15:42 |只看该作者
看看系统日志有提醒不?

论坛徽章:
0
7 [报告]
发表于 2006-09-18 15:49 |只看该作者
原帖由 zhangzhu1984 于 2006-9-18 15:42 发表
看看系统日志有提醒不?

cat /var/log/syslog:
  1. Sep 14 00:38:35 localhost kernel: [4344245.462000] ata2: command 0x35 timeout, stat 0xd0 host_stat 0x41
  2. Sep 14 00:38:35 localhost kernel: [4344245.462000] ata2: translated ATA stat/err 0x35/00 to SCSI SK/ASC/ASCQ 0x4/00/00
  3. Sep 14 00:38:35 localhost kernel: [4344245.462000] ata2: status=0x35 { DeviceFault SeekComplete CorrectedError Error }
  4. Sep 14 00:38:35 localhost kernel: [4344245.462000] SCSI error : <1 0 1 0> return code = 0x8000002
  5. Sep 14 00:38:35 localhost kernel: [4344245.462000] sda: Current: sense key: Hardware Error
  6. Sep 14 00:38:35 localhost kernel: [4344245.462000]     Additional sense: No additional sense information
  7. Sep 14 00:38:35 localhost kernel: [4344245.462000] end_request: I/O error, dev sda, sector 141415
  8. Sep 14 00:38:35 localhost kernel: [4344245.462000] ATA: abnormal status 0xD0 on port 0x177
  9. Sep 14 00:38:35 localhost last message repeated 2 times
  10. Sep 14 00:39:05 localhost kernel: [4344275.462000] ata2: command 0x35 timeout, stat 0xd0 host_stat 0x41
  11. Sep 14 00:39:05 localhost kernel: [4344275.462000] ata2: translated ATA stat/err 0x35/00 to SCSI SK/ASC/ASCQ 0x4/00/00
  12. Sep 14 00:39:05 localhost kernel: [4344275.462000] ata2: status=0x35 { DeviceFault SeekComplete CorrectedError Error }
  13. Sep 14 00:39:05 localhost kernel: [4344275.462000] SCSI error : <1 0 1 0> return code = 0x8000002
  14. Sep 14 00:39:05 localhost kernel: [4344275.462000] sda: Current: sense key: Hardware Error
  15. Sep 14 00:39:05 localhost kernel: [4344275.462000]     Additional sense: No additional sense information
  16. Sep 14 00:39:05 localhost kernel: [4344275.462000] end_request: I/O error, dev sda, sector 141423
  17. Sep 14 00:39:05 localhost kernel: [4344275.462000] ATA: abnormal status 0xD0 on port 0x177
  18. Sep 14 00:39:05 localhost last message repeated 2 times
  19. Sep 14 00:39:35 localhost kernel: [4344305.462000] ata2: command 0x35 timeout, stat 0xd0 host_stat 0x41
  20. Sep 14 00:39:35 localhost kernel: [4344305.462000] ata2: translated ATA stat/err 0x35/00 to SCSI SK/ASC/ASCQ 0x4/00/00
  21. Sep 14 00:39:35 localhost kernel: [4344305.462000] ata2: status=0x35 { DeviceFault SeekComplete CorrectedError Error }
  22. Sep 14 00:39:35 localhost kernel: [4344305.462000] SCSI error : <1 0 1 0> return code = 0x8000002
复制代码


hardware error?sda?不大可能啊,硬盘是SATA方式的,可以肯定硬盘都是好的啊

[ 本帖最后由 Linuxcn.com 于 2006-9-18 15:51 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP