Thursday, January 16, 2014

NodeManager not starting WLS 10.3.6 On Solaris 11 on SPARC: Java: Fatal: Libucb.so.1: Open Failed: No Such File Or Directory

Applies to: Oracle Weblogic Server - Version 10.3.6 and later Oracle Solaris on SPARC (32-bit) Oracle Solaris on SPARC (64-bit) SPARC Sun SPARC Sun OS Symptoms Node Manager fails to start in WLS 10.3.6 running on Solaris 11 on SPARC. The following error is seen in the node manager logs: Mar 04, 2013 3:10:55 PM weblogic.nodemanager.server.NMServer main SEVERE: Fatal error in node manager server weblogic.nodemanager.common.ConfigException: Native version is enabled but nodemanager native library could not be loaded at weblogic.nodemanager.server.NMServerConfig.initProcessControl(NMServerConfig.java:269) at weblogic.nodemanager.server.NMServerConfig.(NMServerConfig.java:210) at weblogic.nodemanager.server.NMServer.init(NMServer.java:182) at weblogic.nodemanager.server.NMServer.(NMServer.java:148) at weblogic.nodemanager.server.NMServer.main(NMServer.java:380) at weblogic.NodeManager.main(NodeManager.java:31) Caused by: java.lang.UnsatisfiedLinkError: /u01/app/weblogic/wls10.3.6/wlserver_10.3/server/native/solaris/sparc/libnodemanager.so: ld.so.1: java: fatal: libucb.so.1: open failed: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854) at java.lang.Runtime.loadLibrary0(Runtime.java:845) at java.lang.System.loadLibrary(System.java:1084) at weblogic.nodemanager.util.UnixProcessControl.(UnixProcessControl.java:24) at weblogic.nodemanager.util.ProcessControlFactory.getProcessControl(ProcessControlFactory.java:22) at weblogic.nodemanager.server.NMServerConfig.initProcessControl(NMServerConfig.java:267) ... 5 moreCause libucb.so.1 is not obsolete in Solaris 11 but it is not installed by default. So the ucb resources are not available until your Solaris sysadmin installs them. See http://www.oracle.com/technetwork/systems/solaris-developer/o10-015-s11-isv-adoption-198348.pdf for changes to the ucb directory in Solaris 11. Solution Have your Solaris sysadmin install the compatibility/ucb package from http://pkg.oracle.com/solaris/release/en/index.shtml and the ucb libraries should be available. See https://forums.oracle.com/forums/thread.jspa?messageID=10512396 for more instructions. And the set the env variable export LD_LIBRARY_PATH=/u01da/MW_Home/wlserver_10.3/server/native/solaris/sparc:/lib/ PS: No need to set any soft link After installing the library I was able to start the node manager succesfully ...

4 comments:

  1. Uninstall weblogic and Re-install weblogic using below option
    java -d64 -jar

    ReplyDelete
  2. missed some parts ...use below

    java -d64 -jar wls1036_generic.jar

    ReplyDelete
  3. Thanks alot for solution. I have been struggling for this near 1 week. Now it worked.

    ReplyDelete


  4. weblogic.nodemanager.common.ConfigException: Native version is enabled but nodemanager native library could not be loaded
    at weblogic.nodemanager.server.NMServerConfig.initProcessControl(NMServerConfig.java:269)
    at weblogic.nodemanager.server.NMServerConfig.(NMServerConfig.java:210)
    at weblogic.nodemanager.server.NMServer.init(NMServer.java:182)
    at weblogic.nodemanager.server.NMServer.(NMServer.java:148)
    at weblogic.nodemanager.server.NMServer.main(NMServer.java:380)
    at weblogic.NodeManager.main(NodeManager.java:31)
    Caused by: java.lang.UnsatisfiedLinkError: /u01/app/Oracle/BI/MW/wlserver_10.3/server/native/solaris/sparc/libnodemanager.so: ld.so.1: java: fatal: libucb.so.1: open failed: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)

    can anyone help me?

    ReplyDelete