11gR2 RAC在AIX平台安装报0509-150 Dependent module libskgxn2.so could not be loaded

在AIX平台上安装Oracle 11.2.0.2 RAC过程中,遇到root.sh执行失败的问题,原因是未在两节点上执行rootpre.sh并设置grid用户权限。通过补全操作,问题得以解决。

      今天有个朋友在AIX平台下面安装11.2.0.2 RAC,AIX系统的版本是61000604,使用了HACMP 6.1双机软件。

     在安装cluster的时候,在2节点执行root.sh的时候报下面的错误:


  1. # /oracle/app/11.2.0/grid/root.sh 
  2. Running Oracle 11g root script... 
  3.   
  4. The following environment variables are set as
  5. ORACLE_OWNER= grid 
  6. ORACLE_HOME= /oracle/app/11.2.0/grid 
  7.   
  8. Enter the full pathname of the local bin directory: [/usr/local/bin]: 
  9. Copying dbhome to /usr/local/bin ... 
  10. Copying oraenv to /usr/local/bin ... 
  11. Copying coraenv to /usr/local/bin ... 
  12.   
  13. Creating /etc/oratab file... 
  14. Entries will be added to the /etc/oratab file as needed by 
  15. Database Configuration Assistant when a database is created 
  16. Finished running generic part of root script. 
  17. Now product-specific root actions will be performed. 
  18. Using configuration parameter file: /oracle/app/11.2.0/grid/crs/install/crsconfig_params 
  19. Creating trace directory 
  20. User grid has the required capabilities to run CSSD in realtime mode 
  21. exec(): 0509-036 Cannot load program /oracle/app/11.2.0/grid/bin/ocrconfig.bin because of the following errors: 
  22. 0509-150 Dependent module libskgxn2.so could not be loaded. 
  23. 0509-022 Cannot load module libskgxn2.so. 
  24. 0509-026 System error: A file or directory in the path name does not exist. 
  25. Failed to create or upgrade OLR 
  26. Failed to create or upgrade OLR at /oracle/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6744. 
  27. /oracle/app/11.2.0/grid/perl/bin/perl -I/oracle/app/11.2.0/grid/perl/lib -I/oracle/app/11.2.0/grid/crs/install /oracle/app/11.2.0/grid/crs/install/rootcrs.pl execution failed 

  当时分析原因如下:

1,有部分的包没有安装

2,没有执行rootpre.sh或者没有把grid用户增加到HA的组中。

  在朋友那里了解情况后,是因为他在安装的时候只在1节点上面执行了rootpre.sh,没有在2节点上面执行。

  解决方案:

  在2节点上面执行rootpre.sh脚本,增加按照提示,把grid用户增加到ha组中,

删除后root.sh配置的信息,再次执行root.sh,一切正常。



     本文转自7343696 51CTO博客,原文链接:http://blog.51cto.com/luoping/1009427,如需转载请自行联系原作者



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值