装RAC中libpthread.so.0的问题

10月 13th, 2009 | Posted by | Filed under 未分类

本文内容遵从CC版权协议, 可以随意转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明
网址: http://www.penglixun.com/database/libpthread_problem_in_install_rac.html

参考:http://blog.chinaunix.net/u/12521/showart_1848843.html

 暑假配RAC装CRS的时候遇到“libpthread.so.0: cannot open shared object file”的问题,参考上面的地址,解决了问题。

/home/oracle/crs/oracle/product/10/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file解决方法:

这个错误一般是在linux上装10G RAC时会碰到的,当安装界面提示你用root脚本执行相应脚本时碰到,如:
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
/home/oracle/crs/oracle/product/10/crs/jdk/jre//bin/java: error while loading
shared libraries: libpthread.so.0: cannot open shared object file:
No such file or directory
其实这是无法完成vipca工作导致的,你可以用以下方法解决:
方法1.不去理会,选择继续,然后安装10.2.0.4及以上版本的patchsets,然后在来手工执行vipca完成vip配置工作,因为这个错误在10.2.0.4版本中已经得到修复
方法2.手工配置
/bin # ./oifcfg setif -global eth0/192.168.1.0:public
/bin # ./oifcfg setif -global eth1/10.10.10.0:cluster_interconnect
/bin # ./oifcfg getif
eth0 192.168.1.0 global public
eth1 10.10.10.0 global cluster_interconnect

/bin # ./oifcfg iflist
eth0 192.168.1.0
eth1 10.10.10.0

./vipca
然后选择图形界面里的重新验证,这样就可以通过了。

我开始采用的方式在vipca脚本中注释掉libpthread.so.0,虽然也能通过,不过后来的步骤就遇到了问题。
Fenng说对系统的东西还是少操作的好,尽可能用其他方法解决。

目前还没有任何评论.