免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1220 | 回复: 0
打印 上一主题 下一主题

error while loading shared libraries [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-22 08:54 |只看该作者 |倒序浏览
env:oracle10.2.0.1 rhel5.3_32 

1.on rac1 exec /u01/app/oracle/product/10.2.0/crs_1/root.sh
  1. [root@rac1 ~]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
  2. WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
  3. WARNING: directory '/u01/app/oracle/product' is not owned by root
  4. WARNING: directory '/u01/app/oracle' is not owned by root
  5. WARNING: directory '/u01/app' is not owned by root
  6. WARNING: directory '/u01' is not owned by root
  7. Checking to see if Oracle CRS stack is already configured
  8. Setting the permissions on OCR backup directory
  9. Setting up NS directories
  10. Oracle Cluster Registry configuration upgraded successfully
  11. WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
  12. WARNING: directory '/u01/app/oracle/product' is not owned by root
  13. WARNING: directory '/u01/app/oracle' is not owned by root
  14. WARNING: directory '/u01/app' is not owned by root
  15. WARNING: directory '/u01' is not owned by root
  16. assigning default hostname rac1 for node 1.
  17. assigning default hostname rac2 for node 2.
  18. Successfully accumulated necessary OCR keys.
  19. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
  20. node <nodenumber>: <nodename> <private interconnect name> <hostname>
  21. node 1: rac1 rac1priv rac1
  22. node 2: rac2 rac2priv rac2
  23. Creating OCR keys for user 'root', privgrp 'root'..
  24. Operation successful.
  25. Now formatting voting device: /dev/raw/raw2
  26. Format of 1 voting devices complete.
  27. Startup will be queued to init within 90 seconds.
  28. Adding daemons to inittab
  29. Expecting the CRS daemons to be up within 600 seconds.
  30. CSS is active on these nodes.
  31.         rac1
  32. CSS is inactive on these nodes.
  33.         rac2
  34. Local node checking complete.
  35. Run root.sh on remaining nodes to start CRS daemons.
2.1.on rac2 exec /u01/app/oracle/product/10.2.0/crs_1/root.sh
  1. [root@rac2 ~]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
  2. WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
  3. WARNING: directory '/u01/app/oracle/product' is not owned by root
  4. WARNING: directory '/u01/app/oracle' is not owned by root
  5. WARNING: directory '/u01/app' is not owned by root
  6. WARNING: directory '/u01' is not owned by root
  7. Checking to see if Oracle CRS stack is already configured
  8. Setting the permissions on OCR backup directory
  9. Setting up NS directories
  10. Oracle Cluster Registry configuration upgraded successfully
  11. WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
  12. WARNING: directory '/u01/app/oracle/product' is not owned by root
  13. WARNING: directory '/u01/app/oracle' is not owned by root
  14. WARNING: directory '/u01/app' is not owned by root
  15. WARNING: directory '/u01' is not owned by root
  16. clscfg: EXISTING configuration version 3 detected.
  17. clscfg: version 3 is 10G Release 2.
  18. assigning default hostname rac1 for node 1.
  19. assigning default hostname rac2 for node 2.
  20. Successfully accumulated necessary OCR keys.
  21. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
  22. node <nodenumber>: <nodename> <private interconnect name> <hostname>
  23. node 1: rac1 rac1priv rac1
  24. node 2: rac2 rac2priv rac2
  25. clscfg: Arguments check out successfully.

  26. NO KEYS WERE WRITTEN. Supply -force parameter to override.
  27. -force is destructive and will destroy any previous cluster
  28. configuration.
  29. Oracle Cluster Registry for cluster has already been initialized
  30. Startup will be queued to init within 90 seconds.
  31. Adding daemons to inittab
  32. Expecting the CRS daemons to be up within 600 seconds.
  33. CSS is active on these nodes.
  34.         rac1
  35.         rac2
  36. CSS is active on all nodes.
  37. Waiting for the Oracle CRSD and EVMD to start
  38. Oracle CRS stack installed and running under init(1M)
  39. Running vipca(silent) for configuring nodeapps
  40. /u01/app/oracle/product/10.2.0/crs_1/jdk/jre//bin/java: error while loading shared 
  41. libraries: libpthread.so.0: cannot open shared object file: No such file or directory
exec vipca by root:
  1. [root@rac2 bin]# ./vipca
  2. Error 0(Native: listNetInterfaces:[3])
  3. [Error 0(Native: listNetInterfaces:[3])]
modify vipca 
  1. #if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
  2. #then
  3. #LD_ASSUME_KERNEL=2.4.19
  4. #export LD_ASSUME_KERNEL
  5. #fi
  6. #unset LD_ASSUME_KERNEL 

modify srvctl
  1. 165 #Remove this workaround when the bug 3937317 is fixed
  2. 166 #LD_ASSUME_KERNEL=2.4.19
  3. 167 #export LD_ASSUME_KERNEL
public,pri都是私有地址的缘故,需要指定:
  1. [root@rac2 bin]#./oifcfg setif -global eth0/10.0.127.128:public
  2. [root@rac2 bin]#./oifcfg setif -global eth1/192.168.0.0:cluster_interconnect
  3. [root@rac2 bin]#./oifcfg getif         #查看
  4. eth0 10.0.127.128 global public
  5. eth1 192.168.0.0 global cluster_interconnect
3.on rac2 exec vipca by root
  1. [root@rac2 bin]#./vipca
  2. 在OUI界面输入rac1,rac2的alias/vip/mask
4.check ok ,on the OUI window.


http://space.itpub.net/457986/viewspace-607057
http://jingh3209.blog.163.com/blog/static/1569667200963123010754/
http://cs.felk.cvut.cz/10gr2/relnotes.102/b15659/toc.htm#CJABAIIF


您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP