oracle 11g ASM單節點數據庫安裝grid執行root.sh腳本報錯

安裝一個單節點的11g數據庫使用ASM存儲文件,在安裝grid執行root.sh腳本的時候報錯如下:

wKiom1MBsQmgtwSAAASflLmncOg680.jpg

按提示缺少libcap軟件包,安裝如下軟件包:

libcap-devel-2.16-5.5.el6.x86_64
compat-libcap1-1.10-1.x86_64
libcap-2.16-5.5.el6.x86_64
libcap-ng-0.6.4-3.el6_0.1.x86_64

繼續執行root.sh腳本不通過按提示執行命令:

/home/u01/app/grid/product/11g/grid/crs/install/roothas.pl -deconfig

提示deconfig失敗

繼續執行命令在verbose模式下:

# /home/u01/app/grid/product/11g/grid/crs/install/roothas.pl -deconfig -force -verbose
Using configuration parameter file: /home/u01/app/grid/product/11g/grid/crs/install/crsconfig_params
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Stop failed, or completed with errors.
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Delete failed, or completed with errors.
CRS-4047: No Oracle Clusterware components configured.
CRS-4000: Command Stop failed, or completed with errors.
You must kill ohasd processes or reboot the system to properly
cleanup the processes started by Oracle clusterware
ACFS-9313: No ADVM/ACFS installation detected.
Either /etc/oracle/olr.loc does not exist or is not readable
Make sure the file exists and it has read and execute access
Failure in execution (rc=-1, 256, No such file or directory) for command /etc/init.d/ohasd deinstall
Successfully deconfigured Oracle Restart stack

執行成功;

執行root.sh腳本通過:

./root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
   ORACLE_OWNER= grid
   ORACLE_HOME=  /home/u01/app/grid/product/11g/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

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 script.
Now product-specific root actions will be performed.
Using configuration parameter file: /home/u01/app/grid/product/11g/grid/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node tmdb successfully pinned.
Adding Clusterware entries to upstart

tmdb     2014/02/17 13:11:41     /home/u01/app/grid/product/11g/grid/cdata/tmdb/backup_20140217_131141.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章