我是靠谱客的博主 动听棒棒糖,最近开发中收集的这篇文章主要介绍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)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启动数分钟报出如下错误:

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

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工具引发的血案。。。

最后

以上就是动听棒棒糖为你收集整理的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)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)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) 所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(41)

评论列表共有 0 条评论

立即
投稿
返回
顶部