Oracle11gR2RACrootshDeconfiguretheexistingcluster

版权声明:站在巨人的肩膀上,才可以看的更高更远。 https://blog.csdn.net/u011078141/article/details/88729216

原 Oracle 11gR2 RAC root.sh Deconfigure the existing cluster configuration 解决方法https://blog.csdn.net/tianlesoftware/article/details/7697359版权声明: https://blog.csdn.net/tianlesoftware/article/details/7697359
    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脚本了。
      -------------------------------------------------------------------------------------------------------
版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!
QQ:492913789
Email:[email protected]
Blog:  http://www.cndba.cn/dave
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总群:104207940https://img-blog.csdnimg.cn/20190217105710569.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3UwMTEwNzgxNDE=,size_16,color_FFFFFF,t_70《算法导论 第三版英文版》_高清中文版.pdf
https://pan.baidu.com/s/17D1kXU6dLdU0YwHM2cvNMw
《深度学习入门:基于Python的理论与实现》_高清中文版.pdf
https://pan.baidu.com/s/1IeVs35f3gX5r6eAdiRQw4A
《深入浅出数据分析》_高清中文版.pdf
https://pan.baidu.com/s/1GV-QNbtmjZqumDkk8s7z5w
《Python编程:从入门到实践》_高清中文版.pdf
https://pan.baidu.com/s/1GUNSg4mdpeOf1LC_MjXunQ
《Python科学计算》_高清中文版.pdf
https://pan.baidu.com/s/1-hDKhK-7rDDFll_UFpKmpw

猜你喜欢

转载自blog.csdn.net/u011078141/article/details/88729216