{"id":3709,"date":"2014-11-06T08:20:03","date_gmt":"2014-11-06T00:20:03","guid":{"rendered":"http:\/\/rmohan.com\/?p=3709"},"modified":"2014-11-06T08:20:03","modified_gmt":"2014-11-06T00:20:03","slug":"resolving-admr0104e-for-application-server","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=3709","title":{"rendered":"Resolving ADMR0104E for Application Server"},"content":{"rendered":"<p>This write up serve to record the resolution for the ADMR0104E error encountered by Websphere Application server during start up. The Application Server eventually is unable to start up.<\/p>\n<p>From &#8220;SystemOut.log&#8221;, we see that the system is unable to read some properties file.<\/p>\n<p>[6\/27\/12 12:08:35:103 SGT] 00000000 FileDocument  E   ADMR0104E: The system is unable to read document cells\/Cell01\/nodes\/Node01\/node-metadata.properties: java.io.IOException: Permission denied<br \/>\n        at java.io.File.checkAndCreate(File.java:1715)<br \/>\n        at java.io.File.createTempFile(File.java:1803)<br \/>\n        at com.ibm.ws.management.repository.FileDocument.createTempFile(FileDocument.java:564)<br \/>\n        at com.ibm.ws.management.repository.FileDocument.read(FileDocument.java:500)<br \/>\n        at com.ibm.ws.management.repository.FileRepository.extractInternal(FileRepository.java:1134)<\/p>\n<p>Some research and checks revealed that the permissions on the temp directory under the application server profile had been changed. The application server would then be no longer able to write to the temp directory for the node in the below directory.<\/p>\n<p># ls -ltr<br \/>\ntotal 0<br \/>\ndrwxr-xr-x    3 root     system          256 Jun 27 11:54 download<\/p>\n<p>The cause of this is the start up of the application server using root. That&#8217;s the reason why the above temp directory is owned by root.<\/p>\n<p>Potentially, you should check the ffdc directory as well.<\/p>\n<p># ls -l \/\/AppSrv01\/logs\/ | grep ffdc<br \/>\ndrwxr-xr-x    2 appusr   appgrp        49152 Jun 27 13:50 ffdc<\/p>\n<p>Research from the internet, the directory owner and the process execution user should be in the same group and be at least of permission 774. TO be fail safe, change the ownership\/group as required under \/\/profiles\/ and \/\/profiles\/.<\/p>\n<p>Once the ownership is reverted back to &#8220;appusr&#8221;, we should see the result as below.<\/p>\n<p># chown -R appusr:appgrp  download<\/p>\n<p># ls -ltr<br \/>\ntotal 0<br \/>\ndrwxr-xr-x    3 appusr   appgrp          256 Jun 27 11:54 download<\/p>\n<p>The Application server is able to start up now. <\/p>\n<p>[6\/27\/12 12:21:56:692 SGT] 00000000 AdminTool     A   ADMU3000I: Server appsrv open for e-business; process id is 4128910{code}<\/p>\n<p>We can also check the process execution of the application server in order to compare to the file system permissions, one can do the following:<\/p>\n<p>1. Open the admin console<br \/>\n2. Open Servers \u2013> Application Servers \u2013><br \/>\n3. Open Java Process Management \u2013> Server Execution<br \/>\n4. Look for username and group of executing user<\/p>\n<p>Thats all.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This write up serve to record the resolution for the ADMR0104E error encountered by Websphere Application server during start up. The Application Server eventually is unable to start up.<\/p>\n<p>From &#8220;SystemOut.log&#8221;, we see that the system is unable to read some properties file.<\/p>\n<p>[6\/27\/12 12:08:35:103 SGT] 00000000 FileDocument E ADMR0104E: The system is unable to [&#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\/3709"}],"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=3709"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3709\/revisions"}],"predecessor-version":[{"id":3710,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/3709\/revisions\/3710"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}