asmlib 報錯

netwant發表於2011-08-17
oracle asmlib[@more@]
今天配置asm的時候出錯了,記得以前也出過錯,但是忘了怎麼解決的了。現在又想起了記錄一下。
[root@rac1 ~]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [FAILED]
[root@rac1 ~]# uname -r
2.6.18-164.el5
ls -l
-rw-r--r-- 1 root root 137515 Aug 17 10:32 oracleasm-2.6.18-164.15.1.el5-2.0.5-1.el5.x86_64.rpm
-rw-r--r-- 1 root root 136910 Aug 17 10:57 oracleasm-2.6.18-164.el5-2.0.5-1.el5.x86_64.rpm
-rw-r--r-- 1 root root 14176 Aug 17 10:32 oracleasmlib-2.0.4-1.el5.x86_64.rpm
-rw-r--r-- 1 root root 91430 Aug 17 10:32 oracleasm-support-2.1.7-1.el5.x86_64.rpm

後仔細看,原來是我的kernel是2.6.18-164.el5,下載的卻是oracleasm-2.6.18-164.15.1.el5,應該下載oracleasm-2.6.18-164.el5。
下面是asmlib的下載地址:
現在看來是由於粗心和不理解造成的。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/309902/viewspace-1053964/,如需轉載,請註明出處,否則將追究法律責任。

相關文章