aix5.3上安裝oracle10gR2 asm

haozg_oracle發表於2012-02-14
今天公司伺服器上的資料庫由於斷電不能正常啟動,需要做介質恢復,但是歸檔日誌已經被其他人員刪掉,好在這是測試伺服器沒有重要資料,只好重灌資料了。在安裝的過程中執行 root.sh j指令碼時出現如下錯誤:



Adding to inittab
Startup will be queued to init within 30 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.



Giving up: Oracle CSS stack appears NOT to be running.
Oracle CSS service would not start as installed
Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started

解決方法如下:
# rm -f /usr/tmp/.oracle/*

# rm -f /tmp/.oracle/*

# rm -f /var/tmp/.oracle/*

#cd $ORACLE_HOME/bin

#./localconfig delete

#./localconfig add

#/etc/init.cssd run &

在單節點上使用ASM是不需要安裝CRS的,但使用ASM就一定要CSS的支援,CSS在安裝DATABASE的時候已經預設安裝,只需要配置就行了。  出現錯誤原因是我沒有徹底解除安裝乾淨oracle

# ./root.sh
Running Oracle10 root.sh script...

The following environment variables are set as:
    ORACLE_OWNER= oracle10
    ORACLE_HOME=  /oracle10/product/10.2

Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y
   Copying coraenv to /usr/local/bin ...

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.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
Configuration for local CSS has been initialized

Adding to inittab
Startup will be queued to init within 30 seconds.
Checking the status of new Oracle init process...
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
        p2704u
CSS is active on all nodes.
Oracle CSS service is installed and running under init(1M)


我的安裝步驟是;

(1) ./runInstall

(2)  advance install

(3)  only install  A S M

(4)  choise lv,create asm diskgroup

(5) installing  asm 

(6) $ORACLE_HOME/bin/dbca   create database

(7) choise asm 

(8) choise diskgroup

(9) creating database 




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

相關文章