weblogic啟動失敗案例(root啟動引起的權限問題)

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用戶后,啟動的時候就會出現權限問題,所以報告上面的錯誤。這個錯誤就是因為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

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/391835.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/391835.shtml
英文地址,請注明出處:http://en.pswp.cn/news/391835.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

HTTP請求示例

HTTP請求格式當瀏覽器向Web服務器發出請求時&#xff0c;它向服務器傳遞了一個數據塊&#xff0c;也就是請求信息&#xff0c;HTTP請求信息由3部分組成&#xff1a;l 請求方法URI協議/版本l 請求頭(Request Header)l 請求正文下面是一個HTTP請求的例子&#xff1a;GET/sa…

Bootstrap——可拖動模態框(Model)

還是上一個小項目&#xff0c;o(╥﹏╥)o&#xff0c;要實現點擊一個div或者button或者一個東西然后可以彈出一個浮在最上面的彈框。網上找了找&#xff0c;發現Bootstrap的Model彈出框可以實現該功能&#xff0c;因此學習了一下&#xff0c;實現了基本彈框功能&#xff08;可拖…

mfcc中的fft操作_簡化音頻數據:FFT,STFT和MFCC

mfcc中的fft操作What we should know about sound. Sound is produced when there’s an object that vibrates and those vibrations determine the oscillation of air molecules which creates an alternation of air pressure and this high pressure alternated with low …

leetcode 765. 情侶牽手(并查集)

N 對情侶坐在連續排列的 2N 個座位上&#xff0c;想要牽到對方的手。 計算最少交換座位的次數&#xff0c;以便每對情侶可以并肩坐在一起。 一次交換可選擇任意兩人&#xff0c;讓他們站起來交換座位。 人和座位用 0 到 2N-1 的整數表示&#xff0c;情侶們按順序編號&#xff…

ariel字體_播客第58集:軟件開發人員和freeCodeCamp超級巨星Ariel Leslie

ariel字體On this weeks episode of the freeCodeCamp.org podcast, Abbey interviews Ariel Leslie, a software developer and avid contributor to the freeCodeCamp community.在本周的freeCodeCamp.org播客節目中&#xff0c;Abbey采訪了Ariel Leslie&#xff0c;他是free…

PHP繪制3D圖形

PEAR提供了Image_3D Package來創建3D圖像。圖像或光線在3D空間中按照X、Y 、Z 坐標定位。生成的圖像將呈現在2D空間中&#xff0c;可以存儲為 PNG、SVG 格式&#xff0c;或輸出到Shell。通過Image_3D可以很方便生成一些簡單的3D對象&#xff0c;例如立方體、錐體、球體、文本和…

清除日志的sql

SET NOCOUNT ONDECLARE LogicalFileName sysname,MaxMinutes INT,NewSize INTUSE cms -- 要操作的數據庫名SELECT LogicalFileName cms_log, -- 日志文件名MaxMinutes 10, -- Limit on time allowed to wrap log.NewSize 100 -- 你想設定的日志文件的大小(M)-- Setup / init…

r語言怎么以第二列繪制線圖_用衛星圖像繪制世界海岸線圖-第二部分

r語言怎么以第二列繪制線圖Part I of this blog series is here.本博客系列的第一部分 在這里 。 At the UKHO we are interested in the oceans, the seabed and the coastline — not to mention everything in and on them! In our previous blog, we (the UKHO Data Scien…

javascript創建類_如何在10分鐘內使用JavaScript創建費用管理器

javascript創建類by Per Harald Borgen通過Per Harald Borgen 如何在10分鐘內使用JavaScript創建費用管理器 (How to create an expense organizer with JavaScript in 10 minutes) 讓我們使用ES6和Dropbox API來防止收據變得混亂。 (Let’s use ES6 and the Dropbox API to k…

豆瓣API

Api V2 索引 圖書Api V2 電影Api V2 音樂Api V2 同城Api V2 廣播Api V2 用戶Api V2 日記Api V2 相冊Api V2 線上活動Api V2 論壇Api V2 回復Api V2 我去Api V2 https://developers.douban.com/wiki/?titleapi_v2 搜索圖書 GET https://api.douban.com/v2/book/search參數意義…

leetcode 485. 最大連續1的個數

給定一個二進制數組&#xff0c; 計算其中最大連續1的個數。 示例 1: 輸入: [1,1,0,1,1,1] 輸出: 3 解釋: 開頭的兩位和最后的三位都是連續1&#xff0c;所以最大連續1的個數是 3. 解題思路 遇到0時&#xff0c;將連續1的長度歸零。遇到1時&#xff0c;累加進長度 代碼 c…

HDU Today

經過錦囊相助&#xff0c;海東集團終于度過了危機&#xff0c;從此&#xff0c;HDU的發展就一直順風順水&#xff0c;到了2050年&#xff0c;集團已經相當規模了&#xff0c;據說進入了錢江肉絲經濟開發區500強。這時候&#xff0c;XHD夫婦也退居了二線&#xff0c;并在風景秀美…

JSP基礎--動作標簽

JSP基礎--動作標簽 JSP動作標簽 1 JSP動作標簽概述 動作標簽的作用是用來簡化Java腳本的&#xff01; JSP動作標簽是JavaWeb內置的動作標簽&#xff0c;它們是已經定義好的動作標簽&#xff0c;我們可以拿來直接使用。 如果JSP動作標簽不夠用時&#xff0c;還可以使用自定義標…

整數存儲怎么轉化為浮點數_非整數值如何存儲在浮點數中(以及為什么要浮點數)...

整數存儲怎么轉化為浮點數by Shukant Pal通過Shukant Pal 非整數值如何存儲在浮點數中(以及為什么要浮點數) (How non-integer values are stored in a float (and why it floats)) Did you ever think how computers work on floating-point numbers? I mean — where does …

rcp rapido_Rapido使用數據改善乘車調度

rcp rapidoGiven our last blog post of the series, which can be found here :鑒于我們在該系列中的最后一篇博客文章&#xff0c;可以在這里找到&#xff1a; We thought it would be helpful to explain how we implemented all of the above into an on-ground experimen…

LeetCode 695. Max Area of Island javascript解決方案

題意&#xff1a; 尋找最大島。leetcode.com/problems/ma… 傳入&#xff1a; [[0,0,1,0,0,0,0,1,0,0,0,0,0], [0,0,0,0,0,0,0,1,1,1,0,0,0], [0,1,1,0,1,0,0,0,0,0,0,0,0], [0,1,0,0,1,1,0,0,1,0,1,0,0], [0,1,0,0,1,1,0,0,1,1,1,0,0], [0,0,0,0,0,0,0,0,0,0,1,0,0], [0…

Mybatis—代理開發和核心配置文件深入

代理開發方式介紹 采用 Mybatis 的代理開發方式實現 DAO 層的開發&#xff0c;這種方式是我們后面進入企業的主流。 Mapper 接口開發方法只需要程序員編寫Mapper 接口&#xff08;相當于Dao 接口&#xff09;&#xff0c;由Mybatis 框架根據接口定義創建接口的動態代理對象&a…

mysql 位操作支持

mysql 支持位操作。 & 位與 &#xff5c; 位或 例如&#xff1a;update car_ins_fee_entity set change_status(change_status | 1) where id12356轉載于:https://www.cnblogs.com/sign-ptk/p/7278225.html

SSRS:之為用戶“NT AUTHORITY\NETWORK SERVICE”授予的權限不足,無法執行此操作。 (rsAccessDenied)...

錯誤信息&#xff1a;為用戶“NT AUTHORITY\NETWORK SERVICE”授予的權限不足&#xff0c;無法執行此操作。 (rsAccessDenied)如圖&#xff1a;解決方案之檢查順序&#xff1a;1.檢查報表的執行服務帳戶。使用“ Reporting Services 配置管理器”。2.檢查數據庫安全 - 登錄名 中…

javascript函數式_如何以及為什么在現代JavaScript中使用函數式編程

javascript函數式by PALAKOLLU SRI MANIKANTA通過PALAKOLLU SRI MANIKANTA In this article, you will get a deep understanding of functional programming and its benefits.在本文中&#xff0c;您將對函數式編程及其好處有深入的了解。 函數式編程簡介 (Introduction To…