您好,欢迎访问一九零五行业门户网

RedHat 5.6_x86_64 + ASM + RAW+ Oracle 10g RAC (六)

十、常见报错1、报错1nodenames=jason1,jason2,info:queryreturned:prkc-1044:failedtocheckremotecommandexecutionsetupfornodejason1usingshells/usr/bin/ssha
十、常见报错1、报错1nodenames = jason1,jason2,
info: query returned:
prkc-1044 : failed to check remote command executionsetup for node jason1 using shells /usr/bin/ssh and /usr/bin/rsh
jason1: connection refused
severe: the specified nodes are not clusterable.
the following error was returned by the operatingsystem:
prkc-1044 : failed to check remote command executionsetup for node jason1 using shells /usr/bin/ssh and /usr/bin/rsh
jason1: connection refused
解决方法:
确保安装ssh与rsh。同时配置彼此信任关系
2、报错2[root@jason2 crs]# ./root.sh
warning: directory '/home/oracle/orahome/product/10.2.0'is not owned by root
warning: directory '/home/oracle/orahome/product' is notowned by root
warning: directory '/home/oracle/orahome' is not ownedby root
warning: directory '/home/oracle' is not owned by root
checking to see if oracle crs stack is alreadyconfigured
/etc/oracle does not exist. creating it now.
setting the permissions on ocr backup directory
setting up ns directories
prot-1: failed to initialize ocrconfig
failed to upgrade oracle cluster registry configuration
[root@jason2 crs]#
解决方法
如果出现以上报错,则表示ocr无法初始化,
因此应确保共享磁盘共享正常或裸设备中存在数据需要清除
dd if=/dev/zero of=/dev/sdc bs=8192 count=20000
3、报错3[root@jason2 crs]# ./root.sh
warning: directory '/home/oracle/orahome/product/10.2.0'is not owned by root
warning: directory '/home/oracle/orahome/product' is notowned by root
warning: directory '/home/oracle/orahome' is not ownedby root
warning: directory '/home/oracle' is not owned by root
checking to see if oracle crs stack is alreadyconfigured
oracle crs stack is already configured and will be runningunder init(1m)
[root@jason2 crs]#
解决方法:
原因为更换的存储设备和上次安装的设备文件名不一致,删除每台机器上的/etc/oracle/scls_scr/rac1/oracle/cssfatal文件即可。
4、报错4安装集群软件时,在第二个节点执行root.sh脚本报如下错误:
running vipca(silent) for configuring nodeapps
/home/oracle/orahome/product/10.2.0/crs/jdk/jre//bin/java:error while loading shared libraries: libpthread.so.0: cannot open sharedobject file: no such file or directory
或执行root.sh脚本碰到了这个错误(该错误不需要修改文件,直接运行vipca进行配置):
the given interface(s), eth0 is not public.public interfaces should be used to configure virtual ips.
解决方法:
修改vipca文件
# vi /home/oracle/orahome/product/10.2.0/crs/bin/vipca
找到如下内容:
remove this workaround when the bug 3937317 is fixed
arch=`uname -m`
if [ $arch = i686 -o$arch = ia64 ]
then
ld_assume_kernel=2.4.19
export ld_assume_kernel
fi
#end workaround
在fi 后新添加一行:
unset ld_assume_kernel
修改srvctl 文件
# vi /home/oracle/orahome/product/10.2.0/crs/bin/srvctl
找到如下内容:
ld_assume_kernel=2.4.19
export ld_assume_kernel
同样在其后新增加一行:
unset ld_assume_kernel
修改完文件之后以root用户身份执行vipca配置nodeappsresource.如下所示
点击next
点击next
书写vip别名与vip地址
点击next
点击finish
点击ok
点击exit
vipca配置完成之后回到集群软件安装界面点击ok界面退出集群软件安装。
5、报错5在执行vipca配置时,报如下错误。
[root@jason2 bin]# ./vipca
error 0(native: listnetinterfaces:[3])
[error 0(native:listnetinterfaces:[3])]
[root@jason2 bin]#
解决方法
[root@jason2 bin]# pwd
/home/oracle/orahome/product/10.2.0/crs/bin
[root@jason2 bin]# ./oifcfg setif -globaleth0/192.168.12.0:public
[root@jason2 bin]# ./oifcfg setif -global eth1/10.10.10.0:cluster_interconnect
[root@jason2 bin]# ./oifcfg getif
eth0 192.168.12.0 global public
eth1 10.10.10.0 global cluster_interconnect
[root@jason2 bin]#
执行完以上操作后,再次以root用户手工运行vipca进行配置nodeappsresource。
详细的情况记录在oracle notes: 414163.1。
本文出自 “技术成就梦想!” 博客,,请务必保留此出处
其它类似信息

推荐信息