1.初使化asm自動存儲驅(qū)動出錯,找不到模塊
創(chuàng)新互聯(lián)主營東方網(wǎng)站建設(shè)的網(wǎng)絡(luò)公司,主營網(wǎng)站建設(shè)方案,重慶APP開發(fā),東方h5小程序開發(fā)搭建,東方網(wǎng)站營銷推廣歡迎東方等地區(qū)企業(yè)咨詢
[root@rac10g01 Desktop]# /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) [n]: yy
Invalid response: yy
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@rac10g01 ~]# tailf /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"
解決方法:
[root@rac10g01 Desktop]# find / -name oracleasm.ko
/lib/modules/2.6.9-89.35.1.EL/kernel/drivers/addon/oracleasm/oracleasm.ko
[root@rac10g01 Desktop]# insmod /lib/modules/2.6.9-89.35.1.EL/kernel/drivers/addon/oracleasm/oracleasm.ko --手動加載模塊
[root@rac10g01 Desktop]#
2.在rac節(jié)點2找不到asm磁盤
[root@rac10g01 ~]# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [ OK ]
[root@rac10g01 ~]# /etc/init.d/oracleasm listdisks
[root@rac10g01 ~]#
解決方法:
(1).關(guān)閉Selinux
(2).檢查兩個節(jié)點的磁盤順序,根據(jù)磁盤的空間大小和磁盤設(shè)備號.兩邊的順序必須一至,否則節(jié)點2檢查不到asm磁盤
3.主機(jī)名與IP地址沒有解析
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network
interface on the system should be configured with a static IP address in order for the Oracle Software to function properly.
See the Installation Guide for more details on installing the software on systems configured with DHCP.
=======================================================================
Validating ORACLE_BASE location (if set) ...
Check complete. The overall result of this check is: Passed
=======================================================================
解決方法:
[root@rac10g01 ~]# vim /etc/hosts
192.168.3.30 localhost.localdomain localhost --添加這行(兩個節(jié)點各自寫自己的IP地址)
[root@rac10g01 ~]#
4.使用系統(tǒng)認(rèn)證不能登陸(sqlplus / as sysdba)
[oracle@rac10g02 ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Nov 13 12:02:27 2016
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Enter user-name:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
解決方法:
[oracle@rac10g02 ~]$ echo $ORACLE_SID
[oracle@rac10g02 ~]$ vi /home/oracle/.bash_profile --添加ORACLE_SID變量
$ORACLE_SID=rac10g2
[oracle@rac10g02 ~]$ . /home/oracle/.bash_profile
[oracle@rac10g02 ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Nov 13 12:06:53 2016
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> exit
Disconnected
[oracle@rac10g02 ~]$
5.數(shù)據(jù)庫的sid有錯誤,創(chuàng)建數(shù)據(jù)庫寫入的sid與系統(tǒng)不一至
[oracle@rac10g01 database]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Nov 13 12:36:02 2016
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-29760: instance_number parameter not specified
SQL> exit
Disconnected
[oracle@rac10g01 database]$ export ORACLE_SID=rac10g1
[oracle@rac10g01 database]$ echo $ORACLE_SID
rac10g1
[oracle@rac10g01 database]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Nov 13 12:37:08 2016
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
SQL>
分享文章:oraclelinux4.8安裝oracl10grac錯誤解決
文章起源:http://jinyejixie.com/article22/ppeejc.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站收錄、全網(wǎng)營銷推廣、面包屑導(dǎo)航、建站公司、云服務(wù)器、移動網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)