OAS 10.1.3 Patchset Fails - " Undefined symbol in nzospRandNum " and " libopmnoraclenls.so: unable to open library " (Doc ID 735631.1)

Last updated on JANUARY 12, 2017

Applies to:

Oracle Fusion Middleware - Version 10.1.3.3.0 to 10.1.3.5.0 [Release AS10gR3]
Information in this document applies to any platform.
*** Checked for relevance on 24-Sep-2013 ***


Symptoms

Applying an Oracle Application Server 10g Release 3 (10.1.3) Patchset fails with errors appearing when executing the configuration assistant 'Run One-off OPatches', and subsequently the 'OPMN Configuration Assistant'.

The installActions log shows the following error stack:

Starting to execute configuration assistants
Launched configuration assistant 'Run One-off OPatches'
Tool type is: Recommended.
The command being spawned is: '<oracle_home>/config/run_opatch.sh'

Start output from spawned process:

Oracle Interim Patch Installer version 1.0.0.0.56
Copyright (c) 2006 Oracle Corporation. All Rights Reserved..

We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1

Oracle Home : <oracle_home>
Oracle Home Inventory : <oracle_home>/inventory
Central Inventory : /opt/oracle/oraInventory
from : <oracle_home>/oraInst.loc
OUI location : <oracle_home>/oui
OUI shared library : <oracle_home>/oui/lib/solaris/liboraInstaller.so
Java location : <oracle_home>/jre/1.4.2/bin/java
Log file location : <oracle_home>/.patch_storage/<patch ID>/*.log

Creating log file "/<oracle_home>/.patch_storage/4601861/Apply_4601861_09-02-2008_13-57-14.log"

Invoking fuser to check for active processes.

Skipping invocation of fuser on "<oracle_home>/bin/oracle" as the file does not exist or is a
directory.
Backing up comps.xml ...

OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.


Please shut down Oracle instances running out of this ORACLE_HOME
(Oracle Home = <oracle_home>)
Is this system ready for updating?
Please respond Y|N >
Y (auto-answered by -silent)

Applying patch 4601861...

Patching archive files...

Patching copy files...

Running make for target client_sharedlib.

OPatch found the word "fatal" in stderr, please look into it.
You may have to run the make again.
Stderr Output (from <oracle_home>/.patch_storage/4601861/make_local.stderr):
Undefined first referenced

symbol in file

nzospRandNum <oracle_home>/lib/libn10.a(sbibsrng.o)

ld: fatal: Symbol referencing errors. No output written to
<oracle_home>/lib/libclntsh.so.10.1

Undefined first referenced

symbol in file

nzospRandNum <oracle_home>/lib32/libn10.a(sbibsrng.o)

ld: fatal: Symbol referencing errors. No output written to
<oracle_home>/lib32/libclntsh.so.10.1

Inventory is good and does not have any dangling patches.

Updating inventory...

Verifying patch...
Backing up comps.xml ...


OPatch succeeded.

End output from spawned process.
Configuration assistant "Run One-off OPatches" succeeded
Result code for launching of configuration assistant is: 0
Launched configuration assistant 'OPMN Configuration Assistant'
Tool type is: Recommended.
The command being spawned is: '<oracle_home>/opmn/bin/opmnctl startall'

Start output from spawned process:
opmnctl: starting opmn and all managed processes...
libopmnoraclenls.so: unable to open library
main: NLS initialization failed!!
libopmnoraclenls.so: unable to open library
main: NLS initialization failed!!
libopmnoraclenls.so: unable to open library
main: NLS initialization failed!!
opmnctl: opmn start failed.

End output from spawned process.
Invalid Exit Code. The following result code will be used for configuration assistants: 1
Configuration assistant "OPMN Configuration Assistant" failed
opmnctl: starting opmn and all managed processes...
libopmnoraclenls.so: unable to open library
main: NLS initialization failed!!
libopmnoraclenls.so: unable to open library
main: NLS initialization failed!!
libopmnoraclenls.so: unable to open library
main: NLS initialization failed!!
opmnctl: opmn start failed.

Result code for launching of configuration assistant is: 1
The OUICA command is launched from <oracle_home>/oui/bin/ouica.sh.
Error:

Changes

After patch failure, the libclntsh.so.10.1 is missing from $ORACLE_HOME/lib and $ORACLE_HOME/lib32 as shown below.

% cd $ORACLE_HOME/lib
% ls -l libclnt*

lrwxrwxrwx 1 oracle dba 17 Aug 11 14:11 libclntsh.so -> libclntsh.so.10.1
-rw-rw-r-- 1 oracle dba 31220660 Oct 28 2005 libclntst10.a

% cd $ORACLE_HOME/lib32
% ls -l libclnt*

lrwxrwxrwx 1 oracle dba 17 Aug 11 14:11 libclntsh.so -> libclntsh.so.10.1
-rw-rw-r-- 1 oracle dba 31220660 Oct 28 2005 libclntst10.a

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms