linux - centos6.5的yum报错: Input/output error

标签 linux yum centos6.5

当我运行 yum 命令时:

> yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/lib64/python2.6/lib-dynload/arraymodule.so: cannot read file data: Input/output error

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jul 23 2015, 15:22:56)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]

Python当前版本是2.6.6,不是其他。

系统日志:

Oct 16 09:56:50 localhost kernel: mptbase: ioc0: LogInfo(0x31080000): Originator={PL}, Code={SATA NCQ Fail All Commands After Error}, SubCode(0x0000) cb_idx mptscsih_io_done
Oct 16 09:56:50 localhost kernel: LSI Debug log info 31080000 for channel 0 id 0
Oct 16 09:56:50 localhost kernel: mptbase: ioc0: LogInfo(0x31080000): Originator={PL}, Code={SATA NCQ Fail All Commands After Error}, SubCode(0x0000) cb_idx mptscsih_io_done
Oct 16 09:56:50 localhost kernel: LSI Debug log info 31080000 for channel 0 id 0
Oct 16 09:56:50 localhost kernel: sd 6:0:0:0: [sda]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Oct 16 09:56:50 localhost kernel: sd 6:0:0:0: [sda]  Sense Key : Medium Error [current]
Oct 16 09:56:50 localhost kernel: Info fld=0x4d59fc8
Oct 16 09:56:50 localhost kernel: sd 6:0:0:0: [sda]  Add. Sense: Unrecovered read error
Oct 16 09:56:50 localhost kernel: sd 6:0:0:0: [sda] CDB: Read(10): 28 00 04 d5 9f c8 00 00 08 00
Oct 16 09:56:50 localhost kernel: end_request: critical medium error, dev sda, sector 81108936

谁知道怎么修?谢谢!

最佳答案

输入/输出错误 表示您的系统无法读取该文件。您的日志表明硬盘驱动器出现故障。如果必须,请通过 RPM 重新安装 yum,但最终备份您的关键数据并抢救存储阵列。

关于linux - centos6.5的yum报错: Input/output error,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46762004/

相关文章:

python - 证书未到期更新,但模拟更新以进行试运行

C++ 获取 linux 发行版名称\版本

c - 将管道从文件重定向到屏幕linux c

mono - 使用 Yum 在 CentOS 上安装 Mono 和 mod_mono

php - CentOS 6.7 php 5.6 Chef

django - 权限被拒绝访问静态文件 Nginx +uwsgi +Django

java - 在自己的假文件系统中运行 Java 应用程序

c - 杀死 bash 和子进程

gcc - 存储库链接在 CentOS 6 中不起作用 yum.conf

build - 即使是降级,我如何强制 yum 安装?