weblogic启动失败 Authentication denied: Boot identity not valid

问题登场

···
<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.
···

相关操作

因为之前weblogic console 登录密码过于简单,因此登录console 把密码改成了一个较为复杂的密码。重启weblogic 后发现,启动失败,报错见《问题登场》。

解决过程

cd Middleware/user_projects/domains/base_domain/servers/AdminServer/data

ll
total 12
drwxr-----. 2 weblogic oinstall 4096 Jul 26 04:58 console
drwxr-----. 7 weblogic oinstall 4096 Sep 25 14:31 ldap
drwxr-----. 4 weblogic oinstall 4096 Jul 26 04:58 store

mv ldap/ /tmp ,移走 /ldap
cd Middleware/user_projects/domains/base_domain/servers/AdminServer/security
移走 boot.properties,然后 vi boot.properties,手动输入

username=weblogic
password=weblogic$RF

这里,password 我输入的密码较复杂的新密码,然后weblogic 死活起不来!最后,输入之前的老密码,ldap 文件夹重新移走,ps -ef | grep weblogic 把相关的进程全部杀掉,然后重启weblogic :

nohup  Middleware/user_projects/domains/base_domain/bin/startWebLogic.sh &

注意,这里使用自己环境的路径。

<Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING> 
<Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode> 

终于成功了!
然后启动 nodemanager

nohup ./startNodeManager.sh &

<Sep 25, 2019 3:18:10 PM> <INFO> <Secure socket listener started on port 5556>
Sep 25, 2019 3:18:10 PM weblogic.nodemanager.server.SSLListener run
INFO: Secure socket listener started on port 5556

启动成功了!

写在最后

如果觉得文章不错,不妨给个打赏,写作不易,各位的支持,能激发和鼓励我的写作热情,谢谢!
在这里插入图片描述

发布了13 篇原创文章 · 获赞 0 · 访问量 3055

猜你喜欢

转载自blog.csdn.net/Alan1921/article/details/101366339
今日推荐