在redhat6.3 安装oracle 11.2.0.1遇到的错误
在redhat6.3 安裝oracle 11.2.0.1遇到的錯誤:
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device
ohasd failed to start at/u01/app/11.2.0/grid/crs/install/rootcrs.pl line 443.
---------------------------------------------------------------------------
看到 http://blog.csdn.net/meteorlet/article/details/8363745
的解決方法
但我安裝后面還有有錯誤,后來只好放棄了,使用了REDHAT5.8的版本來安裝,
這個BUG不管了。
(據說是因為ORACLE11.2.0.1 不支持REDHAT6的原因,有ORACLE11.2.0.3 已解決此問題,但咱們沒錢。。。。。買,
有錢了我買兩套,,,,用一套,,,,,
另一套賣了)
安裝環境: REDHAT6.3 +ORACLE11.2.0.1
存儲器: DELL MD3600I,
使用UDEV 配置存儲器,(也有可能問題出在這里)
在執行/u01/app/11.2.0/grid/root.sh腳本的時候開2個root的shell窗口,一個用來執行腳本,一個用來監控/var/tmp/.oracle/npohasd文件,看到就用root立即執行命令:
/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
?
?
[root@rac1 oracle]#/u01/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
profile reader peer cert TP
?peer user cert
? pauser cert
?
解決方法:
chown root:oinstall /var/tmp/.oracle/npohasd
/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
--------注意-------------
看到root.sh 執行到這里的時候,我們就可以在另一個窗口不斷的刷我們的dd命令了,如果有更好的方法也可以,我這里是這么操作的:
[root@rac1 ~]# /bin/ddif=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
/bin/dd: opening`/var/tmp/.oracle/npohasd': No such file or directory
[root@rac1 ~]# /bin/ddif=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
/bin/dd: opening`/var/tmp/.oracle/npohasd': No such file or directory
[root@rac1 ~]# /bin/ddif=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
/bin/dd: opening`/var/tmp/.oracle/npohasd': No such file or directory
[root@rac1 ~]# /bin/ddif=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
/bin/dd: opening`/var/tmp/.oracle/npohasd': No such file or directory
[root@rac1 ~]# /bin/ddif=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
/bin/dd: opening`/var/tmp/.oracle/npohasd': No such file or directory
You have new mail in /var/spool/mail/root
-------------------------------------------------------------------
后面的錯誤:
[root@rac1 ~]# /opt/app/grid/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
??? ORACLE_OWNER= grid
??? ORACLE_HOME=? /opt/app/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]: y
Creating y directory...
?? Copying dbhome to y ...
?? Copying oraenv to y ...
?? Copying coraenv to y ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2013-03-27 18:07:58: Parsing the host name
2013-03-27 18:07:58: Checking for super user privileges
2013-03-27 18:07:58: User has super user privileges
Using configuration parameter file: /opt/app/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
? root wallet
? root wallet cert
? root cert export
? peer wallet
? profile reader wallet
? pa wallet
? peer wallet keys
? pa wallet keys
? peer cert request
? pa cert request
? peer cert
? pa cert
? peer root cert TP
? profile reader root cert TP
? pa root cert TP
? peer pa cert TP
? pa peer cert TP
? profile reader pa cert TP
? profile reader peer cert TP
? peer user cert
? pa user cert
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
ADVM/ACFS is not supported on redhat-release-server-6Server-6.3.0.3.el6.x86_64
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
Creation of ASM spfile in diskgroup failed. Following error occured: ORA-29783: GPnP attribute SET failed with error [CLSGPNP_NOT_FOUND]
Configuration of ASM failed, see logs for details
Did not succssfully configure and start ASM
CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /opt/app/grid/bin/crsctl stop resource ora.crsd -init
Stop of resource "ora.crsd -init" failed
Failed to stop CRSD
CRS-2673: Attempting to stop 'ora.asm' on 'rac1'
CRS-2677: Stop of 'ora.asm' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac1'
CRS-2677: Stop of 'ora.ctssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac1'
CRS-2677: Stop of 'ora.cssd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac1'
CRS-2677: Stop of 'ora.gpnpd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac1'
CRS-2677: Stop of 'ora.gipcd' on 'rac1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac1'
CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded
Initial cluster configuration failed.? See /opt/app/grid/cfgtoollogs/crsconfig/rootcrs_rac1.log for details
總結
以上是生活随笔為你收集整理的在redhat6.3 安装oracle 11.2.0.1遇到的错误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 安装ORACLE RAC时,用到的一些小
- 下一篇: 搞大了,修改一个参数后重启数据库服务器出