unable to get file lock, will retry ...
A-141281>
http://gdutlzh.blog.163.com/blog/static/164746951201291903824812/
I ran into this error the first time I restarted Weblogic on one of my installs, the only reference that I was able to find is the error description below:
BEA-141281
Info: unable to get file lock, will retry …
Description
This message indicates that WLS can not get file lock because other process still holds the lock. W LS will try again before timeout.
Cause
This is an information-level message only.
Action
If WLS fails to start due to unable to get file lock, then lock files need to be removed manually before restart WLS.
The funny thing is that it tells you to remove the locks but doesn’t provide their location, if you are running OBIEE 11g you can remove AdminServer.lok from:
d:\oracle\fmw\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp
If you are not using Weblogic in the context of Oracle Busines Intelligence you can do a file search for any lok files under your middleware home (d:\oracle\fmw).
------------------------------------------------
概述
由於先前伺服器直接down掉了,所有程式都非正常的進行關閉了,也就導致了下次啟動weblogic的時候報了以下錯誤:
<2012-3-2 下午05時08分34秒 CST>
<2012-3-2 下午05時08分44秒 CST>
解決辦法
一.刪掉Domain下的*.lok檔案
1. 刪除edit.lok
進入到domain_home下:
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain
將edit.lok檔案刪掉
rm edit.lok
2.刪除config.lok
進入到domain_home/config下:
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain/config/
將config.lok檔案刪掉
rm config.lok
3.刪除AdminServer.lok
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain/servers/AdminServer/tmp
rm AdminServer.lok
4.刪除EmbeddedLDAP.lok
/u01/Oracle/Middleware/user_projects/domains/idm_domain/servers/AdminServer/data/ldap/ldapfiles
rm EmbeddedLDAP.lok
二.刪掉Domain下的*.DAT檔案:
進入到domain_home當中
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain
找到檔案被刪掉
[oracle@idm idm_domain]$ find servers/ -name "*.DAT"
servers/AdminServer/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT
servers/AdminServer/data/store/default/_WLS_ADMINSERVER000000.DAT
重新啟動weblogic,搞定!
http://gdutlzh.blog.163.com/blog/static/164746951201291903824812/
I ran into this error the first time I restarted Weblogic on one of my installs, the only reference that I was able to find is the error description below:
BEA-141281
Info: unable to get file lock, will retry …
Description
This message indicates that WLS can not get file lock because other process still holds the lock. W LS will try again before timeout.
Cause
This is an information-level message only.
Action
If WLS fails to start due to unable to get file lock, then lock files need to be removed manually before restart WLS.
The funny thing is that it tells you to remove the locks but doesn’t provide their location, if you are running OBIEE 11g you can remove AdminServer.lok from:
d:\oracle\fmw\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp
If you are not using Weblogic in the context of Oracle Busines Intelligence you can do a file search for any lok files under your middleware home (d:\oracle\fmw).
------------------------------------------------
概述
由於先前伺服器直接down掉了,所有程式都非正常的進行關閉了,也就導致了下次啟動weblogic的時候報了以下錯誤:
<2012-3-2 下午05時08分34秒 CST>
<2012-3-2 下午05時08分44秒 CST>
解決辦法
一.刪掉Domain下的*.lok檔案
1. 刪除edit.lok
進入到domain_home下:
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain
將edit.lok檔案刪掉
rm edit.lok
2.刪除config.lok
進入到domain_home/config下:
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain/config/
將config.lok檔案刪掉
rm config.lok
3.刪除AdminServer.lok
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain/servers/AdminServer/tmp
rm AdminServer.lok
4.刪除EmbeddedLDAP.lok
/u01/Oracle/Middleware/user_projects/domains/idm_domain/servers/AdminServer/data/ldap/ldapfiles
rm EmbeddedLDAP.lok
二.刪掉Domain下的*.DAT檔案:
進入到domain_home當中
cd /u01/Oracle/Middleware/user_projects/domains/idm_domain
找到檔案被刪掉
[oracle@idm idm_domain]$ find servers/ -name "*.DAT"
servers/AdminServer/data/store/diagnostics/WLS_DIAGNOSTICS000000.DAT
servers/AdminServer/data/store/default/_WLS_ADMINSERVER000000.DAT
重新啟動weblogic,搞定!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27042095/viewspace-1098497/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- weblogic - <BEA-141281> <unable to get file lock, will retry ...>Web
- Weblogic BEA-141281 unable to get file lock, will retry 故障處理Web
- Unable to create index.lock File exists錯誤Index
- Oracle Database on NFS : unable to lock file - already in use" ErrorOracleDatabaseNFSError
- WebLogic啟動報Could not get the server file lockWebServer
- unable to get oracle owner forOracle
- Unable to create git index lockGitIndex
- apt could not get lockAPT
- error:unable to get logical block size for spfileErrorBloC
- file_get_content
- file_get_content s()獲取https出現這個錯誤Unable to find the wrapperHTTPAPP
- MySQL的GET_LOCK函式MySql函式
- ftp_rawlist: Unable to create temporary file.FTP
- git SSL certificate problem: unable to get local issuer certificateGit
- File hash GET parameters for Django staticfilesDjango
- [ERROR] InnoDB: Unable to lock ./ibdata1, error: 11Error
- ThunderSoft File Lock for Mac檔案鎖Mac
- ubuntu解決Could not get lock /var/lib/dpkg/lock-frontendUbuntu
- 高手sos!!! Unable to load document from file...
- Linux報錯:Could not get lock /var/lib/dpkg/lock-frontendLinux
- curl, fsockopen ,file_get_contents
- file_get_contents和fsockopen
- VMware vmdk錯誤: Failed to lock the file.AI
- ORA-31617 unable to open dump file for write
- Unable to View Chinese Font When Using Tools>Copy FileView
- 打補丁報錯Opatch error : "Unable to lock Central InventoryError
- mysql之 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 11MySqlError
- Android:Unexpected lock protocol found in lock file. Expected 3, found 0.AndroidProtocol
- kafka啟動報錯:kafka.common.KafkaException: Failed to acquire lock on file .lockKafkaExceptionAIUI
- Ubuntu Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)UbuntuAPTAI
- "Visual Studio Code is unable to watch for file changes in this large workspace"
- 【伺服器】關於錯誤:Smarty:unable to write file伺服器
- [GuzzleHttp\Exception\RequestException] cURL error 60: SSL certificate problem: unable to get localHTTPExceptionError
- GIT clone報錯: SSL certificate problem: unable to get local issuer certificateGit
- ORA-09925: Unable to create audit trail file彙總AI
- 【rac故障】root.sh報錯Unable to get VIP info for new node
- MySQL 5.7.17 安裝報錯SSL error: Unable to get private key fromMySqlError
- ORA-30926: unable to get a stable set of rows in the source tables