Start WebLogic times <unable to get file lock, would retry...> solution

Source: Internet
Author: User

When starting WebLogic, report <unable to get file lock, would retry...>, workaround:

I ran into this error the first time I restarted Weblogic on one of my installs, the only reference that is able to fin D is the error description below:

BEA-141281

Info:  unable to get file lock, would retry ...

Description

this message indicates that WLS can not get file lock because other process still hold s the lock. W LS would try again before timeout.

cause

this was an Information-level message only.

Action

if WLS FAI LS-to-start due to unable-get file lock, then lock files need to be removed manually before restart WLS.

The funny thing is so it tells you to remove the locks but doesn ' t provide their location, if you are running OBIEE 11g Can remove Adminserver.lok from:

D:\oracle\fmw\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp

If you is not using Weblogic in the context of Oracle busines Intelligence You can do a file search for any lok files und Er your middleware Home (D:\ORACLE\FMW).

------------------------------------------------

Overview

As the previous server was dropped directly, all processes were shut down abnormally, causing the following error to be reported the next time the WebLogic was started:

<2012-3-2 05:08 P.M. 34 sec cst> <Info> <Management> <BEA-141281> <unable to get file lock, would retr Y ...>
<2012-3-2 05:08 P.M. 44 sec cst> <Info> <Management> <BEA-141281> <unable to get file lock, would retr Y ...>

Solutions

I. Delete the *.lok file under domain

1. Delete Edit.lok

Enter under Domain_home:

Cd/u01/oracle/middleware/user_projects/domains/idm_domain

Delete the Edit.lok file

RM Edit.lok

2. Delete Config.lok

Enter under Domain_home/config:

cd/u01/oracle/middleware/user_projects/domains/idm_domain/config/

Delete the Config.lok file

RM Config.lok

3. Delete Adminserver.lok

Cd/u01/oracle/middleware/user_projects/domains/idm_domain/servers/adminserver/tmp

RM Adminserver.lok

4. Delete Embeddedldap.lok

/u01/oracle/middleware/user_projects/domains/idm_domain/servers/adminserver/data/ldap/ldapfiles

RM Embeddedldap.lok

Two. Delete the * under domain. DAT files:

Into the domain_home.

Cd/u01/oracle/middleware/user_projects/domains/idm_domain

Find the file is deleted

[Email protected] idm_domain]$ Find servers/-name "*. DAT "
servers/adminserver/data/store/diagnostics/wls_diagnostics000000. Dat
servers/adminserver/data/store/default/_wls_adminserver000000. Dat

Restart WebLogic, get it done!

------------------------------------------------

Refer to the above method or will be error, then the process of Java.exe are finished, and then in the service ooracle process Manager and Oracle WebLogic nodemanger up and then restart the BI service

Start WebLogic times <unable to get file lock, would retry...> solution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.