Weblogic console控制台密碼更改后導致重啟服務失敗


weblogic版本10.3.3.0 

更改控制台密碼后,服務重啟失敗,報錯如下:

--------------------------------------------------------------------------------------------------

<2013-10-8 23:40:04> <INFO> <NodeManager> <Server output log file is '/home/weblogic/nodemanager/servers/Server-1/logs/Server-1.out'>

<2013-10-8 下午11時40分06秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 19.0-b09 from Sun Microsystems Inc.>

<2013-10-8 下午11時40分07秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >

<2013-10-8 下午11時40分08秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>

<2013-10-8 下午11時40分08秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>

<2013-10-8 下午11時40分08秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file /home/weblogic/nodemanager/servers/Server-1/logs/Server-1.log is opened. All server side log events will be written to this file.>

<2013-10-8 下午11時40分12秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>

<2013-10-8 下午11時40分12秒 CST> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.>

<2013-10-8 下午11時40分12秒 CST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.

weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.

at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:959)

at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)

at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)

at weblogic.security.SecurityService.start(SecurityService.java:141)

at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

Truncated. see log file for complete stacktrace

Caused By: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User weblogic javax.security.auth.login.FailedLoginException: [Security:090302]Authentication Failed: User weblogic denied

at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:250)

at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)

at java.security.AccessController.doPrivileged(Native Method)

at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Truncated. see log file for complete stacktrace

--------------------------------------------------------------------------------------------------

原因是:安全文件boot.properties中的username、password未更改

修改密碼的完整操作如下(沒試驗過):

1、登錄weblogic控制台 Security Realms--myrealm--Users and Groups--點擊需要修改密碼的用戶--passwords 修改密碼

2、進入受管理服務端,修改當前domain下面的boot.properties文件中的usernamepassword(原文件中的已加密,可改為明文,重啟后會自動加密)

    位置:安裝路徑\domains\自定義domain名稱\servers\AdminServer\security\boot.properties

  注意:所有的節點受控端都需更改

3、需要刪除當前domain目錄下面ldap目錄

   位置:安裝路徑\domains\自定義domain名稱\servers\AdminServer\data\ldap

     注意:所有的節點受控端都需更改

4、重啟服務

如下文章也有相應說明:

http://blog.chinaunix.net/uid-22340094-id-16785.html 

http://benbenming.iteye.com/blog/347590

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM