首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

CentOS, 找不到dump,和restore命令:command not found,该怎么处理

2012-02-16 
CentOS, 找不到dump,和restore命令:command not foundrt,which dump找不到。是没有安装吗?运行环境vmware[

CentOS, 找不到dump,和restore命令:command not found
rt,
which dump
找不到。
是没有安装吗?
运行环境vmware

[解决办法]
[root@RHEL6A Packages]# which dump
/usr/bin/which: no dump in (/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@RHEL6A Packages]# which restore
/usr/bin/which: no restore in (/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@RHEL6A Packages]# rpm -Uvh dump-0.4-0.5.b42.el6.i686.rpm 
warning: dump-0.4-0.5.b42.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
rmt is needed by dump-1:0.4-0.5.b42.el6.i686
[root@RHEL6A Packages]# ls *rmt*
rmt-0.4-0.5.b42.el6.i686.rpm
[root@RHEL6A Packages]# rpm -Uvh rmt-0.4-0.5.b42.el6.i686.rpm 
warning: rmt-0.4-0.5.b42.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:rmt ########################################### [100%]
[root@RHEL6A Packages]# rpm -Uvh dump-0.4-0.5.b42.el6.i686.rpm 
warning: dump-0.4-0.5.b42.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:dump ########################################### [100%]
[root@RHEL6A Packages]# which dump
/sbin/dump
[root@RHEL6A Packages]# which restore
/sbin/restore
[root@RHEL6A Packages]#
[解决办法]

Python code
$ yum list|grep dumpdump.x86_64                                0.4b41-4.el5                installedtcpdump.x86_64                             14:3.9.4-15.el5             installedbluez-hcidump.x86_64                       1.32-1                      base     dump.x86_64                                0.4b41-5.el5                base     system-config-kdump.noarch                 1.0.14-4.el5                base     xfsdump.x86_64                             2.2.46-1.el5.centos         extras   $ yum list |grep rmtrmt.x86_64                                 0.4b41-4.el5                installedrmt.x86_64    $ yum -y install rmt dump 

热点排行