Oracle 11gR2 RAC root.sh Deconfigure the existing cluster configuration 解决方法

来源:互联网 发布:yii cms管理系统 编辑:程序博客网 时间:2024/04/30 01:53

 

 

Oracle 11.2.0.1 的 RAC,运行root.sh时报错,如下:

 

[root@rac1 oracle]#/u01/app/11.2.0/grid/root.sh

Running Oracle 11g root.sh script...

 

The following environment variables are setas:

   ORACLE_OWNER= oracle

   ORACLE_HOME=  /u01/app/11.2.0/grid

 

Enter the full pathname of the local bindirectory: [/usr/local/bin]:

The file "dbhome" already existsin /usr/local/bin.  Overwrite it? (y/n)

[n]:

The file "oraenv" already existsin /usr/local/bin.  Overwrite it? (y/n)

[n]:

The file "coraenv" already existsin /usr/local/bin.  Overwrite it? (y/n)

[n]:

 

Entries will be added to the /etc/oratabfile as needed by

Database Configuration Assistant when adatabase is created

Finished running generic part of root.shscript.

Now product-specific root actions will beperformed.

2012-06-27 14:17:23: Parsing the host name

2012-06-27 14:17:23: Checking for superuser privileges

2012-06-27 14:17:23: User has super userprivileges

Using configuration parameter file:/u01/app/11.2.0/grid/crs/install/crsconfig_params

Improper OracleClusterware configuration found on this host

Deconfigure the existingcluster configuration before starting

to configure a newClusterware

run'/u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig'

to configure existing failed configurationand then rerun root.sh

You have new mail in /var/spool/mail/root

[root@rac1 oracle]#

 

解决方法上文已有说明,执行rootcrs.pl 脚本来卸载之前的操作。

 

注意这里的rootcrs.pl 是Oracle 11g中才有的,关于该脚本的使用说明,会另篇Blog进行说明。

 

[root@rac1 oracle]#/u01/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig  -verbose -force

2012-06-27 14:30:17: Parsing the host name

2012-06-27 14:30:17: Checking for superuser privileges

2012-06-27 14:30:17: User has super userprivileges

Using configuration parameter file:/u01/app/11.2.0/grid/crs/install/crsconfig_params

Failure to execute: Inappropriate ioctl fordevice for command /u01/app/11.2.0/grid/bin/crsctl check cluster -n rac1

Failure to execute: Inappropriate ioctl fordevice for command /u01/app/11.2.0/grid/bin/crsctl check cluster -n rac1

Usage: srvctl <command><object> [<options>]

   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 andobject and its options use:

 srvctl <command> -h or

 srvctl <command> <object> -h

PRKO-2012 : nodeapps object is notsupported in Oracle Restart

sh: /u01/app/11.2.0/grid/bin/clsecho: Nosuch file or directory

Can't exec"/u01/app/11.2.0/grid/bin/clsecho": No such file or directory at/u01/app/11.2.0/grid/lib/acfslib.pm line 937.

Failure to execute: Inappropriate ioctl fordevice for command /u01/app/11.2.0/grid/bin/crsctl check cluster -n rac1

You must kill crs processes or reboot thesystem to properly

cleanup the processes started by Oracleclusterware

2560+0 records in

2560+0 records out

10485760 bytes (10 MB) copied, 0.0373402 s,281 MB/s

error: package cvuqdisk is not installed

Successfully deconfigured Oracleclusterware stack on this node

You have new mail in /var/spool/mail/root

[root@rac1 oracle]#

 

 

执行完毕之后,就可以顺利执行root.sh脚本了。

 

 

 

-------------------------------------------------------------------------------------------------------

版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!

Skype: tianlesoftware

QQ:              tianlesoftware@gmail.com

Email:   tianlesoftware@gmail.com

Blog:     http://www.tianlesoftware.com

Weibo: http://weibo.com/tianlesoftware

Twitter: http://twitter.com/tianlesoftware

Facebook: http://www.facebook.com/tianlesoftware

Linkedin: http://cn.linkedin.com/in/tianlesoftware

 

 

-------加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请----

DBA1 群:62697716(满);   DBA2 群:62697977(满)  DBA3 群:62697850(满)  

DBA 超级群:63306533(满);  DBA4 群:83829929   DBA5群: 142216823

DBA6 群:158654907    DBA7 群:172855474   DBA总群:104207940

原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 打12345投诉没用怎么办 单位医保停了怎么办 iphonex开不了机怎么办 会计证三年没检怎么办 银行工作人员态度不好怎么办 生殖保健服务证怎么办 关机后自动开机怎么办 大连卖房户口怎么办 在警务室被辅警骂了怎么办 上海微信怎么办居住证 公共自行车卡消磁怎么办 港澳通行证到期了怎么办 徐海路大桥对面怎么办 没有买公务机票怎么办 电脑黑屏怎么办重启也没有用 航空公司原因航班取消怎么办 政府采购2次废标怎么办 车卖给别人车牌怎么办 医用耗材中标后怎么办 国六标准国五车怎么办 年审标志丢了怎么办 大专不过统招线怎么办 雅安停天然气了怎么办 调档函过期了怎么办 临时工想涨工资怎么办 辞职了职称公需课怎么办 一师一优课有账号忘记密码怎么办? 长沙转户口档案怎么办 二战迁户口档案怎么办 本人户口页丢失怎么办 户口迁出原籍档案怎么办 户口本丢了一页怎么办 户口本少了一页怎么办 户口页丢了怎么办 公司要社保卡怎么办 公务员面试缺考怎么办 word文档未标签怎么办 暂住证到期了怎么办t 考驾照没暂住证怎么办 南京暂住证过期了怎么办 南京桥北暂住证怎么办