日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

weblogic启动失败案例(root启动引起的权限问题)

發(fā)布時間:2023/11/30 编程问答 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 weblogic启动失败案例(root启动引起的权限问题) 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

weblogic的一個domain啟動失敗,在日志中有如下信息提示:

***************************************************
*??To start WebLogic Server, use a username and???*
*??password assigned to an admin-level user.??For *
*??server administration, use the WebLogic Server *
*??console at?http://[hostname]:[port]/console????*
***************************************************
<Mar 15, 2012 5:26:13 PM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R26.3.0-32_CR283061-63465-1.4.2_10-20060620-1808-linux-ia32 from BEA Systems, Inc.>
<Mar 15, 2012 5:26:13 PM CST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<Mar 15, 2012 5:26:13 PM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP6??Wed Jun 21 08:18:55 PDT 2006 781680
WebLogic XMLX Module 8.1 SP6??Wed Jun 21 08:18:55 PDT 2006 781680 >
<Mar 15, 2012 5:26:13 PM CST> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at /app/bea/user_projects/domains/snwssb_glpt/./config.xml.>
<Mar 15, 2012 5:26:15 PM CST> <Notice> <Log Management> <BEA-170019> <The server log file /app/bea/user_projects/domains/snwssb_glpt/sn_wssb_glpt/sn_wssb_glpt.log is opened. All server side log events will be written to this file.>
Error creating logFile: ./sn_wssb_glpt/ldap/log/EmbeddedLDAP.log (Permission denied)
<Mar 15, 2012 5:26:15 PM CST> <Error> <EmbeddedLDAP> <000000> <Error opening the Transaction Log: ./sn_wssb_glpt/ldap/ldapfiles/EmbeddedLDAP.tran (Permission denied)>
<Mar 15, 2012 5:26:15 PM CST> <Error> <EmbeddedLDAP> <000000> <Error Instantiating 'dc=snwssb_glpt': null>
<Mar 15, 2012 5:26:15 PM CST> <Critical> <EmbeddedLDAP> <BEA-171522> <An error occurred while initializing the Embedded LDAP Server. The exception thown is java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot. 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 ./sn_wssb_glpt/ldap/backup.>
<Mar 15, 2012 5:26:15 PM CST> <Critical> <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:weblogic.server.ServiceFailureException: Error initializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot]
java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot
?at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:273)
?at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
?at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
?at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
?at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.server.ServiceFailureException: Error initializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot]
?at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:283)
?at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
?at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
?at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
?at weblogic.Server.main(Server.java:32)
>
<Mar 15, 2012 5:26:15 PM CST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: weblogic.server.ServiceFailureException: Error initializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot]>
***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: 'weblogic.server.ServiceFailureException: Error initializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot]'
Reason: weblogic.server.ServiceFailureException: Error initializing Embedded LDAP Server - with nested exception:
[java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot]
***************************************************************************

在用root用戶啟動weblogic的時候會在所在域里產生root權限的文件,或者用root權限的文件覆蓋了部分原來存在的weblogic用戶所屬文件,當再次切換到weblogic用戶后,啟動的時候就會出現(xiàn)權限問題,所以報告上面的錯誤。這個錯誤就是因為EmbeddedLDAP.tran文件的權限變成了root的。

解決方法:

用root用戶登錄,將EmbeddedLDAP.log賦權給weblogic用戶。但是還有一系列的log文件需要賦權。索性把domains下的所有應用全部賦權。

[root@mnhj02 ~]# chown -R weblogic:weblogic domains_dir

前一個weblogic是用戶,后一個weblogic是用戶所屬組,domains_dir是文件所在的路徑。

轉載于:https://www.cnblogs.com/tspgz/p/7272224.html

總結

以上是生活随笔為你收集整理的weblogic启动失败案例(root启动引起的权限问题)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。