【vbox】10grac oracleasm版本错误造成的oracleasm configure[FAILED]都是版本惹的祸

版权声明:所有文章禁止转载但是均可在生产中使用提高效率 https://blog.csdn.net/viviliving/article/details/89510180

[root@rac1 oracleasm]# uname -a
Linux rac1 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

刚开始从朋友那拷贝来的oracleasm,想着直接用没问题,他都装过的(注意问题出在红色小版本号

[root@rac1 oracleasm]# ls -l
总计 900
-rwxrwxrwx 1 root root 136692 2011-12-11 oracleasm-2.6.18-238.el5xen-2.0.5-1.el5.x86_64.rpm
-rwxrwxrwx 1 root root  14176 2011-12-10 oracleasmlib-2.0.4-1.el5.x86_64.rpm
-rwxrwxrwx 1 root root  91430 2011-12-10 oracleasm-support-2.1.7-1.el5.x86_64.rpm
-rwxrwxrwx 1 root root 532109 2011-12-11 oratoolkit-1.0.2.1.5-1.noarch.rpm

一切顺利,可是

[root@rac1 ~]# /etc/init.d/oracleasm configure
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:                     [FAILED]
[root@rac1 ~]# /sbin/insmod /lib/modules/2.6.18-238.el5xen/kernel/drivers/addon/oracleasm/oracleasm.ko
insmod: error inserting '/lib/modules/2.6.18-238.el5xen/kernel/drivers/addon/oracleasm/oracleasm.ko': -1 Invalid module format

查csdn先行者经验

发现我的oracleasm版本多了个xen字母,重新下载oracleasm不带xen的

 oracleasm-2.6.18-238.el5-2.0.5-1.el5.x86_64.rpm

[root@rac2 vm]# rpm -e oracleasmlib-2.0.4-1.el5
[root@rac2 vm]# rpm -e oracleasm-2.6.18-238.el5xen-2.0.5-1.el5

[root@rac2 oracleasm]#  rpm -ivh oracleasm-2.6.18-238.el5-2.0.5-1.el5.x86_64.rpm
warning: oracleasm-2.6.18-238.el5-2.0.5-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
   1:oracleasm-2.6.18-238.el########################################### [100%]
[root@rac2 oracleasm]# rpm -ivh oracleasmlib-2.0.4-1.el5.x86_64.rpm
warning: oracleasmlib-2.0.4-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing...                ########################################### [100%]
   1:oracleasmlib           ########################################### [100%]


[root@rac2 oracleasm]# /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 <ENTER> without typing an
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  ]

猜你喜欢

转载自blog.csdn.net/viviliving/article/details/89510180
今日推荐