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,后面再用其它用户启动的时候无法写这些文件。

解决方法:

修改相关文件夹的权限,统一下来。

 

 

转载于:https://my.oschina.net/u/2308739/blog/742600

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值