ASM 模組安裝與作業系統核心版本問題
配置ASM 出錯:
[root@standby tmp]# /etc/init.d/oracleasm config
Usage: /etc/init.d/oracleasm {start|stop|restart|enable|disable|configure|createdisk|deletedisk|querydisk|listdisks|scandisks|status}
[root@standby tmp]# /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
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 [oinstall]:
Start Oracle ASM library driver on boot (y/n) [y]:
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": Unable to load module "oracleasm"
[FAILED]
因為 核心版本是2.6.9-42.0.0.0.1.ELsmp, 而當前的ASM 版本是oracleasm-2.6.9-42.0.0.0.1.EL,不匹配。
[root@standby 2.6.9-42.0.0.0.1.EL]# rpm -qa | grep -i asm
ibmasm-3.0-7
oracleasm-2.6.9-42.0.0.0.1.EL-2.0.3-2
oracleasmlib-2.0.2-1
oracleasm-support-2.0.3-2
[root@standby 2.6.9-42.0.0.0.1.EL]# uname -a
Linux standby 2.6.9-42.0.0.0.1.ELsmp #1 SMP Sun Oct 15 14:02:40 PDT 2006 i686 i686 i386 GNU/Linux
然後安裝oracleasm-2.6.9-42.0.2.ELsmp-2.0.3-1.i686.rpm 也不成功,因為核心版本是2.6.9-42.0.0.0.1.ELsmp 而非oracleasm-2.6.9-42.0.2.ELsmp 所以也安裝不上。
[root@standby 2.6.9-42.0.0.0.1.EL]# rpm -ivh /tmp/oracleasm-2.6.9-42.0.2.ELsmp-2.0.3-1.i686.rpm
error: Failed dependencies:
kernel-smp = 2.6.9-42.0.2.EL is needed by oracleasm-2.6.9-42.0.2.ELsmp-2.0.3-1.i6
--既然oracle linux, 會提供ASM的支援,那麼一定會有對應該作業系統的ASM 模組。在安裝光碟第三章盤上找到對應核心版本的ASM模組:
[root@standby RPMS]# rpm -ivh oracleasm-2.6.9-42.0.0.0.1.ELsmp-2.0.3-2.i686.rpm
warning: oracleasm-2.6.9-42.0.0.0.1.ELsmp-2.0.3-2.i686.rpm: V3 DSA signature: NOKEY, key ID b38a8516
Preparing... ########################################### [100%]
1:oracleasm-2.6.9-42.0.0.########################################### [100%]
重新配置ASM 模組: 就能配置成功了。
[root@standby RPMS]# rpm -ivh oracleasm-2.6.9-42.0.0.0.1.ELsmp-2.0.3-2.i686.rpm
warning: oracleasm-2.6.9-42.0.0.0.1.ELsmp-2.0.3-2.i686.rpm: V3 DSA signature: NOKEY, key ID b38a8516
Preparing... ########################################### [100%]
1:oracleasm-2.6.9-42.0.0.########################################### [100%]
[root@standby RPMS]# /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
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 [oinstall]:
Start Oracle ASM library driver on boot (y/n) [y]:
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks:
[ OK ]
可以檢視模組:
[root@standby RPMS]# lsmod | grep -i asm
oracleasm 48020 1
或者:
[root@standby oracleasm]# pwd
/lib/modules/2.6.9-42.0.0.0.1.ELsmp/kernel/drivers/addon/oracleasm
[root@standby oracleasm]# ls -l
total 352
-rw-r--r-- 1 root root 349666 Oct 25 2006 oracleasm.ko
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/674865/viewspace-704301/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE11.2.0.4 RAC+ ASM安裝方法 (作業系統CENTOS7.6)OracleASM作業系統CentOS
- Linux作業系統網路模組Linux作業系統
- 深入淺析Nodejs的安裝方法與模組系統NodeJS
- RedHat 7.6作業系統安裝Redhat作業系統
- Windows 11 作業系統安裝方法Windows作業系統
- Python安裝cx_Oracle模組遇到的問題PythonOracle
- 概述nodejs模組系統核心原理NodeJS
- Linux系統下mysql 5.7.31 glic版本安裝一些問題整理LinuxMySql
- 作業系統核心結構作業系統
- 作業-安裝虛擬機器以及CentOS作業系統虛擬機CentOS作業系統
- 在Ubuntu作業系統裡安裝DockerUbuntu作業系統Docker
- Linux作業系統中安裝VMware ToolsLinux作業系統
- 實戰-使用 Cobbler 安裝作業系統作業系統
- Powershell 命令列安裝 Windows 作業系統命令列Windows作業系統
- Python 模組的製作,釋出,安裝Python
- Git版本控制系統安裝Git
- window 作業系統,安裝 mongodb.zip 包作業系統MongoDB
- Windows作業系統安裝MySQL解壓版Windows作業系統MySql
- 【git】Ubuntu作業系統上安裝Git LFSGitUbuntu作業系統
- 國產作業系統deepin安裝與配置Node-RED環境作業系統
- Ubuntu 18.04.6 TLS版本安裝docker問題UbuntuTLSDocker
- Redis在Windows作業系統的各版本安裝包(壓縮包)下載地址RedisWindows作業系統
- 1.6.4.1. 作業系統組作業系統
- Python paramiko模組的安裝與使用Python
- 國產處理器伺服器作業系統安裝(海之舟伺服器作業系統安裝說明)伺服器作業系統
- solaries作業系統安裝64位JDK1.6作業系統JDK
- 樹莓派作業系統安裝和啟動樹莓派作業系統
- RAID磁碟硬陣列及安裝作業系統AI陣列作業系統
- 天兔(Lepus)監控作業系統(OS)安裝配置作業系統
- 【docker專欄2】CentOS作業系統安裝DockerCEDockerCentOS作業系統
- CentOS 7.8作業系統安裝(用於生產)CentOS作業系統
- 分散式系統的核心問題分散式
- python 模組安裝Python
- PyMySQL模組安裝MySql
- Python模組安裝Python
- 如何檢視Linux作業系統版本?Linux作業系統
- 作業系統與Linux作業系統Linux
- 作業系統封裝操作作業系統封裝
- 作業系統裝置管理作業系統