安装rac clusterware 错误汇总 更新20101114

20101115

1、Command = /u01/app/oracle/crs10g/bin/racgons has failed
 Execution Error : WARNING: rac1:6200 already configured.
WARNING: rac2:6200 already configured.

解决 移除后retry

[oracle@rac1 bin]$ racgons  remove_config rac1:6200
racgons: Existing key value on rac1 = 6200.
racgons: rac1:6200 removed from OCR.
[oracle@rac1 bin]$ racgons  remove_config rac2:6200
racgons: Existing key value on rac2 = 6200.
racgons: rac2:6200 removed from OCR.

2、调整系统时间

格式

 date 月日时分年.秒

ex:date 091713272003.30

同步系统时间和硬件时钟

clock --systohc

3、vmware安装rac是 有必要修改配置文件参数

tools.syncTime = "TRUE"

这样可以避免 时间不同步导致的问题

20101104
redhat 4 安装rac  做cluvfy检测时报错
[oracle@rac2 etc]$ cluvfy stage -post  crsinst -n rac1,rac2

Performing post-checks for cluster services setup

Checking node reachability...
Node reachability check passed from node "rac2".


Checking user equivalence...
User equivalence check passed for user "oracle".

ERROR:
CRS is not installed on any of the nodes.
Verification cannot proceed.
同样的检测在node1 是正常的

以前是重启crs就正常 不知为何。。
找到相关的解释是:
        Cause
        Problem in locating the correct Oracle Inventory.

 THE /ETC/ORAINST.LOC IS POINTING TO A WRONG LOCATION

 CLUVFY INTERNALLY USES THE INVENTORY LOCATION AND IF PROPER INVENTORY
 LOCATION IS NOT FOUND, IT WILL REPORT THIS ERROR

 SOLUTION
 CHECK THE /ETC/ORAINST.LOC FILE AND AND SEE IF IT IS POINTING TO THE
 CORRECT INVENTORY LOCATION.

 IF IT IS NOT, CORRECT IT TO POINT TO THE THE ACTUAL INVENTORY LOCATION AND
 THEN RETRY THE CLUVFY OPERATION.

校验:
[oracle@rac2 ~]$ cat /etc/oraInst.loc
inventory_loc=/u01/app/oracle/oraInventory
inst_group=oinstall

文件不存在问题
cd /u01/app/oracle/oraInventory却找不到目录  可能是安装时因时间不同步导致它没有拷贝到远程节点
手动copy后  就解决问题


20101007
重启安装rac
使用Oracle用户登陆操作系统报错:
-bash: ulimit: open files: cannot modify limit: Operation not permitted
原因是 /etc/security/limit.conf未配置或配置错误
20100814
1、
安装Oracle中有个步骤要编辑 /etc/profile
完了后要使其生效source  /ect/profile
结果报错
bash: /home/oracle/.bash_profile: line 26: syntax error near unexpected token `then'  bash: /home/oracle/.bash_profile: line 26: `if[ $USER = "oracle" ]; then' 

 

。。。。。。。。

郁闷半天。。

上google.com.kn。。。

原因是 我的if跟后面 应该有空格做间隔。。毕了。。。。

2、执行vipca时报了一个ons的异常

查看/u01/oracle/product/10.2.0/crs_1/log/rac1/racg/ora.rac1.ons.log

错误记录如下:

Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
2010-08-15 00:51:28.741: [    RACG][3067427024] [13697][3067427024][ora.rac1.ons]: Failed to get IP for localhost (1)
Failed to get IP for localhost (1)
Failed to get IP for localhost (1)
onsctl: ons failed to start

 

解决方法:

vi /etc/hosts

添加 127.0.0.1 localhost

3、  the specified nodes are not clusterable
(1)首先检查文件 /etc/hosts
个结点的hosts 第一行应是: 127.0.0.1 localhost
(2)
要测试和对方节点的连通性,同时也要测试节点自身的联通性
>ssh hostname
The authenticity of host 'red203 (192.168.8.203)' can't be established.
RSA key fingerprint is 6c:6e:2f:1f:7b:08:75:fc:d2:61:33:2b:68:29:9a:37.
Are you sure you want to continue connecting (yes/no)? yes
5、安装过程后段的几个脚本切记要在root用户下执行 包括vipca
6、
在VMWare Server 1.0.8中安装Oracle RAC时, 碰到到了PRKC-1002错误:

WARNING: Error while copying directory /u01/oracle/product/10.2.0/db_1 with exclude file list 'null' to nodes 'rac2'. [PRKC-1002 : All the submitted commands did not execute successfully]

如果修改/etc/ntp.conf 做时间同步不能解决问题

可以date -s 09:00:00

原则是使二者之间相差 20 秒
7、ERROR:
CRS is not installed on any of the nodes.
Verification cannot proceed.
重启后crs也正常。。求解中。。

8、CRS is not installed on any of the nodes
安装完成后,将提示您运行 orainstRoot.sh 和 root.sh 脚本。以“root”用户帐户在集群的两个 Oracle RAC 节点(从执行安装的节点开始)上打开一个新控制台窗口。

导航到 /u01/app/oracle/oraInventory 目录,并在 RAC 集群的所有节点上运行 orainstRoot.sh。

注:在两个节点上执行 orainstRoot.sh 之后,验证“/etc/oraInst.loc”文件的权限为 644 (-rw-r--r--) 且所有者为 root。如果 oracle 用户帐户不具备该文件的读权限,在 Oracle 安装期间可能会出现问题 —“the location of the oraInventory directory cannot be determined”。例如,在 Oracle 集群件安装后(运行 Oracle 集群验证实用程序时),将出现以下错误:"“CRS is not installed on any of the nodes”。如果对 /etc/oraInst.loc 的权限设置不当,则可能是因为在运行 root.sh 之前,您未在两个节点上运行 orainstRoot.sh。此外,umask 设置可能关闭 — 应为 0022。在 RAC 集群的两个节点上运行以下命令以更正此问题:

# chmod 644 /etc/oraInst.loc
# ls -l /etc/oraInst.loc
-rw-r--r-- 1 root root 63 Aug  1 12:31 /etc/oraInst.loc
不过为什么会这样 还没有答案

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21993926/viewspace-670961/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/21993926/viewspace-670961/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值