天天看点

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

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

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

# /oracle/app/11.2.0/grid/root.sh 

Running Oracle 11g root script... 

The following environment variables are set as: 

ORACLE_OWNER= grid 

ORACLE_HOME= /oracle/app/11.2.0/grid 

Enter the full pathname of the local bin directory: [/usr/local/bin]: 

Copying dbhome to /usr/local/bin ... 

Copying oraenv to /usr/local/bin ... 

Copying coraenv to /usr/local/bin ... 

Creating /etc/oratab file... 

Entries will be added to the /etc/oratab file as needed by 

Database Configuration Assistant when a database is created 

Finished running generic part of root script. 

Now product-specific root actions will be performed. 

Using configuration parameter file: /oracle/app/11.2.0/grid/crs/install/crsconfig_params 

Creating trace directory 

User grid has the required capabilities to run CSSD in realtime mode 

exec(): 0509-036 Cannot load program /oracle/app/11.2.0/grid/bin/ocrconfig.bin because of the following errors: 

0509-150 Dependent module libskgxn2.so could not be loaded. 

0509-022 Cannot load module libskgxn2.so. 

0509-026 System error: A file or directory in the path name does not exist. 

Failed to create or upgrade OLR 

Failed to create or upgrade OLR at /oracle/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6744. 

/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,如需转载请自行联系原作者