Resolve Weblogic The persistent store “_WLS_AdminServer” could not be deployed Error
If you encounter the weblogic persistent store error, try the solution below.
#### <> <The persistent store "_WLS_AdminServer" could not be deployed: weblogic.store.PersistentStoreException: [Store:2
80105]The persistent file store "_WLS_AdminServer" cannot open file _WLS_ADMINSERVER000000.DAT.
weblogic.store.PersistentStoreException: [Store:280105]The persistent
file store "_WLS_AdminServer" cannot open file
_WLS_ADMINSERVER000000.DAT.
at weblogic.store.io.file.Heap.open(Heap.Java:325)
at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:104)
at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:431)
at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:422)
at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:126)
at weblogic.store.admin.FileAdminHandler.activate(FileAdminHandler.java:191)
at weblogic.store.admin.DefaultStoreService.start(DefaultStoreService.java:60)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11
at weblogic.store.io.file.direct.DirectIONative.openConsiderLock(Native Method)
at weblogic.store.io.file.direct.DirectFileChannel.(DirectFileChannel.java:54)
at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:179)
at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:112)
at weblogic.store.io.file.StoreFile.openDirect(StoreFile.java:168)
at weblogic.store.io.file.Heap.openStoreFile(Heap.java:388)
at weblogic.store.io.file.Heap.open(Heap.java:315)
at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:104)
at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:431)
at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:422)
at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:126)
at weblogic.store.admin.FileAdminHandler.activate(FileAdminHandler.java:191)
at weblogic.store.admin.DefaultStoreService.start(DefaultStoreService.java:60)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
#### <> <Server failed. Reason:
There are 1 nested errors:
weblogic.management.DeploymentException:
at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:129)
at weblogic.store.admin.FileAdminHandler.activate(FileAdminHandler.java:191)
at weblogic.store.admin.DefaultStoreService.start(DefaultStoreService.java:60)
上午查了一下,解决办法如下:
The problem is if you kill the Weblogic startWebLogic process via kill -9, you’ll have this issue.
To fix it, do the following:
1. Find the “*.DAT” file in user_projects/domains/base_domains directory and remove it.
2. Remove all the lock files such as “EmbeddedLDAP.lok” and “AdminServer.lok” and “config.lok”
3. Use netstat -lntp to find out which process listen to your serverport, kill the process via kill -9
4. Try to start again.
一般的.dat文件在/servers/AdminServer/data/store目录下面