Pages

Friday, September 20, 2013

UnsatisfiedLinkError exception loading native library: njni11

UnsatisfiedLinkError exception loading native library: njni11 while running Autoconfig on DB Node

After upgrading database to 11GR2, This issue can occur.

While running autoconfig on the DB node this error occured.

java.lang.UnsatisfiedLinkError: /u01/CRP1/db/tech_st/11.2.0/lib/libnjni11.so: /u01/2CRP1/db/tech_st/11.2.0/lib/libnjni11.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)


FiX
---

To fix this issue, Edit the database node xml as below and re-run the autoconfig.

From
----
<          <JDK_TOP oa_var="s_jdktop">/u01/CRP1/db/tech_st/11.2.0/appsutil/jre</JDK_TOP>
<          <JRE_TOP oa_var="s_jretop">/u01/R12CRP1/db/tech_st/11.2.0/appsutil/jre</JRE_TOP>

To
---
>          <JDK_TOP oa_var="s_jdktop">/u01/CRP1/db/tech_st/11.2.0/jdk/jre</JDK_TOP>
>          <JRE_TOP oa_var="s_jretop">/u01/CRP1/db/tech_st/11.2.0/jdk/jre</JRE_TOP>



Note:
----
From 11gR2 DB version onwards AutoConfig on DB node uses the JRE from <Oracle_Home>/jdk/jre where as earlier versions of DB uses JRE from $ORACLE_HOME/appsutil/jre  Ref Note 1467892.1

2 comments:

  1. Custom essay writing service offer quality and reliable help with writing essays. As opposed to concentrating on yourself in finding courses as for how you can beat the due date, you can basically rely on upon our master writers to make each vital stride. With our services, you can accommodatingly sit tight for the last yield as we do the straggling leftovers of the writing task. Set aside your burdens and let us handle the work with Essay writing service.

    ReplyDelete
  2. I am reading this whole blog. Your blog is very informative and useful. I am very happy about this blog. This is my first visit in this website. I will bookmark your web. I want to say thank you for sharing. Custom Essay Writing Service

    ReplyDelete