weblogic 啓動 startWebLogic.sh

weblogic 啓動 startWebLogic.sh 的時候報錯。

Error creating logFile: /opt/pinweb/10_3domains/base_domain/servers/AdminServer/data/ldap/log/EmbeddedLDAP.log (Permission denied (errno:13))
<Sep 5, 2016 2:45:34 PM GMT+08:00> <Error> <EmbeddedLDAP> <BEA-000000> <Error opening the Transaction Log: /opt/pinweb/10_3domains/base_domain/servers/AdminServer/data/ldap/ldapfiles/EmbeddedLDAP.tran (Permission denied (errno:13))> 
<Sep 5, 2016 2:45:34 PM GMT+08:00> <Error> <EmbeddedLDAP> <BEA-000000> <Error Instantiating 'dc=base_domain': null> 
<Sep 5, 2016 2:45:34 PM GMT+08:00> <Critical> <EmbeddedLDAP> <BEA-171522> <An error occurred while initializing the Embedded LDAP Server. The exception thrown is java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard. This may indicate a problem with the data files for the Embedded LDAP Server. If the problem is with the data files and it can not be corrected, backups of previous versions of the data files exist in /opt/pinweb/10_3domains/base_domain/servers/AdminServer/data/ldap/backup.> 
<Sep 5, 2016 2:45:34 PM GMT+08:00> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: 

There are 1 nested errors:

java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard
        at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:303)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

緣由是:

啓動的時候用了不一樣的帳戶啓動。首先用了root 啓動,致使一些啓動文件的權限是root,後面再用其它用戶啓動的時候沒法寫這些文件。java

解決方法:

修改相關文件夾的權限,統一下來。web

相關文章
相關標籤/搜索