X connection to localhost:10.0 host broken (explicit kill or server shutdown)

X connection to localhost:10.0 host broken (explicit kill or server shutdown)


1 现象:

weblogic被管理Server启动数分钟报出如下错误:
2 Oracle官方解决:

Weblogic Server Crashed With Error 'X connection to localhost:10.0 broken' (文档 ID 1077486.1)

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.
***Checked for relevance on 27-Nov-2013***


Symptoms


When users try to use an application in runtime, WebLogic Server 10.3.0 crashes unexpectedly with this error:
X connection to localhost:10.0 broken (explicit kill or server shutdown).


Cause


The symptoms indicate that the application configuration is setting the DISPLAY variable somewhere or is being run from X-forward command prompt. When this occurs, WLS tries to forward the output to an X display. However, this will fail if X is not used or not even installed on the OS.


Solution


The best solution is to find out where in your configuration or script you are setting the DISPLAY variable and remove that script or configuration. If that is not the case, then try to disable X-forwarding.
If for some reason you are not able to do that, there is a quick workaround:
Unset the DISPLAY environment variable by editing the set environment script.
Add following command line to the script:
unset DISPLAY

3 最终解决方案

(1).概述
如题weblogic的nohup日志中报出如下错误:
X connection to localhost:10.0 host broken (explicit kill or server shutdown)
被管server(当前server) shutdown状态。
(2).解决过程

通过查官网,官网解释执行如下命令: unset DISPLAY ,取消环境变量设置。
一个小时候后server又shutdown了
(3).最终解决
使用secureCRT启动被管server


一场因Xshell工具引发的血案。。。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值