安装oracle 11204的rac的时候,在安装grid目录下的rpm包cvuqdisk-1.0.9-1.rpm的时候,报错:
# rpm -ivh cvuqdisk-1.0.9-1.rpm
Preparing... ########################################### [100%]
ls: cannot access /usr/sbin/smartctl: No such file or directory
/usr/sbin/smartctl not found.
error: %pre(cvuqdisk-1.0.9-1.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping cvuqdisk-1.0.9-1
解决:安装rpm包smartmontools
# yum install -y smartmontools
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.bit.edu.cn
* epel: mirrors.neusoft.edu.cn
* extras: mirrors.yun-idc.com
* updates: mirrors.163.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package smartmontools.x86_64 1:5.43-1.el6 will be installed
--> Processing Dependency: mailx for package: 1:smartmontools-5.43-1.el6.x86_64
--> Running transaction check
---> Package mailx.x86_64 0:12.4-8.el6_6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================
Installing:
smartmontools x86_64 1:5.43-1.el6 base 439 k
Installing for dependencies:
mailx x86_64 12.4-8.el6_6 base 235 k
Transaction Summary
==============================================================================================================================================================
Install 2 Package(s)
Total download size: 674 k
Installed size: 1.9 M
Downloading Packages:
http://mirror.bit.edu.cn/centos/6.8/os/x86_64/Packages/mailx-12.4-8.el6_6.x86_64.rpm: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror.bit.edu.cn'"
Trying other mirror.
(1/2): mailx-12.4-8.el6_6.x86_64.rpm | 235 kB 00:00
(2/2): smartmontools-5.43-1.el6.x86_64.rpm | 439 kB 00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 74 kB/s | 674 kB 00:09
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : mailx-12.4-8.el6_6.x86_64 1/2
Installing : 1:smartmontools-5.43-1.el6.x86_64 2/2
Verifying : 1:smartmontools-5.43-1.el6.x86_64 1/2
Verifying : mailx-12.4-8.el6_6.x86_64 2/2
Installed:
smartmontools.x86_64 1:5.43-1.el6
Dependency Installed:
mailx.x86_64 0:12.4-8.el6_6
Complete!
You have new mail in /var/spool/mail/root
# rpm -ivh cvuqdisk-1.0.9-1.rpm
Preparing... ########################################### [100%]
Using default group oinstall to install package
1:cvuqdisk ########################################### [100%]