ADMR0104E- Unable to read document

ไม่สามารถ start Dmgr ได้เพราะมีการเปลี่ยนจาก root ที่ start เป็น user อื่น

ปัญหาที่เจอในระบบงานเพราะมีบาง directory ที่อ้างอิงยังเป็น root อยู่
เช่น 1. /appserver/config/temp
       2. /appserver/logs/ffdc

วิธีแก้ คือเปลี่ยน ภายใต้ directory นั้น ให้เป็นของ user ก็พอ (chown)


While we were trying to deploy an application on WAS 6.0.2.19 .. we had the following errors:
0000002e FileDocument  E   ADMR0104E: The system is unable to read document cells/server/nodes/nodename/perftuners.xml: java.io.IOException: The file access permissions do not allow the specified action.
0000002e WorkSpaceMast E   Unable to create temp file for document: cells/server/nodes/nodename/perftuners.xml
0000002e ServerRuleDri E  perfalert.Exception.errorjava.security.PrivilegedActionException: com.ibm.ws.sm.workspace.WorkSpaceException: WKSP0012E Exception when while extracting cells/server/nodes/nodename/perftuners.xml from Config Repository–com.ibm.websphere.management.exception.DocumentIOException: Unable to create temp file for document: cells/CU01-tx8aiuci00230/nodes/NU01-tx8aiuci00230/perftuners.xml
[7/14/09 13:40:47:586 CDT] 0000002e ServerRuleDri E   perfalert.Exception.error
We figured out the error is mainly beacuse of the permissions issue.
Some files are owned by root user which is preventing the was user to write the files to tmp directory which are created while deploying the application .


Work Around:
1. check who owns:  /appserver/config/temp
2. check who owns: /appserver/logs/ffdc
3. If possible try to chown everything under /Appserver and  /DMGR to wasuser. If any files are not owned by wasuser they will be displayed.



Ref: 1 , 2 , 3

2 ความคิดเห็น:

Unknown กล่าวว่า...

เอิ่ม ... ผิดที่เป็น wasuser ไปยุ่มยามอะไรกับของคนอื่นเขา อิอิ

hlex กล่าวว่า...

Thank,

command to fix: find . -user root | xargs chown wasuser

แสดงความคิดเห็น

top