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界面退出集群软件安装。
在执行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。
本文出自 “技术成就梦想!” 博客,,请务必保留此出处

热AI工具

Undresser.AI Undress
人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover
用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool
免费脱衣服图片

Clothoff.io
AI脱衣机

AI Hentai Generator
免费生成ai无尽的。

热门文章

热工具

记事本++7.3.1
好用且免费的代码编辑器

SublimeText3汉化版
中文版,非常好用

禅工作室 13.0.1
功能强大的PHP集成开发环境

Dreamweaver CS6
视觉化网页开发工具

SublimeText3 Mac版
神级代码编辑软件(SublimeText3)

热门话题

本文讨论了使用MySQL的Alter Table语句修改表,包括添加/删除列,重命名表/列以及更改列数据类型。

文章讨论了为MySQL配置SSL/TLS加密,包括证书生成和验证。主要问题是使用自签名证书的安全含义。[角色计数:159]

InnoDB的全文搜索功能非常强大,能够显着提高数据库查询效率和处理大量文本数据的能力。 1)InnoDB通过倒排索引实现全文搜索,支持基本和高级搜索查询。 2)使用MATCH和AGAINST关键字进行搜索,支持布尔模式和短语搜索。 3)优化方法包括使用分词技术、定期重建索引和调整缓存大小,以提升性能和准确性。

文章讨论了流行的MySQL GUI工具,例如MySQL Workbench和PhpMyAdmin,比较了它们对初学者和高级用户的功能和适合性。[159个字符]

本文讨论了使用Drop Table语句在MySQL中放下表,并强调了预防措施和风险。它强调,没有备份,该动作是不可逆转的,详细介绍了恢复方法和潜在的生产环境危害。

本文讨论了在PostgreSQL,MySQL和MongoDB等各个数据库中的JSON列上创建索引,以增强查询性能。它解释了索引特定的JSON路径的语法和好处,并列出了支持的数据库系统。
