After R12 Fresh Install, The Apache HTTP Server Tier Fails to Start With Error LIBOPMNORACLENLS.SO: unable to load MY PY SMAIN: NLS INITIALIZATION FAILED (Doc ID 413109.1)

Last updated on JANUARY 26, 2017

Applies to:

Oracle Applications Technology Stack - Version 12.0.6 to 12.1.3 [Release 12.0 to 12.1]
Oracle Applications Manager - Version 12.0.6 to 12.1.3 [Release 12 to 12.1]
Oracle Applications DBA - Version 12.0.6 to 12.1.3 [Release 12 to 12.1]
Information in this document applies to any platform.
Checked for relevance on 08-DEC-2013
***Checked for Relevance on 26-JAN-2017***

Symptoms

Following a fresh Release 12 installation on Solaris 10 the following error is encountered, and Apache does not start after the install:

...
01/30/07-15:04:36 :: adapcctl.sh version 120.6 

01/30/07-15:04:36 :: adapcctl.sh: starting OPMN if it is not running 



libopmnoraclenls.so: unable to load ÿ¿«ÿ¿«Mÿ¿«Pÿ¿«S 

main: NLS initialization failed!! 

libopmnoraclenls.so: unable to load ÿ¿« ÿ¿«U 

main: NLS initialization failed!! 

libopmnoraclenls.so: unable to load ÿ¿«ÿ¿«Eÿ¿«Hÿ¿«K 

main: NLS initialization failed!! 

opmnctl: opmn start failed.
...

 

 

Changes

Setting the ORACLE_HOME Environment to 10.1.3 then running that ./bin/genclntsh helps:


If you run with the -32 option it updates the ./lib32 version of libclntsh.so.10.1
if you run without the -32 option it updates the ./lib version of libclntsh.so.10.1
( and similarly if it was set to 10.1.2,libclntsh.so.10.1 will be created in 10.1.2/lib )

So it is very important to set the Oracle Home to 10.1.3.

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