远程weblogic服务器标识异常

远程weblogic服务器标识异常,weblogic,weblogic12c,Weblogic,Weblogic12c,当我尝试从本地机器启动weblogic服务器(在另一台服务器上运行)时,我发现以下错误。我可以毫无问题地停止这个weblogic服务器,但我无法启动。boot.properties文件中有用户名和密码字段,但我不知道它们是什么。有什么想法吗 <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitia

当我尝试从本地机器启动weblogic服务器(在另一台服务器上运行)时,我发现以下错误。我可以毫无问题地停止这个weblogic服务器,但我无法启动。boot.properties文件中有用户名和密码字段,但我不知道它们是什么。有什么想法吗

<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:960)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:148)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace

您可以在boot.properties文件中保存用户名和密码

在生产模式下,boot.properties文件不存在。需要在中创建此文件

$DOMAIN_HOME/servers/AdminServer/security
我认为您需要检查此路径和此属性。可能是密码或用户名不正确

显示如何创建和查找此属性

如果找不到或无法重写,则可以在不使用boot.properties文件的情况下启动服务器:

java -Dweblogic.management.username=username-Dweblogic.management.password=password -Dweblogic.system.StoreBootIdentity=true -Dweblogic.Name=myAdminServer weblogic.Server
这个脚本,我在


编辑:

现在我发现了一些有用的提示

  • 编辑boot.properties文件,使用纯文本用户名和密码,而不是加密的用户名和密码,如: 用户名:weblogic 密码:Weblogic1 从命令行启动服务器后,它将自动再次加密。
  • 完全删除ManagedServerDir/data/ldap目录。
  • 删除文件之前,请始终保留文件备份
  • 现在尝试从命令提示符启动服务器,并提供用于登录管理控制台的用户名/密码
  • 并从以下站点找到此提示:

    我认为在尝试这些技巧之前,您应该检查您的域的身份验证提供商。如果是外部的,则可能需要从外部ldap重置密码

    如果本地存在,还可以移动ldap dir和boot.properties文件

    唯一的区别是服务器是通过管理员启动的 Console/WLST是指您还必须移动nodemanager目录 现在是doamin_home/servers/ms1/data/nodemanager



    我希望这些建议对你有帮助。如果没有,请尝试删除用户名和密码(不需要删除文件中的
    username=
    )在所有boot.properties文件中并从头开始…

    只需删除文件ManagedServerDir/data/ldap&restart domain yourdomain/bin./startwebogic.sh

    我在boot.properties中意外更改用户名和密码时出现此错误,我花了一段时间才找出原因。 它有加密的用户名和密码,这是出于安全目的,要重置它,我必须删除加密的用户名和密码,并以该文件预期的相同模式输入正确的用户名和密码。但weblogic启动仍然失败,原因是LDAP连接,它使用了我之前输入的错误凭据,因此我从servers文件夹中删除了“data”文件夹以及tmp、缓存和安全性。它的工作原理是使用新的weblogic凭据创建ldap


    在服务器目录中进行任何更改时保留备份,以便在解决方法无效时恢复。

    我有boot.properties文件,保存了用户名和密码,但错误仍在继续。问题是我可以在本地启动这个weblogic服务器,但我不能远程启动它。我需要做些额外的事情吗?你有简单的管理服务器还是更多的服务器?您可以检查节点管理器boot.properties吗?您可以在
    DOMAIN\u HOME/servers/server\u name/data/nodemanager
    中找到。但是如果您可以在本地启动weblogic,那么这不是一个错误的用户名/密码问题。如何在本地和远程启动weblogic?我在远程计算机“AdminServer”和“myServer”上有两个服务器实例。我的本地机器上还有两台服务器,分别称为“AdminServer”和“myServer”(此服务器指向远程“myServer”)。我可以从管理控制台在远程机器上启动“myServer”,没有任何问题,但当我尝试使用管理控制台从本地机器上再次运行“myServer”时,会出现此错误。我删除了ldap目录,并将用户名和密码改为纯文本。在我远程启动服务器后,它再次创建ldap目录并加密用户名和密码,但错误仍在继续。我发现有很多人在处理这个错误,其中很多人无法解决。Oracle论坛上有数百个关于此错误的主题,但没有一个得到解决。我认为要么这个错误是一个bug,要么weblogic服务器不完全支持集群。