关于weblogic11g中wlst工具连接AdminServer失败的问题

deepsea2011 2019-06-13 09:29:49
我在weblogic10.3.6上通过config.sh创建了一个base_domain,只配置了一个AdminServer,通过base_domain/bin/startWebLogic.sh启动AdminiServer,可以启动成功,并且通过http://192.168.137.23:7001/console 输入用户名密码后正常可以访问console。

但是如果通过wlst工具启动AdminiServer后,通过http://192.168.137.23:7001/console 输入用户名密码后无法访问console。

操作系统为centos6.8 64位,JDK版本:jdk1.7.0_80

1、wlst.sh启动server的记录:
`wls:/offline> startServer('AdminServer','base_domain','t3://192.168.137.23:7001')
Starting weblogic server ...
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:35 PM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:35 PM CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:39 PM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 24.80-b11 from Oracle Corporation>
.WLST-WLS-1560346833567: <Jun 12, 2019 9:40:40 PM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
.WLST-WLS-1560346833567: <Jun 12, 2019 9:40:41 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:42 PM CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:42 PM CST> <Notice> <LoggingService> <BEA-320400> <The log file /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:42 PM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/AdminServer.log00009. Log messages will continue to be logged in /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/AdminServer.log.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:42 PM CST> <Notice> <Log Management> <BEA-170019> <The server log file /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
.WLST-WLS-1560346833567: <Jun 12, 2019 9:40:45 PM CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
..WLST-WLS-1560346833567: <Jun 12, 2019 9:40:49 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:49 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:49 PM CST> <Notice> <LoggingService> <BEA-320400> <The log file /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/base_domain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:49 PM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/base_domain.log00009. Log messages will continue to be logged in /u02/weblogic/weblogic/wlserver_10.3/common/bin/servers/AdminServer/logs/base_domain.log.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:49 PM CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.137.23:7001 for protocols iiop, t3, ldap, snmp, http.>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
WLST-WLS-1560346833567: <Jun 12, 2019 9:40:50 PM CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
Server started successfully.
'WLST-WLS-1560346833567'

2、console控制台报错:
WebLogic Server 已拒绝此用户名或口令。请重试
3、通过connect()命令连接Adminserver同样报错

wls:/offline> connect('weblogic','weblogic123','t3://192.168.137.23:7001')
Connecting to t3://192.168.137.23:7001 with userid weblogic ...
Traceback (innermost last):
File "<console>", line 1, in ?
File "<iostream>", line 22, in connect
File "<iostream>", line 648, in raiseWLSTException
WLSTException: Error occured while performing connect : User: weblogic, failed to be authenticated.
Use dumpStack() to view the full stacktrace
wls:/offline> dumpStack()
This Exception occurred at Wed Jun 12 22:04:24 CST 2019.
javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: weblogic, failed to be authenticated.]
javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: weblogic, failed to be authenticated.]

...全文
543 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
程声明:该课程是教学使用,视频内涉及漏洞利用方法,请勿在互联网环境使用;维护互联网安全,人人有责。实验所需环境:vmware;kali虚拟机一台;windows server一台;有docker环境的Linux虚拟机环境下载地址在购买课程后单独发送 【课程配套资源】1、Python脚本(Margin老师自研,不光能学漏洞,还能学Python,实在是划算)2、与Margin老师实时互动3、免费的CISP-PTE考试技巧指导(Margin老师与CISP-PTE的负责人很熟的,非常多的一手消息^o^)4、Margin老师的内部直播可以优先参加5、Margin老师的课程基于CISP-PTE的知识体系进一步扩展,使课程内容更贴近实战   【课程主要解决问题】1、CSRF、SSRF搞不清楚?2、SSRF原理是什么?危害大小?如何利用SSRF获取主机权限?如果使用Python提高挖洞效率?3、Gopher协议、Dict协议?完全没听过啊,没关系,看完课程后你门清。4、SSRF渗透Redis数据库,Redis客户端和服务器端怎么通信?通信报文是怎么样的?看这里就行。5、SSRF渗透Struts2总是失败?不知道如何编码?不知道如何使用Gopher协议?来这里。6、SSRF表面简单,实则有无数坑,通过视频提高学习效率吧。 【CISP-PTE介绍】1、CISP-PTE是进入网络安全行业的TOP1认证,能帮你梳理完整的网络安全知识体系2、有PTE证书在网络安全公司是免技术笔试的,怎么样?是不是很棒。3、Margin老师的课程基于CISP-PTE的知识体系进一步扩展,使课程内容更贴近实战本课程属于CISP-PTE渗透测试工程师认证体系的课程,但内容更加丰富。CISP-PTE是国内第一个以动手实操为主的网络安全认证,该注册考试是为了锻炼考生世界解决网络安全问题的能力,持续增强我国的网络安全水平和防御能力,促进国内网络防御能力的不断提高。考试内容从多个层面进行,考点和网络安全动态相结合,真实的反应出真实的网络环境发现的各种问题。如果要考取CISP-PTE证书需要掌握以下内容:1、Web安全基础,注入漏洞、上传漏洞、跨站脚本漏洞、访问控制漏洞、会话管理漏洞哦等。2、间件的安全知识,如:Apache,IIS,Tomcat,以及 JAVA 开发的间件 Weblogic,Jboss, Websphere 等,且要了解间件加固方法,在攻与防的能力上不断提升。3、操作系统安全,包含Windows和Linux操作系统,从账户管理、文件系统权限、日志审计等方面讲解,了解常见的漏洞方式和加固方法。4、数据库安全,包含MSSQL、MYSQL、ORACLE、REDIS数据,了解常用的数据库漏洞和题全方法,保证数据库的安全性。 【关于Margin老师】· Margin/教育系统网络安全保障人员认证首批讲师/高级讲师· 擅长CTF/Web安全/渗透测试 /系统安全· 3年研发/擅长Java/Python/某银行现金循环机业务系统开发者· 曾参与开发网络安全认证教材· 知乎专栏/CISP-PTE渗透测试工程师学习· 4年线下网络安全讲师/2000+线下学员/100000+线上学员

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧