weblogic启动节点管理器报错

weblogic基本信息:10.3.6

启动节点管理器命令

nohup ./startManagedWebLogic.sh servername http://ip:port >> ./nohhup.out &;

报错信息

<2019-3-4 上午03时02分25秒 GMT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> 
<2019-3-4 上午03时02分26秒 GMT> <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.> 
<2019-3-4 上午03时02分26秒 GMT> <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: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:090303]Authentication Failed: User weblogic weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090295]caught unexpected exception
	at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:251)
	at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
	at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	Truncated. see log file for complete stacktrace

问题原因排查

根据报错信息,是由于boot.properties文件中配置的username和/或password错误,查看该文件后,发现文件内容正确。

重新编辑该文件,重启,仍报相同错误。

考虑管理服务器未启动,将管理服务器启动后,再启动节点管理服务器,启动正常。

总结

由boot.properties文件导致weblogic服务器启动失败,原因归结如下:

1. 配置的username、password不对,错误日志中会提示认证失败或认证被拒绝;

2. 启动节点管理服务器,管理服务器未启动;

3. 第一次启动后,username和password被加密,但服务器并未启动成功,再次启动可能也会报类似认证错误,可将boot.properties文件中username和password修改为明文,尝试再次启动。

另,可查看对应server节点下的日志,路径/home/welogic/domains/base_domain/servers/server_name/logs(根据自己部署目录,查看对应目录),一般在server的logs内,会有更详尽的错误信息,帮助你更准确地定位问题。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值