执行root.sh 提示Deconfigure the existing cluster configuration before starting
来源:互联网 发布:c语言中定义数组 编辑:程序博客网 时间:2024/05/16 12:40
引用:http://blog.itpub.net/23671654/viewspace-1367822/
原文地址:执行root.sh 提示Deconfigure the existing cluster configuration before starting 作者:tolywang
[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 []
commands: enable|disable|start|stop|status|add|remove|modify|getenv|setenv|unsetenv|config
objects: database|service|asm|diskgroup|listener|home|ons|eons
For detailed help on each command and object and its options use:
srvctl -h or
srvctl -h
PRKO-2012 : nodeapps object is not supported in Oracle Restart
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: No such file or directory for command /home/griddir/11.2.0/bin/crsctl stat res ora.registry.acfs
Failure to execute: No such file or directory for command /home/griddir/11.2.0/bin/crsctl check cluster -n rac001
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, 0.151548 seconds, 69.2 MB/s
Successfully deconfigured Oracle clusterware stack on this node
[root@rac001 selinux]#
再次分别在两个节点上执行 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 ~]#
- 执行root.sh 提示Deconfigure the existing cluster configuration before starting
- Oracle 11gR2 RAC root.sh Deconfigure the existing cluster configuration 解决方法
- 安装oracle grid infrastructure时中断root.sh脚本执行,报错如下:Existing OCR configuration found, aborting the conf
- Failed to upgrade Oracle Cluster Registry configuration(root.sh)
- Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1]
- Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1
- Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1
- Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.
- Redhat 5.4 RAC multipath 配置raw,运行root.sh 时报错Failed to upgrade Oracle Cluster Registry configuration 解决方法
- Redhat 5.4 RAC multipath 配置raw,运行root.sh 时报错Failed to upgrade Oracle Cluster Registry configuration
- Redhat 5.4 RAC multipath 配置raw,运行root.sh 时报错Failed to upgrade Oracle Cluster Registry configuration
- Redhat 5.4 RAC multipath 配置raw,运行root.sh 时报错Failed to upgrade Oracle Cluster Registry configuration
- 执行 orainstRoot.sh 与 root.sh 作用
- orainstRoot.sh 与 root.sh 执行记录
- root.sh 脚本执行失败
- cman not started: Local host name resolves to 127.0.0.1; fix /etc/hosts before starting cluster
- cman not started: Local host name resolves to 127.0.0.1; fix /etc/hosts before starting cluster
- 跟踪 root.sh 的 执行过程
- [转][译]关于iOS和OS X废弃的API你需要知道的一切
- android 按钮按下效果(文字颜色和按钮同时变化)
- 1.你使用过Objective-C的运行时编程(Runtime Programming)么?如果使用过,你用它做了什么?你还能记得你所使用的相关的头文件或者某些方法的名称吗?
- 阿里一面(电话面试)
- UNIX环境编程学习——反思认识
- 执行root.sh 提示Deconfigure the existing cluster configuration before starting
- HDOJ 18岁生日 (水)
- 立博宣言
- iBeacon App Development with CoreLocation on Apple iOS 7/8
- 150723培训心得(queue)
- mac下安装xampp后mysql无法启动的问题
- rails join left结合使用
- pulltorefreshlistview显示最开始一页时有时不显示的问题解决
- 自定义互斥变量