Oracle RAC 安裝總結

ysjxjf發表於2009-04-15
Oracle 10G + linux + ASM
[@more@]
1 , CRS 的安裝
1) 在安裝最後,兩個節點執行完相關指令碼後,先不要點 OK , 先在 第二個節點以 root 使用者 vipca ; /u01/crs1020/bin/vipca . 配置完成後,再去第一個節點,點 OK 。
2 ,刪除 CRS 安裝
1) /etc/init.d 中先刪除最後三行 ( evmd , ocssd , crsd )
2) 重啟兩主機
3) 刪除 /etc/oracle
4) 刪除安裝目錄中所有的檔案
3 ,常用命令
1) /u01/crs1020/bin/crsctl check crs
2) /u01/crs1020/bin/crsctl query
[root@host1 bin]# ./crsctl query css votedisk
0. 0 /dev/raw/raw1
located 1 votedisk(s).
[root@host1 bin]#
3) /u01/crs1020/bin/crsctl start|stop crs
4) crs_stat -t
Add Nodes :

[oracle@host3 admin]$ lsnrctl start LISTENER_HOST3
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 16-APR-2009 21:10:16
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u02/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
對於以上錯誤的處理:
解決情況一:

有老外說 ,
check /etc/hosts for
127.0.0.1 localhost

It was missing on my Linux. Now Listener works OK.

一般什麼人會幹掉這行呢?

我看了看我機子上這一行在。一定不是這個問題 。

另一個老外說:

I had exactly the same problem after installing OracleXE on Linux where an Apache server was

already installed. If I rebooted then all was well until I tried to restart the listener.

I decided to trace the listener and added the line TRACE_LEVEL_LISTENER = 16 to the

listener.ora file and suddenly the listener started. If you turn off tracing the listener

will fail to start. Setting tracing to the smallest value still allows the listener to

start!

Hope this helps!
我試了試——

居然OK了

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/66634/viewspace-1020611/,如需轉載,請註明出處,否則將追究法律責任。

相關文章