ORAC> dbua
UnsatisfiedLinkError exception loading native library: njni10
Exception in thread "main" java.lang.UnsatisfiedLinkError: get
at oracle.net.common.NetGetEnv.get(Native Method)
at oracle.net.config.Config.getNetDir(Unknown Source)
at oracle.net.config.Config.initConfig(Unknown Source)
at oracle.net.config.Config.<init>(Unknown Source)
at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:225)
at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:264)
at oracle.sysman.assistants.dbma.backend.CompManager.<init>(CompManager.java:610)
at oracle.sysman.assistants.dbma.ui.UICompManager.<init>(UICompManager.java:150)
at oracle.sysman.assistants.dbma.Dbma.getCompManager(Dbma.java:154)
at oracle.sysman.assistants.dbma.Dbma.execute(Dbma.java:98)
at oracle.sysman.assistants.dbma.Dbma.statusMain(Dbma.java:199)
at oracle.sysman.assistants.dbma.Dbma.main(Dbma.java:180)
The server Operating system is recently upgraded to newer version and suspected the issue might be related to library relink and ran “relink all”.
The “relink all” failed with below errors.
/oracle/ORAC/102_64/lib//libcore10.a(slftmp.o): In function `SlfTmpnam':
slftmp.c:(.text+0x10): warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [/oracle/ORAC/102_64/sysman/lib/libnmemso.so] Error 1
make: *** [libnmemso] Error 2
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make: *** [ctxhx] Error 1
gcc: unrecognized option '-h'
gcc: unrecognized option '-h'
gcc: unrecognized option '-h'
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [/oracle/ORAC/102_64/rdbms/lib/extproc32] Error 1
make: *** [extproc32] Error 2
Solution: Finally figured out that the issue is related to missing 32bit RPM "glibc-devel (32 bit)" and after installing the RPM the database upgraded successfully to Oracle 10g R2 10.2.04.
Regards,
Satishbabu Gunukula, Oracle ACE
http://www.oracleracexpert.com
Nicely written.. Thanks
ReplyDeleteInovies
I apricate your well written article. This one is too good and intersting for me. Now I can share you blog with my friends. Now it's time to avail vacuum sealer bags for more information.
ReplyDelete