{"id":5662,"date":"2016-04-13T13:44:44","date_gmt":"2016-04-13T05:44:44","guid":{"rendered":"http:\/\/rmohan.com\/?p=5662"},"modified":"2016-04-13T13:44:44","modified_gmt":"2016-04-13T05:44:44","slug":"there-was-an-error-while-opening-the-file-store-file-wls_diagnostics000000-dat","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=5662","title":{"rendered":"There was an error while opening the file store file &#8220;WLS_DIAGNOSTICS000000.DAT"},"content":{"rendered":"<h3><b>Error Message :\u00a0<\/b><\/h3>\n<div>\n<div><\/div>\n<\/div>\n<div>\n<div>&lt;Critical&gt; &lt;WebLogicServer&gt; &lt;marsvca1&gt; &lt;AdminServer&gt; &lt;main&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;&gt; &lt;1352125428677&gt; &lt;BEA-000362&gt; &lt;Server failed. Reason:<\/div>\n<\/div>\n<div>\nweblogic.diagnostics.lifecycle.DiagnosticComponentLifecycleException: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error whi<\/div>\n<div>le opening the file store file &#8220;WLS_DIAGNOSTICS000000.DAT&#8221;<\/div>\n<div>[Store:280021]There was an error while opening the file store file &#8220;WLS_DIAGNOSTICS000000.DAT&#8221;<\/div>\n<div><\/div>\n<div>Error from fcntl() for file locking, Resource temporarily unavailable, errno=11<\/div>\n<div><\/div>\n<h3><b>Why is this error displayed :\u00a0<\/b><\/h3>\n<div>\n<div><b>\u00a0<\/b><\/div>\n<\/div>\n<div>\n<div>This error is\u00a0displayed\u00a0when the NFS system does not\u00a0release\u00a0the lock on the weblogic stores. Weblogic Application server maintains locks on the files that are used for storing the data and\u00a0transaction\u00a0logs to protect the files from data corruption\u00a0in case\u00a0of two instances of the same weblogic applicaiton server are started accidentally. If the server is shutdown abruptly or is crashed, Many times the locks are no\u00a0released, As a result when the weblogic application server is restarted, The server will fail to acquire locks that are\u00a0previously\u00a0locked.<\/div>\n<\/div>\n<div>\n<div><\/div>\n<\/div>\n<div>\n<h3>Solution :<span class=\"Apple-converted-space\">\u00a0<\/span><\/h3>\n<\/div>\n<div>\n<div><\/div>\n<\/div>\n<div>\n<div>Delete the .Dat and .lok files from the following respective directories and restart the server.<\/div>\n<\/div>\n<div>\n<div><\/div>\n<\/div>\n<h4><b>Paths for Admin Server :\u00a0<\/b><\/h4>\n<div>\n<div><b>\u00a0<\/b><\/div>\n<\/div>\n<div>\n<div>$DOMAIN_HOME\/servers\/&lt;server name&gt;\/tmp\/Adminserver.lok<\/div>\n<\/div>\n<div>\n<div>$DOMAIN_HOME\/servers\/&lt;server name&gt;\/data\/ldap\/ldapfiles\/Embedded.lok<\/div>\n<div>$DOMAIN_HOME\/servers\/&lt;server name&gt;\/data\/store\/default\/_WLS_ADMINSERVER000000.DAT<\/div>\n<div>$DOMAIN_HOME\/servers\/&lt;server name&gt;\/data\/store\/diagnostics\/WLS_DIAGNOSTICS000000.DAT<\/div>\n<\/div>\n<div>\n<div><\/div>\n<\/div>\n<h4><b>Path for Managed Servers :\u00a0<\/b><\/h4>\n<div>\n<div><b>\u00a0<\/b><\/div>\n<\/div>\n<div>\n<div>$DOMAIN_HOME\/servers\/&lt;server name&gt;\/tmp\/&lt;servername&gt;.lok<\/div>\n<div>$DOMAIN_HOME\/servers\/&lt;server name&gt;\/data\/ldap\/ldapfiles\/Embedded.lok<\/div>\n<div>$DOMAIN_HOME\/servers\/&lt;server name&gt;\/data\/ldap\/store\/default\/_WLS_&lt;servername&gt;000000.DAT<\/div>\n<div>$DOMAIN_HOME\/servers\/&lt;server name&gt;\/data\/ldap\/store\/diagnostics\/WLS_DIAGNOSTICS000000.DAT<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Error Message : &lt;Critical&gt; &lt;WebLogicServer&gt; &lt;marsvca1&gt; &lt;AdminServer&gt; &lt;main&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;&gt; &lt;1352125428677&gt; &lt;BEA-000362&gt; &lt;Server failed. Reason: weblogic.diagnostics.lifecycle.DiagnosticComponentLifecycleException: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error whi le opening the file store file &#8220;WLS_DIAGNOSTICS000000.DAT&#8221; [Store:280021]There was an error while opening the file store file &#8220;WLS_DIAGNOSTICS000000.DAT&#8221; Error from fcntl() for file locking, Resource temporarily unavailable, errno=11 Why is [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5662"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5662"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5662\/revisions"}],"predecessor-version":[{"id":5663,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5662\/revisions\/5663"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}