Initializing the Oracle ASMLib driver: [FAILED]
Initializing the Oracle ASMLib driver: [FAILED]
[root@node1 init.d]# uname -a
Linux node1 2.6.18-53.el5xen #1 SMP Wed Oct 10 17:06:12 EDT 2007 i686 i686 i386 GNU/Linux
[root@node1 init.d]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.1 (Tikanga)
Kernel \r on an \m
安裝ASMLib包:
oracleasm-2.6.18-53.el5-2.0.4-1.el5.i686.rpm
oracleasmlib-2.0.4-1.el5.i386.rpm
oracleasm-support-2.1.3-1.el5.i386.rpm
[root@node1 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
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [root]: oracle
Default group to own the driver interface [dba]: dba
Start Oracle ASM library driver on boot (y/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]
搜尋網路報該錯以下2個原因:
1.安裝對應核心的oracleasm包,確定過了,安裝包是正確的。
2.關閉SELINUX:
[root@node1 selinux]# cat config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
也是disabled
檢視var/log下的日誌:
cat /var/log/oracleasm
Creating /dev/oracleasm mount point: /dev/oracleasm
Loading module "oracleasm": failed
Unable to load module "oracleasm"
Loading module "oracleasm": failed
Unable to load module "oracleasm"
Loading module "oracleasm": failed
Unable to load module "oracleasm"
Loading module "oracleasm": failed
Unable to load module "oracleasm"
Loading module "oracleasm": failed
Unable to load module "oracleasm"
Loading module "oracleasm": failed
Unable to load module "oracleasm"
Loading module "oracleasm": failed
......
檢視oracleasm模組:
ls /lib/modules
2.6.18-53.el5 2.6.18-53.el5xen
發現模組在/lib/modules/2.6.18-53.el5/kernel/drivers/addon/oracleasm/oracleasm.ko
然後,2.6.18-53.el5xen下面沒有oracleasm.ko模組,恰好linux執行在2.6.18-53.el5xen下。所以報找不到oracleasm模組。
於是網上再次到asmlib網站看了看,發現了包:
oracleasm-2.6.18-53.el5xen-2.0.4-1.el5.i686.rpm
難道這個el5xen包就能將oracleasm module放到2.6.18-53.el5xen下。
[root@node1 asmlib]# rpm -ivh oracleasm-2.6.18-53.el5xen-2.0.4-1.el5.i686.rpm
Preparing... ########################################### [100%]
1:oracleasm-2.6.18-53.el5########################################### [100%]
[root@node1 asmlib]# cd /etc/
[root@node1 etc]# cd init.d
[root@node1 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
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [oracle]:
Default group to own the driver interface [dba]:
Start Oracle ASM library driver on boot (y/n) [y]:
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
搞定,以前一直都是安裝的那3個包,還沒注意到xen這個包。哈哈!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-662532/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 避免Initializing the Oracle ASMLib driver: [FAILED]的方法OracleASMAI
- oracle ASM錯誤Initializing the Oracle ASMLib driver:[FAILED]OracleASMAI
- Shutting down the Oracle ASMLib driver: [ failed ]OracleASMAI
- oracle asm Unable to mount ASMlib driver filesystemOracleASM
- Failed to initialize NVML: Driver/library version mismatchAI
- Oracle ASMLib DownloadsOracleASM
- oracle asmlib下載地址OracleASM
- oracle asmlib包相關OracleASM
- CLSRSC-196: ACFS driver install actions failedAI
- Spring Boot配置錯誤:Failed to determine a suitable driver classSpring BootAIUI
- Oracle RAC asmlib包下載地址OracleASM
- kattle Driver class 'oracle.jdbc.driver.OracleDriver' could not be foundOracleJDBC
- Oracle ASM Filter Driver (ASMFD)OracleASMFilter
- asmlibASM
- 登入Oracle錯誤提示Error 6 initializing SQL*PlusOracleErrorSQL
- 【BUILD_ORACLE】使用ASMLib包搭建ASM磁碟UIOracleASM
- 12C Oracle ASM Filter DriverOracleASMFilter
- 報錯install_driver(mysql) failed: Attempt to reload DBD/mysql.pmMySqlAI
- RC-50013: Fatal: Failed to instantiate driver .../regclone.drv [ID 725995.1]AIGC
- oracle asmlib 新的下載地址 for rhel4OracleASM
- Oracle ASMLib & Red Hat Linux & Linux核心版本資訊OracleASMLinux
- 【ASM】ASMLIB 系列ASM
- UDEV替代ASMLIBdevASM
- asmlib 報錯ASM
- docker 報錯 Error response from daemon: driver failed programming external connectivity on endpoint my...DockerErrorAI
- SonicWALL Global VPN客戶端連線出現Failed to open the IPSec driver錯誤客戶端AI
- 轉載:Oracle jdbc thin driver三種格式OracleJDBC
- Linux平臺上配置Oracle ASMLib和磁碟多路徑LinuxOracleASM
- 【已解決】報錯 NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driverAI
- Initializing Spring root WebApplicationContextSpringWebAPPContext
- 【ASK_ORACLE】Oracle RAC配置ASM Filter Driver(ASMFD)(一)ASMFD簡介OracleASMFilter
- Oracle FAILED_LOGIN_ATTEMPTS 理解OracleAI
- Oracle 12c新特性--ASMFD(ASM Filter Driver)特性OracleASMFilter
- java通過jdbc連線oracle報錯No suitable driverJavaJDBCOracleUI
- Oracle 9i, 10g jdbc driver 檔案OracleJDBC
- Choosing a driver model for developing a USB client driverdevclient
- Solving ODI "Initializing Search Engine" issue
- 有關error 46 encountered when initializing ldmError