Thursday, 31 March 2016

BEA-141281 unable to get file lock and Native Library(terminalio) not found



BEA-141281 unable to get file lock
Issue:

I was not able to start the Managed Server (WLS_WMS2) 

<BEA-141281> <unable to get file lock, will retry ...>
<BEA-141281> <unable to get file lock, will retry ...>
<BEA-141281> <unable to get file lock, will retry ...>
<BEA-141281> <unable to get file lock, will retry ...>

Solution:

1. Go to $MW_HOME/user_projects/domain/WLS_WMS2/servers/WLS_WMS2/tmp

2. rm -rf *.lok 

After this, again try to startup the service and it will be done.

Native Library(terminalio) not found
Issue:

<Nov 30, 2014 03:20:32 AM PST> <Info> <Security> <BEA-090065> <Getting boot identity from user.> 
Enter username to boot WebLogic server:<Nov 30, 2014 03:20:32 AM PST> <Error> <Security> <BEA-090782> <Server is Running in Production Mode and Native Library(terminalio) to read the password securely from commandline is not found.> 
<Nov 30, 2014 03:20:32 AM PST> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now

Solution:

Looks like  library "terminalio" is missing on your system, this is a OS related issue, however you can workaround this in weblogic by the following method.

$MW_HOME/user_projects/domains/<domain_name>/servers/AdminServer/security
if security folder is not found under adminserver, go ahead an create it. and provide it 777 permissions (chmod -r -R 777 security)

If security directory is not present, then create it

cd 
$MW_HOME/user_projects/domains/<domain_name>/servers/AdminServer/
mkdir security
chmod 777 security

under security folder create a new file called boot.properties and enter the values of weblogic username and password and save + exit.

cd security/
Create a boot.properties files and provide the following 2 parameters.
username=XXXX <WebLogic Username>
password=XXXX <WebLogic Password>

Now, save and exit.

Repeat the same procedure for your managed server as well.

Now start your Admin server.
Thanks
Srini

No comments:

Post a Comment


No one has ever become poor by giving