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
分享到:
相关推荐
Oracle 11gR2 RAC安装.docx
rhel 5.5安装oracle 11gr2 RAC.txtrhel 5.5安装oracle 11gr2 RAC.txtrhel 5.5安装oracle 11gr2 RAC.txtrhel 5.5安装oracle 11gr2 RAC.txtrhel 5.5安装oracle 11gr2 RAC.txtrhel 5.5安装oracle 11gr2 RAC.txtrhel 5.5...
因为服务器特殊性需要在windows server 2012R2上安装oracle 11gR2 RAC集群,因此在虚拟机上演练了安装步骤,参考了网上很多例子,但是服务器配置和网络配置都不够细致,我自己补充了安装步骤,配上详细的截图说明,...
构建最高可用Oracle数据库系统 Oracle 11gR2 RAC管理、维护与性能优化.part1.rar
某客户需要将一套Oracle 10gR2 双节点RAC 生产数据库升级至Oracle 11gR2 RAC,所以便有了本系列实战的教程。 为更贴切还原生产过程中的实际操作,本系列教程一个分两大部分: 第一部分已发 一步一步在Linux上部署...
《构建最高可用Oracle数据库系统:Oracle 11gR2 RAC管理、维护与性能优化》从硬件和软件两个维度系统且全面地讲解了Oracle 11g R2 RAC的架构、工作原理、管理及维护的系统理论和方法,以及性能优化的技巧和最佳实践...
第1章 认识Oracle RAC 1.1 RAC产生的背景 1.2 RAC体系结构 1.2.1整体结构 1.2.2物理层次结构 1.2.3逻辑层次结构 1.3 RAC的特点 1.3.1双机并行 1.3.2高可用性 1.3.3易伸缩性 1.3.4低成本 1.3.5高吞吐量 ...
从硬件和软件两个维度系统讲解了Oracle 11g R2 RAC的工作原理、管理和维护的方法,以及性能优化,为构建最高可用Oracle数据库系统提供绝佳指导;基于实际生产环境,通过大量实践为各种常见疑难问题提供了经验性解决...
oracle linux 6.4上安装部署 oracle RAC 11G R2,oracle linux上安装oracle是最简便的。
Solaris11.4+oracle11GR2RAC.docx
Oracle Linux6.10 安装 Oracle 11gR2 RAC详细记录
(完整版)oracle-linux-6.5安装oracle11gR2-RAC.doc
Oracle11GR2 RAC for AIX安装配置实战经验
oraclelinux65安装oracle11gr2RAC.doc
在Red Hat Linux AS4上安装Oracle 10gR2 RAC.doc在Red Hat Linux AS4上安装Oracle 10gR2 RAC.doc在Red Hat Linux AS4上安装Oracle 10gR2 RAC.doc在Red Hat Linux AS4上安装Oracle 10gR2 RAC.doc
Oracle11GR2RAC安装手册.docx
Linux环境部署Oracle 11gR2 RAC数据库
构建最高可用Oracle数据库系统 Oracle 11gR2 RAC管理、维护与性能优化.part2