Exception When Trying to Bind User by Enabling Post-Bind UID: java.lang.UnsatisfiedLinkError: no weblogicunix1 in java.library.path (Doc ID 1317251.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 8.1 and later   [Release: and later ]
Generic UNIX

Symptoms

This error happens when trying to use a Post-Bind UID to enable starting the WebLogic Server process with certain additional privileges. The most common usage of this functionality is to enable WLS to listen on ports below 1024 in Linux/UNIX systems. Basically this task is done by the invocation of WLS by a user with root permissions, then internally the WebLogic process opens the desired port, and when done, the process is deferred to a normal user. So, if in this sequence the file libweblogicunix1.so is not available the following exception is thrown:

<Apr 7, 2011 4:46:45 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Apr 7, 2011 4:46:45 PM PDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.UnsatisfiedLinkError: no libweblogicunix1 in java.library.path
java.lang.UnsatisfiedLinkError: no libweblogicunix1 in java.library.path
  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
  at java.lang.Runtime.loadLibrary0(Runtime.java:823)
  at java.lang.System.loadLibrary(System.java:1030)
  at weblogic.platform.Unix.initNative(Unix.java:16)
  at weblogic.platform.Unix.getUser(Unix.java:21)
  at weblogic.t3.srvr.SetUIDRendezvous.<init>(SetUIDRendezvous.java:66)
  at weblogic.t3.srvr.SetUIDRendezvous.<clinit>(SetUIDRendezvous.java:48)
  at weblogic.t3.srvr.BootService.start(BootService.java:48)
  at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
  at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
  at weblogic.t3.srvr.T3Srvr.initia|lizeStandby(T3Srvr.java:802)
  at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:489)
  at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:446)
  at weblogic.Server.main(Server.java:67)
>
***************************************************************************
The WebLogic Server encountered a critical failure
Reason: Assertion violated
***************************************************************************
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/protocol/ServerIdentityManager$Initializer
  at weblogic.protocol.ServerIdentityManager.findServerIdentity(ServerIdentityManager.java:64)
  at weblogic.protocol.URLManager.findAdministrationURL(URLManager.java:173)
  at weblogic.server.ServerLifeCycleRuntime.getLifeCycleOperationsRemote(ServerLifeCycleRuntime.java:1078)
  at weblogic.t3.srvr.ServerRuntime.sendStateToAdminServer(ServerRuntime.java:431)
  at weblogic.t3.srvr.ServerRuntime.updateRunState(ServerRuntime.java:417)
  at weblogic.t3.srvr.T3Srvr.setState(T3Srvr.java:187)
  at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:458)
  at weblogic.Server.main(Server.java:67)
[root@localhost bin]#

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