Friday 7 June 2013

adopmnctl.sh failed libopmnoraclenls.so: unable to open library main: NLS initialization failed!! [

When we are starting the application service using adstrtal.sh it is not coming up in Dev instance .

Error in adstrtal.txt execution log file
============================
libopmnoraclenls.so: unable to open library
main: NLS initialization failed!!
opmnctl: opmn start failed.



adopmnctl.sh failed : libopmnoraclenls.so: unable to open library main: NLS initialization failed!! [ID 1414389.1]


2. In a new unix console, paste in a TEXT file the full content of unix console :cd $INST_TOP/ora/10.1.3/. ./$CONTEXT_NAME.envldd $ORACLE_HOME/opmn/lib/libopmnoraclenls.so
3. Then in 2 separate new unix consoles (one with 10.1.2 and the other with 10.1.3 Oracle homes sourced with $CONTEXT_NAME.env from $INST_TOP/ora/10.1.3/ and $INST_TOP/ora/10.1.2/) , paste in a TEXT file the full content of unix console 
ls -l <10.1.3 $ORACLE_HOME>/lib32/ldflagsIf you will find a strange path, do the followingunlink ldflagsln -s $ORACLE_HOME/lib/ldflags $ORACLE_HOME/lib32/ldflags
the same in 10.1.2 homels -l .<10.1.2 $ORACLE_HOME>/lib32/ldflagsIf you will find a strange path, do the followingunlink ldflagsln -s $ORACLE_HOME/lib/ldflags $ORACLE_HOME/lib32/ldflags
in 10.1.3 homecreate libclntsh.so.10.1$ORACLE_HOME/bin/genclntsh -32it will create libclntsh.so.10.1 under lib32
in 10.1.2 home$ORACLE_HOME/bin/genclntsh -32
in 10.1.3 homels -l $ORACLE_HOME/lib32/libocci.soIf you will find a strange path, do the followingunlink .$ORACLE_HOME/lib32/libocci.soln -s $ORACLE_HOME/lib32/libocci.so.10.1 $ORACLE_HOME/lib32/libocci.so
in 10.1.2 homels -l $ORACLE_HOME/lib32/libocci.soIf you will find a strange path, do the followingunlink .$ORACLE_HOME/lib32/libocci.soln -s $ORACLE_HOME/lib32/libocci.so.10.1 $ORACLE_HOME/lib32/libocci.so

After doing above steps issue got resolved.

No comments:

Post a Comment