執行root.sh 提示Deconfigure the existing cluster configuration before starting
[root@rac001 ~]# sh /home/griddir/11.2.0/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /home/griddir/11.2.0
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.
2011-11-28 08:26:58: Parsing the host name
2011-11-28 08:26:58: Checking for super user privileges
2011-11-28 08:26:58: User has super user privileges
Using configuration parameter file: /home/griddir/11.2.0/crs/install/crsconfig_params
Improper Oracle Clusterware configuration found on this host
Deconfigure the existing cluster configuration before starting
to configure a new Clusterware
run '/home/griddir/11.2.0/crs/install/rootcrs.pl -deconfig'
to configure existing failed configuration and then rerun root.sh
按照提示,執行報錯:
[root@rac001 ~]# /home/griddir/11.2.0/crs/install/rootcrs.pl -deconfig
2011-11-28 08:31:16: Parsing the host name
2011-11-28 08:31:16: Checking for super user privileges
2011-11-28 08:31:16: User has super user privileges
Using configuration parameter file: /home/griddir/11.2.0/crs/install/crsconfig_params
Failure to execute: No such file or directory for command /home/griddir/11.2.0/bin/crsctl check cluster -n rac001
Failure to execute: No such file or directory for command /home/griddir/11.2.0/bin/crsctl check cluster -n rac001
Oracle Clusterware stack is not active on this node
Restart the clusterware stack (use /home/griddir/11.2.0/bin/crsctl start crs) and retry
Failed to verify resources
找到一個方法, 在後面加入 -force 可以順利完成.
[root@rac001 selinux]# /home/griddir/11.2.0/crs/install/rootcrs.pl -deconfig -force
2011-11-28 08:44:22: Parsing the host name
2011-11-28 08:44:22: Checking for super user privileges
2011-11-28 08:44:22: User has super user privileges
Using configuration parameter file: /home/griddir/11.2.0/crs/install/crsconfig_params
Failure to execute: No such file or directory for command /home/griddir/11.2.0/bin/crsctl check cluster -n rac001
Failure to execute: No such file or directory for command /home/griddir/11.2.0/bin/crsctl check cluster -n rac001
Usage: srvctl
再次分別在兩個節點上執行 root.sh :
[root@rac001 selinux]# sh /home/griddir/11.2.0/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /home/griddir/11.2.0
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.
2011-11-28 08:49:11: Parsing the host name
2011-11-28 08:49:11: Checking for super user privileges
2011-11-28 08:49:11: User has super user privileges
Using configuration parameter file: /home/griddir/11.2.0/crs/install/crsconfig_params
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
CRS-2672: Attempting to start 'ora.gipcd' on 'rac001'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac001'
CRS-2676: Start of 'ora.mdnsd' on 'rac001' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac001'
CRS-2676: Start of 'ora.gpnpd' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac001'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac001'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac001'
CRS-2676: Start of 'ora.diskmon' on 'rac001' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac001'
CRS-2676: Start of 'ora.ctssd' on 'rac001' succeeded
ASM created and started successfully.
DiskGroup ocrdata created successfully.
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'rac001'
CRS-2676: Start of 'ora.crsd' on 'rac001' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 05bc07ccec2c4f88bf8c01df9a675a1f.
Successfully replaced voting disk group with +ocrdata.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 05bc07ccec2c4f88bf8c01df9a675a1f (ORCL:OCR_VOTE01) [OCRDATA]
Located 1 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd' on 'rac001'
CRS-2677: Stop of 'ora.crsd' on 'rac001' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac001'
CRS-2677: Stop of 'ora.asm' on 'rac001' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac001'
CRS-2677: Stop of 'ora.ctssd' on 'rac001' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'rac001'
CRS-2677: Stop of 'ora.cssdmonitor' on 'rac001' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac001'
CRS-2677: Stop of 'ora.cssd' on 'rac001' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac001'
CRS-2677: Stop of 'ora.gpnpd' on 'rac001' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac001'
CRS-2677: Stop of 'ora.gipcd' on 'rac001' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac001'
CRS-2677: Stop of 'ora.mdnsd' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac001'
CRS-2676: Start of 'ora.mdnsd' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'rac001'
CRS-2676: Start of 'ora.gipcd' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac001'
CRS-2676: Start of 'ora.gpnpd' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac001'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac001'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac001'
CRS-2676: Start of 'ora.diskmon' on 'rac001' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac001'
CRS-2676: Start of 'ora.ctssd' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac001'
CRS-2676: Start of 'ora.asm' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'rac001'
CRS-2676: Start of 'ora.crsd' on 'rac001' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'rac001'
CRS-2676: Start of 'ora.evmd' on 'rac001' succeeded
Timed out waiting for the CRS stack to start.
這裡有個timed out的問題,不知道是否有問題 。
繼續在節點2上執行root.sh
[root@rac002 ~]# sh /home/griddir/11.2.0/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /home/griddir/11.2.0
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.
2011-11-28 09:36:43: Parsing the host name
2011-11-28 09:36:43: Checking for super user privileges
2011-11-28 09:36:43: User has super user privileges
Using configuration parameter file: /home/griddir/11.2.0/crs/install/crsconfig_params
Creating trace directory
Improper Oracle Clusterware configuration found on this host
Deconfigure the existing cluster configuration before starting
to configure a new Clusterware
run '/home/griddir/11.2.0/crs/install/rootcrs.pl -deconfig'
to configure existing failed configuration and then rerun root.sh
同樣在節點2上清理crs資訊:
[root@rac002 ~]# /home/griddir/11.2.0/crs/install/rootcrs.pl -deconfig -verbose -force
2011-11-28 09:42:32: Parsing the host name
2011-11-28 09:42:32: Checking for super user privileges
2011-11-28 09:42:32: User has super user privileges
Using configuration parameter file: /home/griddir/11.2.0/crs/install/crsconfig_params
Failure to execute: Inappropriate ioctl for device for command /home/griddir/11.2.0/bin/crsctl check cluster -n rac002
Failure to execute: Inappropriate ioctl for device for command /home/griddir/11.2.0/bin/crsctl check cluster -n rac002
Can't exec "/home/griddir/11.2.0/bin/clsecho": No such file or directory at /home/griddir/11.2.0/lib/acfslib.pm line 937.
Failure to execute: Inappropriate ioctl for device for command /home/griddir/11.2.0/bin/crsctl stat res ora.registry.acfs
Failure to execute: Inappropriate ioctl for device for command /home/griddir/11.2.0/bin/crsctl check cluster -n rac002
You must kill crs processes or reboot the system to properly
cleanup the processes started by Oracle clusterware
2560+0 records in
2560+0 records out
10485760 bytes (10 MB) copied, 3.94554 seconds, 2.7 MB/s
Successfully deconfigured Oracle clusterware stack on this node
[root@rac002 ~]#
在節點2 上繼續執行 root.sh :
[root@rac002 ~]# sh /home/griddir/11.2.0/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /home/griddir/11.2.0
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.
2011-11-28 09:44:50: Parsing the host name
2011-11-28 09:44:50: Checking for super user privileges
2011-11-28 09:44:50: User has super user privileges
Using configuration parameter file: /home/griddir/11.2.0/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node rac001, number 1, and is
terminating
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac002'
CRS-2676: Start of 'ora.mdnsd' on 'rac002' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'rac002'
CRS-2676: Start of 'ora.gipcd' on 'rac002' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac002'
CRS-2676: Start of 'ora.gpnpd' on 'rac002' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac002'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac002' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac002'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac002'
CRS-2676: Start of 'ora.diskmon' on 'rac002' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac002' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac002'
CRS-2676: Start of 'ora.ctssd' on 'rac002' succeeded
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'rac002'
CRS-2676: Start of 'ora.drivers.acfs' on 'rac002' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac002'
CRS-2676: Start of 'ora.asm' on 'rac002' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'rac002'
CRS-2676: Start of 'ora.crsd' on 'rac002' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'rac002'
CRS-2676: Start of 'ora.evmd' on 'rac002' succeeded
rac002 2011/11/28 10:05:35 /home/griddir/11.2.0/cdata/rac002/backup_20111128_100535.olr
Preparing packages for installation...
cvuqdisk-1.0.7-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 585 MB Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /home/griddir/oraInventory
'UpdateNodeList' was successful.
[root@rac002 ~]#
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14710393/viewspace-1425576/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 執行root.sh 時報錯Failed to upgrade Oracle Cluster Registry configurationAIOracle
- Oracle RAC 安裝 執行 root.sh時報Failed to upgrade Oracle Cluster Registry configuration問題的解決OracleAI
- 安裝grid時執行root.sh時的提示內容
- Oracle RAC重新執行root.sh指令碼Oracle指令碼
- Failed to upgrade Oracle Cluster Registry configurationAIOracle
- Centos 6.4安裝rac,執行root.sh時報錯CentOS
- 10G RAC重新執行root.sh指令碼指令碼
- 執行 orainstRoot.sh 與 root.sh 作用AI
- RAC grid 11.2.0.1執行root.sh需執行此命令(啟動crs)
- 安裝rac clusterware如何在root.sh失敗後快速重執行root.sh指令碼指令碼
- 執行orainstRoot.sh 與 root.sh 的作用AI
- cluster factor對執行計劃的影響
- 10g rac安裝crs,執行root.sh報錯
- 請教執行錯誤提示
- OEL6.8上安裝11.2.0.2執行root.sh報錯
- root使用者執行root.sh失敗怎麼處理
- 解決Mac M晶片 Wireshark 執行rvictl -s 後,出現Starting device failedMac晶片devAI
- 安裝RAC 執行root.sh指令碼報錯,解決辦法指令碼
- root.sh執行失敗的解決方法及後續處理
- Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.iOSError
- Failed to upgrade Oracle Cluster Registry configuration的解決辦法AIOracle
- 安裝oracle11g遇到的執行root.sh指令碼問題Oracle指令碼
- mysql之 Percona XtraDB Cluster叢集執行緒模型MySql執行緒模型
- 解決binwalk執行提示缺少LZMA模組
- RHEL 7 安裝oracle rac 11.2.0.4執行root.sh報錯ohasd failed to startOracleAI
- RAC執行root.sh報libcap.so.1: cannot open shared object fileObject
- 【流雲】Solaris安裝RAC執行root.sh失敗解決一例
- win10程式執行不提示如何操作_win10電腦怎麼允許程式執行不提示Win10
- RMAN 提示符下執行SQL語句SQL
- 使用Oracle Hint提示來更改執行計劃Oracle
- Oracle 資料庫執行提示:ORA-00054Oracle資料庫
- 11.2.0.4 RAC grid 執行root.sh 報錯libcap.so.1找不到
- oracle10g rac on solaris 10 x86 clusterware_執行root.sh出錯Oracle
- 10G RAC安裝時Failed to upgrade Oracle Cluster Registry configurationAIOracle
- PRKR-1005 : adding of cluster database asmdb configuration failed, {1}DatabaseASMAI
- Xcode9提示"Safe Area Layout Guide before iOS 9.0"XCodeGUIIDEiOS
- maven專案執行不成功,沒有出現資訊: Starting ProtocolHandler ["http-bio-8090"]MavenProtocolHTTP
- ClassLoader.loadClass()方法執行時提示‘ClassNotFoundException’Exception