Running Root.Sh On Second Node PRKN-1008 Unable to Load Shared Library_342750.1

Running Root.Sh On Second Node Fails PRKN-1008 Unable to Load the Shared Library srvmhas10 (Doc ID 342750.1)

In this Document
  Symptoms
  Changes
  Cause
  Solution
     Scalability RAC Community
  References


Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 and later   [Release: 10.2 and later ]
Linux x86-64

Symptoms

On 64bit linux, Starting vipca through root.sh at install time returns following error
PRKH-1010 : Unable to communicate with CRS services.
[PRKH-1000 : Unable to load the SRVM HAS shared library
[PRKN-1008 : Unable to load the shared library "srvmhas10"
or a dependent library, from
LD_LIBRARY_PATH="/opt/oracle/product/10.2.0.1/crs/jdk/jre/lib/i386/client:
/opt/oracle/product/10.2.0.1/crs/jdk/jre/lib/i386:/opt/oracle/product/10.2.0.
1/crs/jdk/jre/../lib/i386:/opt/oracle/product/10.2.0.1/crs/lib32:
/opt/oracle/product/10.2.0.1/crs/srvm/lib32:/opt/oracle/product/10.2.0.
1/crs/lib:/opt/oracle/product/10.2.0.1/crs/srvm/lib:/opt/oracle/product/10.2.0.1/crs/lib"

Changes

New install

Cause

Missing library "libclntsh.so.10.1" under $ORA_CRS_HOME/lib32

Bug 4189481 Vipca/Srvctl: Prkn-1008 : Unable To Load The Shared Library "Libsrvmhas.So"

This is often caused by missing 32bit rpm for glibc-devel-2*.
Perform rpm -qa against glibc rpm, it should return two lines for each rpm which one stands for 64bit and one stands for 32bit library:

$ rpm -qa |grep glibc-2
glibc-2.3.4-2.13
compat-glibc-2.3.2-95.30
compat-glibc-2.3.2-95.30
glibc-2.3.4-2.13
$ rpm -qa |grep glibc-devel
glibc-devel-2.3.4-2.13
glibc-devel-2.3.4-2.13

If you have only 1 line output, then often it is the 32bit library missing. During relink of generating libclntsh.so, it reports:
       error: can not find crti.o
This file is part of glibc-devel-* 32bit rpm.

Solution

Confirm that libclntsh.so.10.1 under under $CRS_HOME/lib32 is missing.
Check make log under $CRS_HOME/install for the error during relink.

Make sure that rpm glibc-2*.i686.rpm and glibc-devel-2*.i386.rpm are installed.

ie) rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n"|grep glibc-devel

Then
Either : Reinstall CRS.
Or : Try the following:

1. Login as root and shutdown crs on the node having problem.
      # crsctl stop crs
2. Backup files under $ORA_CRS_HOME/lib and $ORA_CRS_HOME/lib32
3. Log in as root user.
4. Set ORACLE_HOME to $ORA_CRS_HOME ie:
      # export ORACLE_HOME=/<full path of $ORA_CRS_HOME>
5.  # cd $ORACLE_HOME/network/lib
6.  # make -f ins_net_client.mk client_sharedlib
7. For files under the $ORA_CRS_HOME/lib32 directory, Change owner, group, permission on files generated by step 6 to oracle:oinstall, 755 (check files generated by checking timestamp of files).
8. Check if symbolic link libclntsh.so pointing to $CRS_HOME/lib/libclntsh.so.10.1 exists under  $ORA_CRS_HOME/lib as before. If not, create one.
9. Startup crs as root:
   # crsctl start crs
10. rerun vipca if needed

------------------------------------------------
In some ct's case, error on nnfgt.o  shows also.
-----------------------------------------------
$CRS_HOME/install/make.log:
Building 32bit version of nnfgt.o
In file included from /usr/include/features.h:352,
from /usr/include/sys/types.h:27,
from nnfgt.c:7:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or
directory
mv: cannot stat `nnfgt.o': No such file or directory
/usr/bin/ar: /u01/app/oracle/product/10.2.0/clusterware/lib32/nnfgt.o: No
such file or directory

--------------------------------------------------------

Then, you may perform following steps BEFORE running
make -f ins_net_client.mk client_sharedlib again (that's from make.log):

gcc -m32 -c nnfgt.c
mv nnfgt.o $CRS_HOME/lib32/
/usr/bin/ar rv $CRS_HOME/lib32/libn10.a $CRS_HOME/lib32/nnfgt.o

Scalability RAC Community

To discuss this topic further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Scalability RAC Community.

References

BUG:4189481 - VIPCA/SRVCTL: PRKN-1008 : UNABLE TO LOAD THE SHARED LIBRARY "LIBSRVMHAS.SO"

 

Related



 
 

Products



 
时间: 2024-09-12 01:29:35

Running Root.Sh On Second Node PRKN-1008 Unable to Load Shared Library_342750.1的相关文章

11.2.0.1 Grid Infrastructure Installation Failed at Second Nodes While Running root.sh

  11.2.0.1 Grid Infrastructure Installation Failed at Second Nodes While Running root.sh Due To ASM Crash Caused by lmon Timeout [ID 1239123.1] --------------------------------------------------------------------------------     修改时间 06-JAN-2011    

Failed to upgrade Oracle Cluster Registry configuration(root.sh)

    最近在给客户基于Suse 11 sp3安装Oracle 10g RAC,在安装完clusterware执行/u01/app/crs/root.sh时收到错误提示,Failed to upgrade Oracle Cluster Registry configuration由于当前的环境使用了多路径,从Oracle的描述来看,这是一个Oracle Bug(4679769),如果你有相同的问题,请接着往下看. 一.故障现象suse11a:/u01/app/crs # /u01/app/crs

oracle数据库在多cpu环境中运行root.sh失败,asm报ORA-04031

有朋友和我反馈,说他们在装linux 6.5上面装11.2.0.3的rac出现异常,root.sh在第一个节点执行就失败了,请求帮助 根据上面记录,查看asmca日志 [main] [ 2015-07-24 12:49:35.885 CST ] [SQLEngine.reInitialize:738]  Reinitializing SQLEngine... [main] [ 2015-07-24 12:49:35.885 CST ] [OracleHome.getVersion:889]  O

Oracle 11g RAC 执行root.sh时遭遇 CRS-0184/PRCR-1070

Oracle 11g RAC安装时,在第一个节点执行root.sh时遭遇了CRS-0184/PRCR-1070,Google了很多帖子也没有找到解决办法.呜呜,还是静下心来看日志!!最后的发现原来是一个不经意的小问题,如下面的描述.   1.故障现象 #安装环境 [root@linux1 ~]# more /etc/issue Enterprise Linux Enterprise Linux Server release 5.5 (Carthage) Kernel \r on an \m [r

Redhat 5.4 RAC multipath 配置raw,运行root.sh 时报错Failed to upgrade Oracle Cluster Registry configuration

原文:http://blog.csdn.net/tianlesoftware/article/details/6039210 之前打算装Oracle 11gR2的RAC的. 后来因为资源不够,就改装oracle 10g了. raw 是用openfiler 配置 加 Multipath多路径配置的.               raw的配置参考我的Blog:               Linux 5.4 LVM RAW 设备配置的深入研究               http://blog.cs

【RAC】How to Proceed from Failed 11gR2 CRS Installation

Applies to:  [ID 942166.1] Oracle Server – Enterprise Edition – Version: 11.2.0.1 to 11.2.0.2 – Release: 11.2 to 11.2 Generic UNIX   Generic Linux Goal This goal of this note is to provide steps to proceed from failed 11gR2 Grid Infrastructure instal

RAC意外删除OCR VOTE DISK的恢复(无备份)

转自METALINK How to Recreate OCR/Voting Disk Accidentally Deleted [ID 399482.1] If none of the steps documented above can be used to restore the file that was accidentally deleted or is corrupted, then the following steps can be used to re-create/reins

nodejs访问mysql数据库使用说明详解

项目中需要使用mysql数据库,下面就介绍下怎么访问mysql 这里我使用的mac进行开发的,首先需要下载mysql 地址:http://dev.mysql.com/downloads/mysql/ 参考这篇安装http://dev.mysql.com/doc/refman/5.0/en/macosx-installation.html 安装完成后可以在偏好设置里面看到mysql,通过这个可以启动关闭mysql. 默认安装完成后,数据库的root用户是没有密码的. 为了方便操作,这里我又安装了一

Ubuntu 15.04下安装Node.JS的不同方式

如果你要在Ubuntu 15.04上安装Node.js的话,这篇教程对你来说肯定很重要.Node.js从本质上来说就是一个运行在服务端上的封装好了输入输出流的javascript程序.Node.js巧妙的使用单线程的事件循环来处理高吞吐量和非阻塞IO.同时它也是一个提供了通过操作系统读写文件和网络操作功能的平台层.所以这篇文章将展示在Ubuntu 15.04 server上不同的安装Node.Js的方式. 安装Node.JS 的方法 有许多安装Node.JS的不同的方法,我们可以选择其一.通过本